Description Usage Arguments Value Examples
View source: R/celda_functions.R
Recode cell subpopulaton clusters using a mapping in the 'from' and 'to' arguments.
1 | recodeClusterZ(celda.mod, from, to)
|
celda.mod |
Celda object of class 'celda_C' or 'celda_CG'. |
from |
Numeric vector. Unique values in the range of 1:K that correspond to the original cluster labels in 'celda.mod'. |
to |
Numeric vector. Unique values in the range of 1:K that correspond to the new cluster labels. |
Celda object with cell subpopulation clusters, with class corresponding to that of 'celda.mod'.
1 | celda.mod.reordered.z = recodeClusterZ(celda.CG.mod, c(1, 3), c(3, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.