Recode cell subpopulaton clusters using a mapping in the
from
and to
arguments.
recodeClusterZ(sce, from, to, altExpName = "featureSubset")
SingleCellExperiment object returned from
celda_C or celda_CG. Must contain column
celda_cell_cluster
in
colData(altExp(sce, altExpName))
.
Numeric vector. Unique values in the range of
seq(max(as.integer(celdaClusters(sce, altExpName = altExpName))))
that correspond to the original cluster
labels in sce
.
Numeric vector. Unique values in the range of
seq(max(as.integer(celdaClusters(sce, altExpName = altExpName))))
that correspond to the new cluster labels.
The name for the altExp slot to use. Default "featureSubset".
SingleCellExperiment object with recoded cell cluster labels.