expData: expData Get data item from an input 'SingleCellExperiment'...

expDataR Documentation

expData Get data item from an input SingleCellExperiment object. The data item can be an assay, altExp (subset) or a reducedDim, which is retrieved based on the name of the data item.

Description

expData Get data item from an input SingleCellExperiment object. The data item can be an assay, altExp (subset) or a reducedDim, which is retrieved based on the name of the data item.

Usage

expData(inSCE, assayName)

Arguments

inSCE

Input SingleCellExperiment object.

assayName

Specify the name of the data item to retrieve.

Value

Specified data item.

Examples

data(scExample, package = "singleCellTK")
mat <- expData(sce, "counts")

compbiomed/singleCellTK documentation built on May 8, 2024, 6:58 p.m.