ptrhomologyLL2HGID        package:ptrhomology        R Documentation

_M_a_p_p_i_n_g_s _b_e_t_w_e_e_n _p_u_b_l_i_c _d_a_t_a_b_a_s_e _i_d_e_n_t_i_f_i_e_r_s _a_n_d _N_C_B_I'_s _I_n_t_e_r_n_a_l
_H_o_m_o_l_o_G_e_n_e_I_D_s _f_o_r _P_a_n _t_r_o_g_l_o_d_y_t_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     R environments that provides mappings between public database
     identifiers and internal HomoloGeneIDs (HGID) used by NCBI to
     represent sequences for Pan troglodytes. Public database
     identifiers include Entrez Gene identifiers (LL) and GenBank
     Accesion/RefSeq numbers (ACC).

_D_e_t_a_i_l_s:

     Each R environment provides mapping between either HomoloGeneIds
     and database identifiers. or the converse. The mapping direction
     is indicated by the name of the environment. For instance,
     ptrhomologyACC2HGID provides mappings between GenBank accession
     numbers and HomoloGeneIds.

     For each environment, a given identifier will map to a named
     vector of identifiers. the names of which are the NCBI code for
     that organism.

     Mappings contained were based on data provided by HomoloGene.

     HomoloGene:\<URL: 
     ftp://ftp.ncbi.nih.gov/pub/HomoloGene/old/hmlg.ftp>. Built:
     HomoloGene built date not available

     Packagebuilt Fri Mar 16 11:04:57 2007

_R_e_f_e_r_e_n_c_e_s:

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

_E_x_a_m_p_l_e_s:

         require("annotate") || stop("annotate unavailable")
         xx <- as.list(ptrhomologyLL2HGID)
             if(length(xx) > 5){
                     # Get the value of the first key
                     xx[2]
                     # Get the value for a few keys
                     if(length(xx) >= 3){
                             xx[2:4]
                     }
             }

