Learn R Programming

celda (version 0.0.0.9000)

calculate_loglik_from_variables.celda_C: Calculate the celda_C log likelihood for user-provided cluster assignments

Description

Calculate the celda_C log likelihood for user-provided cluster assignments

Usage

calculate_loglik_from_variables.celda_C(counts, s, z, K, alpha, beta)

Arguments

counts

A numeric count matrix

s

A vector indicating the sample for each cell (column) in the count matrix

z

A numeric vector of cluster assignments

K

The total number of clusters in z

alpha

Non-zero concentration parameter for sample Dirichlet distribution

beta

Non-zero concentration parameter for gene Dirichlet distribution