Learn R Programming

celda (version 0.0.0.9000)

calculateLoglikFromVariables.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

# S3 method for celda_C
calculateLoglikFromVariables(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

...

Additional parameters