\Header{hasGOannote}{Check for GO annotation}
\keyword{manip}{hasGOannote}
\begin{Description}\relax
Given a GO term and an environment this function determines whether
there is an entry (or symbol) in the environment with the same name as
the term.
\end{Description}
\begin{Usage}
\begin{verbatim}
hasGOannote(x, which="MF")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A length one character vector. 
\item[\code{which}] Either an environment or the name of an environment. By
default this is the MF parents environment. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The element \code{x} is searched for in the environment. If it is
found then \code{TRUE} is returned otherwise \code{FALSE} is returned.
\end{Details}
\begin{Value}
As described above.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{get}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 t1 <- "GO:0003680"
 hasGOannote(t1)
 hasGOannote(t1, "BP")
\end{ExampleCode}
\end{Examples}

