Convert counts to CPM, by scaling raw counts such that they sum to 1 million per cell.

cpm(counts)

Arguments

counts

matrix of raw counts (gene rows; cell columns)

Value

scaled matrix of counts-per-million values