[,HCAExplorer-method {HCAExplorer}R Documentation

Subset an HCAExplorer Object by row number or project name

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

## S4 method for signature 'HCAExplorer'
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

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


[Package HCAExplorer version 1.0.0 Index]