\HeaderA{plot.smooth.line}{Adding Lowess Lines to Current Plot}{plot.smooth.line}
\keyword{aplot}{plot.smooth.line}
\begin{Description}\relax
This function adds a \code{\LinkA{lowess}{lowess}} line to the current
plot.  The  type of line can be specified as well as other
parameters.
\end{Description}
\begin{Usage}
\begin{verbatim}
plot.smooth.line(x, M, f=0.1, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a vector giving the x-coordinates of the points in the scatter
plot. In the microarray context, this could be a vector of
average log intensities. ie A
\item[\code{M}] a vector giving the y-coordinates of the points in the scatter
plot. In the microarray context, this could be a vector of
log intensity ratios.
\item[\code{f}] the smoother span. This gives the proportion of points in the
plot which influence the smoothness at each value. Larger
values give greater smoothness. 
\item[\code{...}] graphical parameters may also be supplied as arguments
to the function (see \code{\LinkA{par}{par}}).
\end{ldescription}
\end{Arguments}
\begin{Value}
lines are added to the current plot.
\end{Value}
\begin{Note}\relax
An M vs A plot must be constructed \bold{prior} to the execution of this function.
\end{Note}
\begin{References}\relax
Chambers, J. M., Cleveland, W. S., Kleiner, B. and Tukey,
P. A. (1983). Graphical Methods for Data Analysis. Wadsworth, Belmont,
California.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{plot.mva}{plot.mva}}, \code{\LinkA{stat.ma}{stat.ma}},
\code{\LinkA{lines}{lines}}, \code{\LinkA{lowess}{lowess}}, \code{\LinkA{smooth}{smooth}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(MouseArray)
## mouse.setup <- init.grid()
## mouse.data <- init.data()

plot.mva(mouse.data, mouse.setup)
plot.smooth.line(mouse.lratio$A, mouse.lratio$M)
\end{ExampleCode}
\end{Examples}

