getGO                package:biomaRt                R Documentation

_R_e_t_r_i_e_v_e_s _G_O _i_n_f_o_r_m_a_t_i_o_n

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

     This function retrieves GO information from Ensemble given a gene
     identifier

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

     getGO( id, type, array, species, mart)

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

      id: gene identifier

    type: type of identifier, value should be either affy, entrezgene,
          embl, hugo, ensembl or refseq

   array: array identifier only to be used if gene identifiers are from
          affy arrays. An overview of the accepted identifiers can be
          obtained with the function: getAffyArrays()

 species: species, only to be used if type equals locuslink.  Accepted
          values for species can be retrieved by the function
          getSpecies()

    mart: object of class Mart, containing connections to the BioMart
          databases.  You can creat such an object using the function
          martConnect.

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

     Steffen Durinck, <URL: http://www.esat.kuleuven.ac.be/~sdurinck>

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

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

     if(interactive()){
     mart <- martConnect()

     #example using affy id

     go = getGO( id = "1939_at", array = "hg_u95av2", mart = mart)
     show(go)

     #example using locuslink id

     go = getGO( id = 672, type = "entrezgene", species = "hsapiens", mart = mart)
     show(go)

     martDisconnect(mart = mart)
     }

