clusterProbability {celda} | 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, ...) ## 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 |
... |
Ignored. Placeholder to prevent check warning. |
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)