cpm: Convert Counts to Counts-Per-Million (CPM)

View source: R/cpm.R

cpmR Documentation

Convert Counts to Counts-Per-Million (CPM)

Description

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

Usage

cpm(counts)

Arguments

counts

matrix of raw counts (gene rows; cell columns)

Value

scaled matrix of counts-per-million values


jlaffy/scalop documentation built on March 24, 2024, 9 a.m.