dbGetAnnotation             package:maDB             R Documentation

_A_n_n_o_t_a_t_e _a _l_i_s_t _o_f _I_D_s _u_s_i_n_g _t_h_e _a_n_n_o_t_a_t_i_o_n _t_a_b_l_e _i_n _t_h_e _d_a_t_a_b_a_s_e.

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

     'dbGetAnnotation' this function can be used to annotate a list of
     ids (for example Affymetrix IDs) using a formerly created
     annotation database.

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

     dbGetAnnotation(Con,id,columns=c("gen_bank","description","uni_gene","locuslink","symbol","chromosome"),chip=NULL,search.col="id",v=TRUE,quickload=FALSE)

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

     Con: A connection object (create it with the dbConnect.PgSQL.conn
          function from the package RdbiPgSQL)

      id: The IDs of the genes that should be annotated.

 columns: the identifier to which the submitted ids should be
          annotated.

    chip: the chip (or for two color arrays a oligo set identifier)
          from which the ids were taken from (e.g. hgu133plus2 for the
          Affymetrix GeneChip 133Plus2).

search.col: In wich of the columns the ids submitted with the id
          parameter should be searched for.

       v: If TRUE additional information will be printed to the
          console.

quickload: Only valid if id="id", the annotation data will be fetched
          much quicker from the database.

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

     The annotation table can be easily created in a PostgreSQL
     database using the 'dbUpdateAnnotation' function.

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

     Johannes Rainer

_R_e_f_e_r_e_n_c_e_s:

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

     'dbUpdateAnnotation' 'dbGetExperimentInfo' 'loadFromDB'

