Recode feature module clusters using a mapping in the
from
and to
arguments.
recodeClusterY(sce, from, to, altExpName = "featureSubset")
SingleCellExperiment object returned from
celda_G or celda_CG. Must contain column
celda_feature_module
in
rowData(altExp(sce, altExpName))
.
Numeric vector. Unique values in the range of
seq(celdaModules(sce))
that correspond to the original module labels
in sce
.
Numeric vector. Unique values in the range of
seq(celdaModules(sce))
that correspond to the new module labels.
The name for the altExp slot to use. Default "featureSubset".
@return SingleCellExperiment object with recoded feature module labels.