select.HCAExplorer {HCAExplorer} | R Documentation |
An HCAExplorer object is intitated with certain default columns being displayed upon showing the object. This method allows a user to display columns other than the default columns when displaying the object.
## S3 method for class 'HCAExplorer' select(.data, ...)
.data |
An HCAObject to filter. |
... |
Columns to be displayed. |
An HCAExplorer object with the applied filter.
HCAExplorer
for the HCAExplorer class,
resetSelect
for how to reset the selection applied to an HCAExplorer object.
## Intiate an HCAExplorer object x <- HCAExplorer() x ## Use the results() method to display which columns are present. results(x) ## Select the 'projects.projectTitle' and 'samples.organ' columns. x <- x %>% select('projects.projectTitle', 'samples.organ') x ## Use resetSelect() to return to the original selection x <- resetSelect(x) x