View source: R/celda_functions.R
recodeClusterZ | R Documentation |
Recode cell subpopulaton clusters using a mapping in the
from
and to
arguments.
recodeClusterZ(sce, from, to, altExpName = "featureSubset")
sce |
SingleCellExperiment object returned from
celda_C or celda_CG. Must contain column
|
from |
Numeric vector. Unique values in the range of
|
to |
Numeric vector. Unique values in the range of
|
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
SingleCellExperiment object with recoded cell cluster labels.
data(sceCeldaCG)
sceReorderedZ <- recodeClusterZ(sceCeldaCG, c(1, 3), c(3, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.