oneGOGraph              package:GOstats              R Documentation

_B_u_i_l_d _a _G_O _g_r_a_p_h _f_o_r _o_n_e _i_d_e_n_t_i_f_i_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     oneGOGraph(x, dataenv)

_A_r_g_u_m_e_n_t_s:

       x: A length one character vector with the name of the term. 

 dataenv: An environment for finding the parents of that term. 

_D_e_t_a_i_l_s:

     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.

_V_a_l_u_e:

     The induced GO graph (or NULL) for the given GO identifier.

_A_u_t_h_o_r(_s):

     R. Gentleman

_S_e_e _A_l_s_o:

     'makeGOGraph'

_E_x_a_m_p_l_e_s:

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

     if( require(Rgraphviz) && interactive() )
       plot(g3)

