\Header{marrayLayout-class}{Class "marrayLayout", classes and methods for layout parameters of cDNA microarrays}
\alias{maControls}{marrayLayout-class}
\alias{maControls,marrayLayout-method}{marrayLayout-class}
\alias{maControls<\Rdash}{marrayLayout-class}
\alias{maControls<-,marrayLayout-method}{marrayLayout-class}
\alias{maGridCol}{marrayLayout-class}
\alias{maGridCol,marrayLayout-method}{marrayLayout-class}
\alias{maGridRow}{marrayLayout-class}
\alias{maGridRow,marrayLayout-method}{marrayLayout-class}
\alias{maLayout<-,marrayNorm,marrayLayout-method}{marrayLayout-class}
\alias{maLayout<-,marrayRaw,marrayLayout-method}{marrayLayout-class}
\alias{maLayout<-,marraySpots,marrayLayout-method}{marrayLayout-class}
\alias{maLayout<-,marrayTwo,marrayLayout-method}{marrayLayout-class}
\alias{maNgc}{marrayLayout-class}
\alias{maNgc,marrayLayout-method}{marrayLayout-class}
\alias{maNgc<\Rdash}{marrayLayout-class}
\alias{maNgc<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{maNgr}{marrayLayout-class}
\alias{maNgr,marrayLayout-method}{marrayLayout-class}
\alias{maNgr<\Rdash}{marrayLayout-class}
\alias{maNgr<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{maNotes,marrayLayout-method}{marrayLayout-class}
\alias{maNotes<-,marrayLayout,character-method}{marrayLayout-class}
\alias{maNsc}{marrayLayout-class}
\alias{maNsc,marrayLayout-method}{marrayLayout-class}
\alias{maNsc<\Rdash}{marrayLayout-class}
\alias{maNsc<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{maNspots}{marrayLayout-class}
\alias{maNspots,marrayLayout-method}{marrayLayout-class}
\alias{maNspots<\Rdash}{marrayLayout-class}
\alias{maNspots<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{maNsr}{marrayLayout-class}
\alias{maNsr,marrayLayout-method}{marrayLayout-class}
\alias{maNsr<\Rdash}{marrayLayout-class}
\alias{maNsr<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{maPlate}{marrayLayout-class}
\alias{maPlate,marrayLayout-method}{marrayLayout-class}
\alias{maPlate<\Rdash}{marrayLayout-class}
\alias{maPlate<-,marrayLayout-method}{marrayLayout-class}
\alias{maPrintTip}{marrayLayout-class}
\alias{maPrintTip,marrayLayout-method}{marrayLayout-class}
\alias{marrayLayout}{marrayLayout-class}
\alias{maSpotCol}{marrayLayout-class}
\alias{maSpotCol,marrayLayout-method}{marrayLayout-class}
\alias{maSpotRow}{marrayLayout-class}
\alias{maSpotRow,marrayLayout-method}{marrayLayout-class}
\alias{maSub}{marrayLayout-class}
\alias{maSub,marrayLayout-method}{marrayLayout-class}
\alias{maSub<\Rdash}{marrayLayout-class}
\alias{maSub<-,marrayLayout,logical-method}{marrayLayout-class}
\alias{maSub<-,marrayLayout,numeric-method}{marrayLayout-class}
\alias{print,marrayLayout-method}{marrayLayout-class}
\alias{show,marrayLayout-method}{marrayLayout-class}
\alias{[,marrayLayout-method}{marrayLayout-class}
\keyword{classes}{marrayLayout-class}
\begin{Description}\relax
This class is used to keep track of important layout parameters for two-color cDNA microarrays. It contains slots for: the total number of spotted probe sequences on the array, the dimensions of the spot and grid matrices, the plate origin of the probes, information on spotted control sequences (e.g. probe sequences which should have equal abundance in the two target samples, such as housekeeping genes). The terms \emph{print-tip-group}, \emph{grid}, \emph{spot matrix}, and \emph{sector} are used interchangeably and refer to a set of spots printed using the same print-tip.
\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{  new('marrayLayout',}\\
\code{    maNgr      = ...., \# Object of class numeric}\\
\code{    maNgc      = ...., \# Object of class numeric}\\
\code{    maNsr      = ...., \# Object of class numeric}\\
\code{    maNsc      = ...., \# Object of class numeric}\\
\code{    maNspots   = ...., \# Object of class numeric}\\
\code{    maSub      = ...., \# Object of class logical}\\
\code{    maPlate    = ...., \# Object of class factor}\\
\code{    maControls = ...., \# Object of class factor}\\
\code{    maNotes    = ...., \# Object of class character}\\
\code{  )}\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{maNgr}:] Object of class \code{"numeric"}, number of rows for the grid matrix.
\item[\code{maNgc}:] Object of class \code{"numeric"}, number of columns for the grid matrix.
\item[\code{maNsr}:] Object of class \code{"numeric"}, number of rows for the spot matrices.
\item[\code{maNsc}:] Object of class \code{"numeric"}, number of columns for the spot matrices.
\item[\code{maNspots}:] Object of class \code{"numeric"}, total number of spots on the array, equal to \eqn{maNgr x maNgc x maNsr x maNsc}{}.
\item[\code{maSub}:] Object of class \code{"logical"},  indicating which spots are currently being considered.
\item[\code{maPlate}:] Object of class \code{"factor"}, recording the plate origin of the spotted probe sequences.
\item[\code{maControls}:] Object of class \code{"factor"}, recording the control status of the spotted probe sequences.
\item[\code{maNotes}:] Object of class \code{"character"}, any notes concerning the microarray layout, e.g., printing conditions.
}\end{Section}
\begin{Section}{Methods}
\describe{
\item[[] \code{signature(x = "marrayLayout")}: subsetting operator for spots on the array, ensures that all slots are subset properly.
\item[maControls<-] \code{signature(object = "marrayLayout")}: slot assignment method. 
\item[maControls] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maGridCol] \code{signature(object = "marrayLayout")}: method which computes a vector of grid column coordinates for each spot.
\item[maGridRow] \code{signature(object = "marrayLayout")}: method which computes a vector of grid row coordinates for each spot.
\item[maLayout<-] \code{signature(object = "marrayRaw", value = "marrayLayout")}: slot assignment method. 
\item[maLayout<-] \code{signature(object = "marrayNorm", value = "marrayLayout")}: slot assignment method. 
\item[maLayout<-] \code{signature(object = "marrayTwo", value = "marrayLayout")}: slot assignment method. 
\item[maLayout<-] \code{signature(object = "marraySpots", value = "marrayLayout")}: slot assignment method. 
\item[maNgc] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNgc<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method.
\item[maNgr] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNgr<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method.
\item[maNotes] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNotes<-] \code{signature(object = "marrayLayout", value = "character")}: slot assignment method. 
\item[maNsc] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNsc<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method.
\item[maNspots] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNspots<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method.
\item[maNsr] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maNsr<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method.
\item[maPlate] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maPlate<-] \code{signature(object = "marrayLayout")}: slot assignment method. 
\item[maPrintTip] \code{signature(object = "marrayLayout")}: method which computes a vector of print-tip-group indices for each spot.
\item[maSpotCol] \code{signature(object = "marrayLayout")}: method which computes a vector of spot column coordinates for each spot.
\item[maSpotRow] \code{signature(object = "marrayLayout")}: method which computes a vector of spot row coordinates for each spot.
\item[maSub] \code{signature(object = "marrayLayout")}: slot accessor method.
\item[maSub<-] \code{signature(object = "marrayLayout", value = "logical")}: slot assignment method. 
\item[maSub<-] \code{signature(object = "marrayLayout", value = "numeric")}: slot assignment method. 
\item[print] \code{signature(x = "marrayLayout")}: print method for \code{"\Link{marrayLayout}"} class.
}\end{Section}
\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{\Link{marrayRaw}}, \code{\Link{marrayNorm}}, \code{\Link{marrayInfo}},   \code{\Link{marraySpots}}, \code{\Link{marrayTwo}}, \code{\Link{print-methods}}, \code{\Link{[-methods}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## See marrayRaw

\end{ExampleCode}
\end{Examples}

