CalculateTPM: Calculate transcript per million (TPM) for count matrix

Description Usage Arguments Value Author(s) References See Also Examples

Description

Calculate TPM based on user-specifed count matrix and transcript length. This can be generalized to any certain genomic interval instead of limiting to transcript.

Usage

1
CalculateTPM(dataMat, gaplength)

Arguments

dataMat

a matrix or data.frame of count datasets

gaplength

a integer vector that contains length information for each row of dataMat.

Value

A matrix or data.frame of TPM normalized values

Author(s)

Yuanhang Liu

References

https://github.com/Liuy12/MBDDiff

See Also

Summerizebg

Examples

1
2
data(PromoterCount)
PromoterCount_TPM <- CalculateTPM(Promoter, Promoterlength)

Liuy12/MBDDiff documentation built on May 7, 2019, 2 p.m.