pwKEGGxml              package:PathWave              R Documentation

_P_a_t_h_W_a_v_e _p_a_r_s_e_r _f_o_r _K_E_G_G _X_M_L _f_i_l_e_s

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

     Reads and parses KEGG xml files. Extracts gene IDs, reaction IDs,
     compound IDs and internal KEGG IDs for every pathway.

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

     pwKEGGxml(url = "ftp://ftp.genome.jp/pub/kegg/xml/organisms/hsa/")

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

     url: Url or directory containing the xml files that should be
          parsed (default
          "ftp://ftp.genome.jp/pub/kegg/xml/organisms/hsa/"). See
          details.

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

_u_r_l Variable url can either be an url or a directory. The function
     searches for xml files in the given url.   IMPORTANT: reaction IDs
     are extracted for each pathway. To avoid mismatching similar
     reaction IDs of different pathways, pathway ID and reaction ID are
     concatenated, e.g. hsa00251:R00256 .

_V_a_l_u_e:

     A List is returned: 

     ids: Internal KEGG IDs. Contains a list of pathway IDs. For every
          pathway ID a vector is stored with the internal KEGG IDs for
          every reaction ID.

   genes: Contains a list of pathway IDs. For every pathway ID a vector
          is stored with the entrez gene IDs for every reaction ID.
          Reaction IDs can occur more than once if more than one gene
          can be mapped on it.

reactions: Contains a list of pathway IDs. For every pathway ID a
          vector is stored with reaction IDs (concatenated with the
          pathway ID).

compounds: Contains a list of pathway IDs. For every pathway ID a list
          of the pathways reaction IDs is stored. These lists contain
          the compounds the specific reaction is connected with.

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

     Gunnar Schramm

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

     KEGG: Kanehisa, M., Araki, M., Goto, S., Hattori, M., Hirakawa,
     M., Itoh, M., Katayama, T., Kawashima, S., Okuda, S., Tokimatsu,
     T., and Yamanishi, Y.; KEGG for linking genomes to life and the
     environment. Nucleic Acids Res. 36, D480-D484 (2008).

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

     See Also as 'pwAdjMatrices'

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

     kegg.ftp="ftp://ftp.genome.jp/pub/kegg/xml/organisms/hsa/"
     keggXml=pwKEGGxml(kegg.ftp)

