Description Usage Arguments Value See Also Examples
Calculates the log likelihood for user-provided cell population clusters using the 'celda_C()' model.
1  | logLikelihood.celda_C(counts, sample.label, z, K, alpha, beta)
 | 
counts | 
 Integer matrix. Rows represent features and columns represent cells.  | 
sample.label | 
 Vector or factor. Denotes the sample label for each cell (column) in the count matrix.  | 
z | 
 Numeric vector. Denotes cell population labels.  | 
K | 
 Integer. Number of cell populations.  | 
alpha | 
 Numeric. Concentration parameter for Theta. Adds a pseudocount to each cell population in each sample. Default 1.  | 
beta | 
 Numeric. Concentration parameter for Phi. Adds a pseudocount to each feature in each cell population. Default 1.  | 
... | 
 Additional parameters.  | 
Numeric. The log likelihood for the given cluster assignments
'celda_C()' for clustering cells
1 2 3 4  | loglik = logLikelihood(celda.C.sim$counts, model="celda_C", 
                       sample.label=celda.C.sim$sample.label,
                       z=celda.C.sim$z, K=celda.C.sim$K,
                       alpha=celda.C.sim$alpha, beta=celda.C.sim$beta)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.