mean.center {maDB} | R Documentation |
mean.center
mean centers a numerical vector.
mean.center(x,log.scale=TRUE,sd.scale=FALSE,...)
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. |
This function can be used to mean center for example gene expression data.
Johannes Rainer
mean.center(c(1,2,3,2,1,3,5,3,5))