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