filterFeatures: Filter features

Description Usage Arguments Details Value Examples

Description

Filters TimeSeriesExperiment object to keep only chosen features. All relevant slots are updates.

Usage

1
filterFeatures(object, features)

Arguments

object

TimeSeriesExperiment object

features

features (genes) to keep

Details

The slots for collapsed data and time series formatted data are filtered accordingly, but dimensionReduction, clusterAssignment and differentialExpression are reset to NULL as different set of features would output in different results.

Value

"TimeSeriesExperiment" object

Examples

1
2
3
4
data("endoderm_small")
features <- 1:100
endoderm_small <- filterFeatures(endoderm_small, features)
endoderm_small

nlhuong/vistimeseq documentation built on Sept. 4, 2021, 2:41 a.m.