hpgl_log2cpm: Converts count matrix to log2 counts-per-million reads.

View source: R/normalize_convert.R

hpgl_log2cpmR Documentation

Converts count matrix to log2 counts-per-million reads.

Description

Based on the method used by limma as described in the Law et al. (2014) voom paper.

Usage

hpgl_log2cpm(counts, lib.size = NULL)

Arguments

counts

Read count matrix.

lib.size

Library size.

Value

log2-CPM read count matrix.

See Also

[edgeR]

Examples

## Not run: 
 l2cpm <- hpgl_log2cpm(counts)

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.