\HeaderA{GO2heatmap}{Compute a heatmap for the specified data, for either a GO
category or a KEGG pathway.}{GO2heatmap}
\aliasA{KEGG2heatmap}{GO2heatmap}{KEGG2heatmap}
\keyword{manip}{GO2heatmap}
\begin{Description}\relax
For a given GO category or KEGG pathway, all probes in the supplied
data are mapped to the pathway and a heatmap is produced.
\end{Description}
\begin{Usage}
\begin{verbatim}
GO2heatmap(x, eset, data = "hgu133plus2", ...)
KEGG2heatmap(x, eset, data = "hgu133plus2", ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] The name of the category or pathway. 
\item[\code{eset}] An \code{exprSet} providing the data. 
\item[\code{data}] The name of the chip.
\item[\code{...}] Additional parameters to pass to \code{heatmap}. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
For the given pathway or GO category all matching probes are
determined, these are used to subset the data and \code{heatmap} is
invoked on that set of data. Extra parameters can be passed through to
\code{heatmap} using the \code{...}.
\end{Details}
\begin{Value}
The value returned by \code{heatmap} is passed back to the user.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{heatmap}{heatmap}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 if( require("hgu95av2") ) {
  data(sample.exprSet.1)
  KEGG2heatmap("04810", sample.exprSet.1, "hgu95av2")
 }
\end{ExampleCode}
\end{Examples}

