ezNorm: Normalization

View source: R/util.R

ezNormR Documentation

Normalization

Description

Normalizes a matrix according to the provided method; normalization is performed column-wise.

Usage

ezNorm(x, method = "none", presentFlag = NULL)

Arguments

x

the matrix to normalize.

method

which normalization method to use. The default does not normalize. Possible methods:

  • "none"

  • "quantile"

  • "logMean"

  • "median"

  • "vsn"

presentFlag

a binary matrix with the same size as x which indicates if a values is considered as measured correctly. Default: NULL

Value

Returns the modified value.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

x = ezNorm(runif(100))

uzh/ezRun documentation built on April 19, 2024, 8:25 a.m.