org.Hs.egUNIGENE        package:org.Hs.eg.db        R Documentation

_M_a_p _b_e_t_w_e_e_n _E_n_t_r_e_z _G_e_n_e _I_d_e_n_t_i_f_i_e_r_s _a_n_d _U_n_i_G_e_n_e _c_l_u_s_t_e_r _i_d_e_n_t_i_f_i_e_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     org.Hs.egUNIGENE is an R object that provides mappings between
     entrez gene identifiers and UniGene identifiers.

_D_e_t_a_i_l_s:

     Each entrez gene identifier is mapped to a UniGene identifier. An
     'NA' is reported if the entrez gene identifier cannot be mapped to
     UniGene at this time. 

     A UniGene identifier represents a cluster of sequences of a gene.
     Using UniGene identifiers one can query the UniGene database for
     information about the sequences.  

     Mappings were based on data provided by: Entrez Gene (
     ftp://ftp.ncbi.nlm.nih.gov/gene/DATA ) on 2008-Apr2

_R_e_f_e_r_e_n_c_e_s:

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

_E_x_a_m_p_l_e_s:

             x <- org.Hs.egUNIGENE
             # Get the Unigene identifiers that are mapped to an entrez gene id
             mapped_genes <- mappedkeys(x)
             # Convert to a list
             xx <- as.list(x[mapped_genes])
             if(length(xx) > 0) {
               # Get the UNIGENE for the first five genes
               xx[1:5]
               # Get the first one
               xx[[1]]
             }
             # For the reverse map:
             x <- org.Hs.egUNIGENE2EG
             # Get the entrez gene identifiers that are mapped to a Unigene id
             mapped_genes <- mappedkeys(x)
             # Convert to a list
             xx <- as.list(x[mapped_genes])
             if(length(xx) > 0) {
               # Get the entrez gene for the first five genes
               xx[1:5]
               # Get the first one
               xx[[1]]
             }

