Description Usage Arguments Value See Also Examples
Calculates the conditional probability of each cell belonging to each subpopulation given all other cell cluster assignments in a 'celda_C()' result.
1 2 | ## S3 method for class 'celda_C'
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 object of class 'celda_C'. |
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 list containging a matrix for the conditional cell subpopulation cluster probabilities.
'celda_C()' for clustering cells
1 | cluster.prob = clusterProbability(celda.C.sim$counts, celda.C.mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.