Description Usage Arguments Value See Also Examples
Calculates the log likelihood for user-provided feature module clusters using the 'celda_G()' model.
1 | logLikelihood.celda_G(counts, y, L, beta, delta, gamma)
|
counts |
Integer matrix. Rows represent features and columns represent cells. |
y |
Numeric vector. Denotes feature module labels. |
L |
Integer. Number of feature modules. |
beta |
Numeric. Concentration parameter for Phi. Adds a pseudocount to each feature module in each cell. Default 1. |
delta |
Numeric. Concentration parameter for Psi. Adds a pseudocount to each feature in each module. Default 1. |
gamma |
Numeric. Concentration parameter for Eta. Adds a pseudocount to the number of features in each module. Default 1. |
... |
Additional parameters. |
The log-likelihood for the given cluster assignments
'celda_G()' for clustering features
1 2 3 4 | loglik = logLikelihood(celda.G.sim$counts, model="celda_G",
y=celda.G.sim$y, L=celda.G.sim$L,
beta=celda.G.sim$beta, delta=celda.G.sim$delta,
gamma=celda.G.sim$gamma)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.