counts_to_tpm: Convert counts to transcripts per million (TPM).

Description Usage Arguments Value

Description

Convert a numeric matrix of features (rows) and conditions (columns) with raw feature counts to transcripts per million.

Usage

1
counts_to_tpm(counts, featureLength, meanFragmentLength)

Arguments

counts

A numeric matrix of raw feature counts i.e. fragments assigned to each gene.

featureLength

A numeric vector with feature lengths.

meanFragmentLength

A numeric vector with mean fragment lengths.

Value

tpm A numeric matrix normalized by library size and feature length.


ssarda/genomeutils documentation built on May 30, 2019, 8:42 a.m.