recodeClusterZ {celda} | 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))