Normalizes a raw counts matrix into log transformed counts per millions using the edgeR 'Trimmed Mean of M-Values' (TMM) normalization method. For more information please refer to the edgeR package (https://bioconductor.org/packages/release/bioc/html/edgeR.html).

countsToTmm(counts, log = TRUE, prior.count = 3)

Arguments

counts

The matrix of counts.

log

Passed to cpm.

prior.count

Passed to cpm.

Value

The normalized expression matrix