View source: R/celda_functions.R
recodeClusterY | 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.