getFeature              package:biomaRt              R Documentation

_R_e_t_r_i_e_v_e_s _F_e_a_t_u_r_e _s_t_a_r_t_i_n_g _f_r_o_m _a _g_e_n_e _s_y_m_b_o_l _a_n_d _a_r_r_a_y _i_d_e_n_t_i_f_i_e_r

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

     This function function retrieves features representing a certain
     gene given a gene symbol array identifier

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

     getFeature( symbol, OMIM, OMIMID, GO, GOID, array, chromosome, start, end, type, mart)

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

  symbol: gene symbol

    OMIM: OMIM term e.g. diabetes

  OMIMID: OMIM identifier

      GO: GO term

    GOID: GO identifier

   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()

chromosome: chromosome, can be used without start and end positions

   start: start on chromosome

     end: end on chromosome

    type: type of input identifier, this is either locuslink, embl or
          refseq.

    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>

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

     if(interactive()){
     mart <- useMart("ensembl",dataset="hsapiens_gene_ensembl")

     #example using affy id from Ensembl

     feat = getFeature( symbol = "TP53", array = "affy_hg_u95av2", mart = mart)
     show(feat)

     martDisconnect(mart = mart)
     }

