TPM: Convert expression data from logTPM to TPM form.

Description Usage Arguments Value

View source: R/utils-preprocess.R

Description

TPM aka Transcripts Per Million. If a matrix is provided, TPM will be applied over each cell and returned as a matrix. Note. TPM(logtpm) == logTPM(tpm)

Usage

1
TPM(logtpm, dividebyten = TRUE)

Arguments

logtpm

a numeric vector. Either a matrix or of length 1.

dividebyten

a boolean. Usually TRUE when single cells expression vals are concerned; usually FALSE when bulk (many cell) expression vals are concerned.

Value

a numeric vector (either a matrix or of length 1) with values converted from logTPM to TPM form.


jlaffy/statistrics documentation built on May 23, 2019, 4:04 a.m.