R/util.R
cpm.Rd
The input can be a base R matrix or a sparse matrix from the Matrix package.
cpm(counts)
a matrix, dgCMatrix, or dgTMatrix of count values.
a matrix, dgCMatrix, or dgTMatrix of CPM values (matching input)
This function expects that columns correspond to samples, and rows to genes.