modNormalize normalizes feature data.
modNormalize(object, MARGIN = c(1, 2))An ExprsArray object to undergo pre-processing.
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.
A pre-processed ExprsArray object.
This method normalizes subject and/or feature vectors according to the
formula y = (x - mean(x)) / sd(x).