\Header{cbind}{Combine RGList or MAList Objects}
\methalias{cbind.MAList}{cbind}
\methalias{cbind.RGList}{cbind}
\keyword{manip}{cbind}
\begin{Description}\relax
Combine a series of \code{RGList} objects or combine a series of \code{MAList} objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'RGList':
cbind(..., deparse.level=1)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] \code{RGList} objects or \code{MAList} objects
\item[\code{deparse.level}] not currently used, see \code{\Link{cbind}} in the base package
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The matrices of expression data from the individual objects are cbinded.
The data.frames of target information, if they exist, are rbinded.
The combined data object will preserve any additional components or attributes found in the first object to be combined.
\end{Details}
\begin{Value}
An \code{\Link{RGList}} or \code{\Link{MAList}} object holding data from all the arrays from the individual objects.\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{cbind}} in the base package.

\link{3.ReadingData} gives an overview of data input and manipulation functions in LIMMA.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
M <- A <- matrix(11:14,4,2)
rownames(M) <- rownames(A) <- c("a","b","c","d")
colnames(M) <- colnames(A) <- c("A1","A2")
MA1 <- new("MAList",list(M=M,A=A))

M <- A <- matrix(21:24,4,2)
rownames(M) <- rownames(A) <- c("a","b","c","d")
colnames(M) <- colnames(A) <- c("B1","B2")
MA2 <- new("MAList",list(M=M,A=A))

cbind(MA1,MA2)
\end{ExampleCode}
\end{Examples}

