Learn R Programming

celda (version 0.0.0.9000)

calculate_loglik_from_variables.celda_CG: Calculate log lileklihood for the celda Cell and Gene clustering model, given a set of cell / gene cluster assignments

Description

Calculate log lileklihood for the celda Cell and Gene clustering model, given a set of cell / gene cluster assignments

Usage

calculate_loglik_from_variables.celda_CG(counts, s, z, y, K, L, alpha, beta,
  delta, gamma)

Arguments

counts

A numeric count matrix

s

A numeric vector of sample labels corresponding to the samples each cell in the count matrix originates from

z

A numeric vector of cell cluster assignments

y

A numeric vector of gene cluster assignments

K

The number of cell clusters

L

The number of gene clusters

alpha

Non-zero concentration parameter for sample Dirichlet distribution.

beta

The Dirichlet distribution parameter for Phi; adds a pseudocount to each transcriptional state within each cell.

delta

The Dirichlet distribution parameter for Eta; adds a gene pseudocount to the numbers of genes each state.

gamma

The Dirichlet distribution parameter for Psi; adds a pseudocount to each gene within each transcriptional state.