GOMFANCESTOR               package:GO               R Documentation

_A_n_n_o_t_a_t_i_o_n _o_f _G_O _i_d_e_n_t_i_f_i_e_r_s _b_y _t_h_e _G_O _i_d_e_n_t_i_f_i_e_r_s _o_f _t_h_e_i_r
_a_n_c_e_s_t_o_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     This is an R environment (hash table) mapping GO ids to all the GO
     ids of their ancestors under molecular function (MF). Ancestors
     are defined as the direct or indirect parent/grand parent nodes of
     a given node for a GO id based on the directed acyclic graph
     defined by Gene Ontology Consortium. GO terms for ancestor nodes
     are more general

_D_e_t_a_i_l_s:

     GO ids are keys and the corresponding ancestor GO ids are values.
     Values are vectors of GO ids for all the ancestor of the key GO
     id. GO ids that do not have any offspring node are assigned NA as
     the values.  

     Molecular function is defined as the tasks performed by individual
     gene products; examples are transcription factor and DNA helicase
     as defined by Gene Ontology Consortium.  

     Mappings were based on data provided:

     Gene Ontology:<URL:
     http://www.godatabase.org/dev/database/archive/2004-09-01/go_20040
     9-termdb.xml.gz>. Built: 2004-09-01

     Package built: Mon Jan 10 19:19:56 2005

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.geneontology.org/> and <URL:
     http://www.ncbi.nlm.nih.gov/LocusLink>

_E_x_a_m_p_l_e_s:

       require("GO", character.only = TRUE) || stop("GO unavailable")
       # Convert the environment object to a list
       xx <- as.list(GOMFANCESTOR)
       # Remove GO ids that do not have any ancestor
       xx <- xx[!is.na(xx)]
       if(length(xx) > 0){
         # Get the ancestor GO ids for the first two elents of xx
         goids <- xx[1:2]
       }

