cCG.decomposeCounts.Rd
Takes raw counts matrix and converts it to a series of matrices needed for log likelihood calculation
cCG.decomposeCounts(counts, s, z, y, K, L)
counts | Integer matrix. Rows represent features and columns represent cells. |
---|---|
s | Integer vector. Contains the sample label for each cell (column) in the count matrix. |
z | Numeric vector. Denotes cell population labels. |
y | Numeric vector. Denotes feature module labels. |
K | Integer. Number of cell populations. |
L | Integer. Number of feature modules. |