\Header{oneGOGraph}{Build a GO graph for one identifier}
\keyword{manip}{oneGOGraph}
\begin{Description}\relax
Given a single GO identifier and a set of mappings
to the less specific sets of nodes this function will construct 
the graph that includes that node and all children down to the root node
for the ontology.
\end{Description}
\begin{Usage}
\begin{verbatim}
oneGOGraph(x, dataenv)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A length one character vector with the name of the term. 
\item[\code{dataenv}] An environment for finding the parents of that term. 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
For any gene we define the induced GO graph to be that graph, based on
the DAG structure (child - parent) of the GO ontology of terms.
\end{Details}
\begin{Value}
The induced GO graph (or NULL) for the given GO identifier.
\end{Value}
\begin{Author}\relax
R. Gentleman
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{makeGOGraph}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

 g1 <- oneGOGraph("GO:0003680", GOMFPARENTS)
 g2 <- oneGOGraph("GO:0003701", GOMFPARENTS)
 g3 <- combGOGraph(g1, g2)

if( require(Rgraphviz) && interactive() )
  plot(g3)
\end{ExampleCode}
\end{Examples}

