Description Usage Arguments Value Examples
A wrapper to the reducedDimNames<-
from reducedDims method with additional support for subsets.
1 2 3 4 5 6 7 8 9 10 | reducedDimNames(x, subsetName) <- value
## S4 replacement method for signature 'ANY'
reducedDimNames(x, subsetName) <- value
## S4 replacement method for signature 'ANY'
reducedDimNames(x, subsetName) <- value
## S4 replacement method for signature 'ANY'
reducedDimNames(x, subsetName) <- value
|
x |
Input |
subsetName |
Specify the name of the subset to which the |
value |
Input value same as |
Input object with reducedDimNames<-
set.
1 2 3 4 5 6 7 8 9 | 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") <- c("rDim1", "rDim2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.