select.HCAExplorer {HCAExplorer}R Documentation

Select columns to display upon showing the object

Description

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.

Usage

## S3 method for class 'HCAExplorer'
select(.data, ...)

Arguments

.data

An HCAObject to filter.

...

Columns to be displayed.

Value

An HCAExplorer object with the applied filter.

See Also

HCAExplorer for the HCAExplorer class, resetSelect for how to reset the selection applied to an HCAExplorer object.

Examples

 ## 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


[Package HCAExplorer version 1.3.1 Index]