.normalize | R Documentation |
This function aims to normalize a matrix or data.frame by columns. It assumes all checks have been done before calling this function.
.normalize(
dat,
meth,
mode,
param,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
dat |
matrix or data.frame of data to get normalized |
meth |
(character) may be "mean","median","NULL","none", "trimMean", "rowNormalize", "slope", "exponent", "slope2Sections", "vsn"; When |
mode |
(character) may be "proportional", "additive";
decide if normalizatio factors will be applies as multiplicative (proportional) or additive; for log2-omics data |
param |
(list) additional parameters |
silent |
(logical) suppress messages |
debug |
(logical) additional messages for debugging |
callFrom |
(character) allows easier tracking of messages produced |
This function returns a numeric vector
normalizeThis
aa <- matrix(1:12, ncol=3)
.normalize(aa,"median",mode="proportional",param=NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.