log2CPM: Compute log2(counts per mil reads) and library size for each...

Description Usage Arguments Value Examples

View source: R/utils.R

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)

PathoStat documentation built on May 31, 2017, 3:07 p.m.

Search within the PathoStat package
Search all R packages, documentation and source code