ExperimentSubset {ExperimentSubset} | R Documentation |
This constructor function is used to setup the ExperimentSubset
object, either through manually specifying the assays
, rowData
, colData
or directly by passing either a SingleCellExperiment
or SummarizedExperiment
objects or objects inherited by these classes. A subset can also be directly created by passing a named list
to the subset
parameter. This named list
should have parameter values named as subsetName
, rows
, cols
and parentAssay
.
ExperimentSubset( x, subset = list(subsetName = NA, rows = NA, cols = NA, parentAssay = NA) )
x |
An experiment object if direct conversion is required or a list of slots to pass onto |
subset |
A named |
A ExperimentSubset
object.
data(sce_chcl, package = "scds") es <- ExperimentSubset(sce_chcl) es