sub-HCAExplorer-ANY-ANY-ANY-method: Subset an HCAExplorer Object by row number or project name

Description Usage Arguments Value See Also Examples

Description

Allows subsetting an HCAExplorer object by row number or project name. This method internally acts as a filter and actually performs a query using "projectIds".

Usage

1
2
## S4 method for signature 'HCAExplorer,ANY,ANY,ANY'
x[i, j, ..., drop = TRUE]

Arguments

x

An HCAExplorer object.

i

Either a numeric vector indicating which rows to choose or a character vector of project titles indicating which projects to choose.

j

Unused argument.

...

Unused argument.

drop

Unused argument.

Value

An HCAExplorer object with the applied subset.

See Also

HCAExplorer for the HCAExplorer class, filter for how to performm a query on an HCAExplorer object.

Examples

1
2
3
4
5
6
7
 ## Initiate an HCAExplorer Object.
 x <- HCAExplorer()
 ## View object to decide which projects to choose.
 x
 ## Decide to select projects 1, 2, 3, and 7
 x <- x[c(1:3, 7)]
 x

HCAExplorer documentation built on Nov. 8, 2020, 5:45 p.m.