\Header{usedChromGenes}{A function to select used genes on a chromosome from an exprSet.}
\keyword{interface}{usedChromGenes}
\begin{Description}\relax
Given an instance of an \code{exprSet}, a \code{chromLocation} object
and the name of a chromosome this function returns all genes represented
in the \code{exprSet} on the specified chromosome.
\end{Description}
\begin{Usage}
\begin{verbatim}
usedChromGenes(eSet, chrom, specChrom)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{eSet}] An instance of an \code{exprSet} object.
\item[\code{chrom}] The name of the chromosome of interest.
\item[\code{specChrom}] An instance of a \code{chromLocation} object.
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns a vector of gene names that represent the genes from the
\code{exprSet} that are on the specified chromosome.
\end{Value}
\begin{Author}\relax
Jeff Gentry
\end{Author}
\begin{Examples}
\begin{ExampleCode}
    data(eset)
    data(hgu95AProbLocs)
    usedChromGenes(eset,"1",hgu95AProbLocs)
\end{ExampleCode}
\end{Examples}

