\HeaderA{resiplot}{Residual plot for Microarray Experiment}{resiplot}
\keyword{hplot}{resiplot}
\begin{Description}\relax
This is the function to plot the residuals versus fitted value figure. Two
channels, e.g., red and green, are drawn in seperate figures.
\end{Description}
\begin{Usage}
\begin{verbatim}
resiplot(madata, anovaobj, header, xlab, ylab)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{madata}] An object of class \code{madata}.
\item[\code{anovaobj}] An object of class \code{maanova}, which is the output
from \code{\LinkA{fitmaanova}{fitmaanova}}.
\item[\code{header}] Optional. The title of the figure. The default figure
title will be "Residual vs. Yhat plot".
\item[\code{xlab}] Optional. The xlab of the figure. The default will be 
"Yhat".
\item[\code{ylab}] Optional. The ylab of the figure. The default will be 
"Residual".
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Hao Wu
\end{Author}
\begin{Examples}
\begin{ExampleCode}
# load abf1 data
data(abf1)
## Not run: 
fit.full.mix <- fitmaanova(abf1, formula = ~Strain+Sample, 
   random = ~Sample)
resiplot(abf1, fit.full.mix)
## End(Not run)\end{ExampleCode}
\end{Examples}

