GOCCOFFSPRING               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 _t_o _t_h_e_i_r _C_e_l_l_u_l_a_r _C_o_m_p_o_n_e_n_t _O_f_f_s_p_r_i_n_g

_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 offspring based on the  cellular component (CC) GO
     terms. Offspring are defined as the direct or indirect
     children/grand children nodes of a given node for a GO id based on
     the directed acyclic graph defined by Gene Ontology Consortium. GO
     terms for offspring nodes are more specific than that of the
     parent.

_D_e_t_a_i_l_s:

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

     Cellular component is defined as the subcellular structures,
     locations, and macromolecular complexes; examples include nucleus,
     telomere, and origin recognition complex as defined b y Gene
     Ontology Consortium. 

     Mappings were based on data provided:

     Gene Ontology:<URL:
     http://gopher5/compbio/annotationSourceData/archive.godatabase.org
     /latest/>. Built: 200509

     Package built: Fri Sep 30 02:51:32 2005

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.geneontology.org/> and <URL:
     http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene>

_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(GOCCOFFSPRING)
       # Remove GO ids that do not have any offspring
       xx <- xx[!is.na(xx)]
       if(length(xx) > 0){
         # Get the offspring GO ids for the first two elents of xx
         goids <- xx[1:2]
       }

