\HeaderA{estimateLumiCV}{Estimate the coefficient of variance matrix of LumiBatch object}{estimateLumiCV}
\keyword{methods}{estimateLumiCV}
\begin{Description}\relax
Estimate the coefficient of variance matrix of LumiBatch object for each measurement or probe.
\end{Description}
\begin{Usage}
\begin{verbatim}
estimateLumiCV(x.lumi, type = c("measurement", "probe"), ifPlot = FALSE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x.lumi}] a LumiBatch object 
\item[\code{type}] estimate the coefficient of variance of each measurement or each probe 
\item[\code{ifPlot}] determince whether to plot the density plot or not 
\item[\code{...}] optional arguments to \code{\LinkA{plot}{plot}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
By default, the coefficient of variance is the ratio of the mean and variance of the bead expression values.
Basically, it is the ration of \code{exprs}  and \code{se.exprs} element  of \code{LumiBatch} object.
If the type is "probe", it is the ratio of the mean and variance of probe expression profile.
\end{Details}
\begin{Value}
A matrix of coefficient of variance
\end{Value}
\begin{Author}\relax
Pan Du
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{lumiQ}{lumiQ}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## load example data
data(example.lumi)

## estimate the coefficient of variance and plot the density plot of it
cv <- estimateLumiCV(example.lumi, ifPlot = TRUE)

\end{ExampleCode}
\end{Examples}

