\name{mean.center}
\alias{mean.center}
\title{Mean center a numerical vector}
\description{
  \code{mean.center} mean centers a numerical vector. 
}
\usage{
mean.center(x,log.scale=TRUE,sd.scale=FALSE,...)
}
\arguments{
  \item{x}{The numerical vector that should be mean centered.}
  \item{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).}
  \item{sd.scale}{if TRUE the mean centered values will be divided with the standard deviation.}
  \item{...}{Additional parameters. Not yet used.}
}
\details{
This function can be used to mean center for example gene expression data.
}
%\references{}
\author{Johannes Rainer}


\examples{
mean.center(c(1,2,3,2,1,3,5,3,5))
}

\keyword{data}