Description Usage Arguments Value See Also Examples
View source: R/filter-utilities.R
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.
1 2 | ## 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.