reducedDimNames {ExperimentSubset} | R Documentation |
A wrapper to the reducedDimNames
from reducedDims method with additional support for subsets.
reducedDimNames(x, ...) ## S4 method for signature 'ANY' reducedDimNames(x, ...) ## S4 method for signature 'ANY' reducedDimNames(x, ...) ## S4 method for signature 'ANY' reducedDimNames(x, ...)
x |
Input |
... |
Additional arguments to pass to into the SCE method. |
The reducedDimNames
from the specified subset or same as reducedDimNames
from reducedDims when subsetName
is missing
.
data(sce_chcl, package = "scds") es <- ExperimentSubset(sce_chcl) es <- createSubset(es, "subset1", rows = c(1:1500), cols = c(1:1500), parentAssay = "counts") reducedDims(es, subsetName = "subset1") <- list( PCA_1 = scater::calculatePCA(assay(es, "subset1")), PCA_2 = scater::calculatePCA(assay(es, "subset1"))) reducedDimNames(es, subsetName = "subset1")