Compute log2(counts per mil reads) and library size for each sample

Share:

Description

Compute log2(counts per mil reads) and library size for each sample

Usage

1
log2CPM(qcounts, lib.size = NULL)

Arguments

qcounts

quantile normalized counts

lib.size

default is colsums(qcounts)

Value

list containing log2(quantile counts per mil reads) and library sizes

Examples

1
2
3
4
5
example_data_dir <- system.file("example/data", package = "PathoStat")
pathoreport_file_suffix <- "-sam-report.tsv"
datlist <- readPathoscopeData(example_data_dir, pathoreport_file_suffix)
countdat <- datlist$countdata
lcpm <- log2CPM(countdat)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.