logTPM: Convert expression data from TPM to logTPM form.

Description Usage Arguments Value

View source: R/utils-preprocess.R

Description

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

Usage

1
logTPM(tpm, dividebyten = TRUE)

Arguments

tpm

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 TPM to logTPM form.


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