getSubsetAssay {ExperimentSubset} | R Documentation |
ExperimentSubset
object.Get subset assay from an ExperimentSubset
object.
getSubsetAssay(x, subsetName) ## S4 method for signature 'SubsetRangedSummarizedExperiment,character' getSubsetAssay(x, subsetName) ## S4 method for signature 'SubsetSingleCellExperiment,character' getSubsetAssay(x, subsetName) ## S4 method for signature 'SubsetSummarizedExperiment,character' getSubsetAssay(x, subsetName) ## S4 method for signature 'SubsetSpatialExperiment,character' getSubsetAssay(x, subsetName) ## S4 method for signature 'SubsetTreeSummarizedExperiment,character' getSubsetAssay(x, subsetName)
x |
Input |
subsetName |
Specify 'subset name' or 'subset assay name' to fetch the assay from. |
Subset assay
data(sce_chcl, package = "scds") es <- ExperimentSubset(sce_chcl) es <- createSubset(es, "subset1", rows = c(10,11,50,56,98,99,102,105,109, 200), cols = c(20,21,40,45,90,99,100,123,166,299), parentAssay = "counts") getSubsetAssay(es, "subset1")