normExp: Normalized expression transformation

View source: R/normExp.R

normExpR Documentation

Normalized expression transformation

Description

Normalize the expression data of any type of experiment by columns, applying log(x + 1)/log(2).

Usage

normExp(tab)

Arguments

tab

A matrix or dataframe of expression data (i.e. TPM, counts, FPKM).

Value

Returns a table with normalized values.

Examples

# loading a simulated counts data
data('simCounts')

# getting the TPM matrix from counts
tpm <- apply(simCounts, 2, function(x) {
            (1e+06 * x)/sum(x)
            })

# normalizing TPM data
norm <- normExp(tpm)




cbiagii/ceTF documentation built on Feb. 6, 2023, 9:05 p.m.