\HeaderA{dimnames}{Retrieve the Dimension Names of an RGList, MAList or MArrayLM Object}{dimnames}
\methaliasA{dimnames.MAList}{dimnames}{dimnames.MAList}
\methaliasA{dimnames.MArrayLM}{dimnames}{dimnames.MArrayLM}
\methaliasA{dimnames.RGList}{dimnames}{dimnames.RGList}
\aliasA{dimnames<\Rdash.MAList}{dimnames}{dimnames<.Rdash..MAList}
\aliasA{dimnames<\Rdash.RGList}{dimnames}{dimnames<.Rdash..RGList}
\keyword{array}{dimnames}
\begin{Description}\relax
Retrieve the dimension names of a microarray data object.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'RGList':
dimnames(x)
## S3 replacement method for class 'RGList':
dimnames(x) <- value
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an object of class \code{RGList}, \code{MAList} or (not for assignment) \code{MArrayLM}
\item[\code{value}] a possible value for \code{dimnames(x)}: see \code{\LinkA{dimnames}{dimnames}}
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The dimension names of a microarray object are the same as those of the most important matrix component of that object.

A consequence is that \code{rownames} and \code{colnames} will work as expected.
\end{Details}
\begin{Value}
Either \code{NULL} or a list of length 2.
If a list, its components are either 'NULL' or a character vector the length of the appropriate dimension of \code{x}.
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{dimnames}{dimnames}} in the base package.

\LinkA{02.Classes}{02.Classes} gives an overview of data classes used in LIMMA.
\end{SeeAlso}

