modNormalize: Normalize Data

Description Usage Arguments Details Value

View source: R/3-mod.R

Description

modNormalize normalizes feature data.

Usage

1
modNormalize(object, MARGIN = c(1, 2))

Arguments

object

An ExprsArray object to undergo pre-processing.

MARGIN

A numeric vector. The margin by which to normalize. Provide MARGIN = 1 to normalize the feature vector. Provide MARGIN = 2 to normalize the subject vector. Provide MARGIN = c(1, 2) to normalize by the subject vector and then by the feature vector.

Details

This method normalizes subject and/or feature vectors according to the formula y = (x - mean(x)) / sd(x).

Value

An ExprsArray object.


tpq/exprso documentation built on July 27, 2019, 8:44 a.m.