Description Usage Arguments Value Examples
Calculate a log-likelihood for a user-provided cluster assignment and count matrix, per the desired celda model.
1 | logLikelihood(counts, model, ...)
|
counts |
The counts matrix used to generate the provided cluster assignments. |
model |
Celda model. Options available in 'celda::available.models'. |
... |
Additional parameters. |
The log-likelihood of the provided cluster assignment for the provided counts matrix.
1 2 3 4 5 6 | loglik = logLikelihood(celda.CG.sim$counts, model="celda_CG",
sample.label=celda.CG.sim$sample.label,
z=celda.CG.sim$z, y=celda.CG.sim$y,
K=celda.CG.sim$K, L=celda.CG.sim$L,
alpha=celda.CG.sim$alpha, beta=celda.CG.sim$beta,
gamma=celda.CG.sim$gamma, delta=celda.CG.sim$delta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.