clusterProbability | R Documentation |
Calculate the conditional probability of each cell belonging to each subpopulation given all other cell cluster assignments and/or each feature belonging to each module given all other feature cluster assignments in a celda model.
clusterProbability(
sce,
useAssay = "counts",
altExpName = "featureSubset",
log = FALSE
)
## S4 method for signature 'SingleCellExperiment'
clusterProbability(
sce,
useAssay = "counts",
altExpName = "featureSubset",
log = FALSE
)
sce |
A SingleCellExperiment object returned by
celda_C, celda_G, or celda_CG, with the matrix
located in the |
useAssay |
A string specifying which assay slot to use. Default "counts". |
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
log |
Logical. If |
A list containging a matrix for the conditional cell subpopulation cluster and/or feature module probabilities.
'celda_C()' for clustering cells
data(sceCeldaCG)
clusterProb <- clusterProbability(sceCeldaCG, log = TRUE)
data(sceCeldaC)
clusterProb <- clusterProbability(sceCeldaC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.