recodeClusterY {celda} | R Documentation |
Recode feature module clusters using a mapping in the
from
and to
arguments.
recodeClusterY(sce, from, to, altExpName = "featureSubset")
sce |
SingleCellExperiment object returned from
celda_G 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". |
@return SingleCellExperiment object with recoded feature module labels.
data(sceCeldaCG) sceReorderedY <- recodeClusterY(sceCeldaCG, c(1, 3), c(3, 1))