\HeaderA{TestResults-class}{Matrix of Test Results - class}{TestResults.Rdash.class}
\aliasA{show,TestResults-method}{TestResults-class}{show,TestResults.Rdash.method}
\aliasA{summary.TestResults}{TestResults-class}{summary.TestResults}
\keyword{classes}{TestResults-class}
\keyword{htest}{TestResults-class}
\begin{Description}\relax
A matrix-based class for storing the results of simultanous tests.
\code{TestResults} objects are normally created by \code{\LinkA{classifyTestsF}{classifyTestsF}}, \code{\LinkA{classifyTestsT}{classifyTestsT}} or \code{\LinkA{classifyTestsP}{classifyTestsP}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'TestResults':
summary(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of class \code{TestResults}
\item[\code{...}] other arguments are not used
\end{ldescription}
\end{Arguments}
\begin{Section}{Slots/List Components}
\code{TestResults} objects can be created by \code{new("TestResults",results)} where \code{results} is a matrix.
Objects of this class contain no slots (other than \code{.Data}), although the attributes \code{dim} and \code{dimnames} may be treated as slots.
\end{Section}
\begin{Section}{Methods}
This class inherits directly from class \code{matrix} so any operation appropriate for matrices will work on objects of this class.
\code{\LinkA{show}{show}} and \code{summary} methods are also implemented.

Functions in LIMMA which operate on \code{TestResults} objects include
\code{\LinkA{heatDiagram}{heatDiagram}},
\code{\LinkA{vennCounts}{vennCounts}},
\code{\LinkA{vennDiagram}{vennDiagram}},
\code{\LinkA{write.fit}{write.fit}}.
\end{Section}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\LinkA{02.Classes}{02.Classes} gives an overview of all the classes defined by this package.
\LinkA{08.Tests}{08.Tests} gives an overview of multiple testing.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}## Not run: 
#  Assume a data object MA and a design matrix
fit <- lmFit(MA, design)
fit <- eBayes(fit)
results <- decideTests(fit)
summary(results)
## End(Not run)\end{ExampleCode}
\end{Examples}

