clusterProbability {celda} | R Documentation |
Get the probability of the cluster assignments generated during a celda run.
clusterProbability(counts, celdaMod, log = FALSE, ...)
counts |
Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate 'celdaMod'. |
celdaMod |
celdaModel. Options available in 'celda::availableModels'. |
log |
Logical. If FALSE, then the normalized conditional probabilities will be returned. If TRUE, then the unnormalized log probabilities will be returned. Default FALSE. |
... |
Additional parameters. |
A numeric vector of the cluster assignment probabilties
data(celdaCGSim, celdaCGMod) clusterProb <- clusterProbability(celdaCGSim$counts, celdaCGMod)