Description Usage Arguments Value Examples
Get the probability of the cluster assignments generated during a celda run.
1 | clusterProbability(counts, celda.mod, log = FALSE)
|
counts |
Integer matrix. Rows represent features and columns represent cells. This matrix should be the same as the one used to generate 'celda.mod'. |
celda.mod |
Celda model. Options available in 'celda::available.models'. |
log |
Logical. If FALSE, then the normalized conditional probabilities will be returned. If TRUE, then the unnormalized log probabilities will be returned. Default FALSE. |
A numeric vector of the cluster assignment probabilties
1 | cluster.prob = clusterProbability(celda.CG.sim$counts, celda.CG.mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.