View source: R/clusterPropagation.R
clusterPropagation | R Documentation |
clusterPropagation
takes both an original SCE object returned by
prepSCE
and down-sampled, batch-corrected, and clustered SCE object
returned by clustering
as inputs.
This function trains batch-specific classifiers using a specified algorithm,
and predicts cluster IDs in a batch-wise manner.
clusterPropagation( sce, sce_down, by_exprs_values = "exprs", maxN = 100, numThreads = 4, seed = 12345 )
sce |
A |
sce_down |
A |
by_exprs_values |
A character string. Specifies which assay data to use for classifier training and prediction. Must be the non-batch-corrected one in this case. |
maxN |
Numeric. Specifies the maximum number of unique cells per cluster per batch to be used for classifier training. |
numThreads |
Numeric. The number of threads for training classifiers. |
seed |
Numeric. Sets a random seed. |
A SingleCellExperiment-class
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.