mean.center {maDB}R Documentation

Mean center a numerical vector

Description

mean.center mean centers a numerical vector.

Usage

mean.center(x,log.scale=TRUE,sd.scale=FALSE,...)

Arguments

x The numerical vector that should be mean centered.
log.scale If the values are in log2 scale. (in this case the mean of the vector will be subtracted from each value, otherwise divided).
sd.scale if TRUE the mean centered values will be divided with the standard deviation.
... Additional parameters. Not yet used.

Details

This function can be used to mean center for example gene expression data.

Author(s)

Johannes Rainer

References

Examples

mean.center(c(1,2,3,2,1,3,5,3,5))

[Package maDB version 1.10.0 Index]