\HeaderA{maDotsDefaults}{Replace graphical default parameters by user supplied parameters}{maDotsDefaults}
\keyword{misc}{maDotsDefaults}
\begin{Description}\relax
This function may be used to compare default graphical parameters for microarray diagnostic plots to user supplied parameters given in \code{...}. User supplied parameters overwrite the defaults. It is used in \code{\LinkA{maBoxplot}{maBoxplot}}, \code{\LinkA{maPlot}{maPlot}}, and \code{\LinkA{maImage}{maImage}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
maDotsDefaults(dots, defaults)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{dots}] List of user supplied parameters, e.g. from \code{list(...)}.
\item[\code{defaults}] List of default parameters, e.g. from the function \code{\LinkA{maDefaultPar}{maDefaultPar}}.
\end{ldescription}
\end{Arguments}
\begin{Value}
\begin{ldescription}
\item[\code{args}] List of graphical parameters.
\end{ldescription}
\end{Value}
\begin{Author}\relax
Sandrine Dudoit, \url{http://www.stat.berkeley.edu/~sandrine}.
\end{Author}
\begin{References}\relax
S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for exploratory analysis and normalization of cDNA microarray data. In G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger, editors, \emph{The Analysis of Gene Expression Data: Methods and Software}, Springer, New York.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{maDefaultPar}{maDefaultPar}}, \code{\LinkA{maBoxplot}{maBoxplot}}, \code{\LinkA{maPlot}{maPlot}}, \code{\LinkA{maImage}{maImage}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
dots<-list(xlab="X1", ylab="Y1")
defaults<-list(xlab="X1", ylab="Y2", col=2)
pars<-maDotsDefaults(dots, defaults)

do.call("plot",c(list(x=1:10), pars))

\end{ExampleCode}
\end{Examples}


