Description Usage Arguments Value See Also Examples
Calculate the log-likelihood for cell population and feature module cluster assignments on the count matrix, per celda model.
1 2 3 4 5 6 7 8 9 10 11 12 13 | logLikelihood(x, celdaMod, ...)
## S4 method for signature 'SingleCellExperiment,ANY'
logLikelihood(x, useAssay = "counts", altExpName = "featureSubset")
## S4 method for signature 'matrix,celda_C'
logLikelihood(x, celdaMod)
## S4 method for signature 'matrix,celda_G'
logLikelihood(x, celdaMod)
## S4 method for signature 'matrix,celda_CG'
logLikelihood(x, celdaMod)
|
x |
A SingleCellExperiment object returned by
celda_C, celda_G, or celda_CG, with the matrix
located in the |
celdaMod |
celda model object. Ignored if |
... |
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". |
The log-likelihood of the cluster assignment for the provided SingleCellExperiment.
'celda_C()' for clustering cells
1 2 3 | data(sceCeldaC, sceCeldaCG)
loglikC <- logLikelihood(sceCeldaC)
loglikCG <- logLikelihood(sceCeldaCG)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.