Learn R Programming

celda (version 0.0.0.9000)

cC.decomposeCounts: Takes raw counts matrix and converts it to a series of matrices needed for log likelihood calculation

Description

Takes raw counts matrix and converts it to a series of matrices needed for log likelihood calculation

Usage

cC.decomposeCounts(counts, s, z, K)

Arguments

counts

A numeric count matrix

s

An integer vector indicating the sample label for each cell (column) in the count matrix

z

A numeric vector of cluster assignments

K

The total number of clusters in z