getSubtype-methods         package:KEGGgraph         R Documentation

_G_e_t _s_u_b_t_y_p_e

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

     KEGG stores sub-type of interactions between entities in the KGML
     files, which can be extracted with this method. The descriptions
     for the subtypes can be explored at the KGML document manual in
     the references.

     See 'KEGGEdge-class' for examples. The method for graphs is a
     wrapper to extract all subtype information from one graph.

_M_e_t_h_o_d_s:


     _o_b_j_e_c_t = "_g_r_a_p_h" ~~describe this method here 

     _o_b_j_e_c_t = "_K_E_G_G_E_d_g_e" ~~describe this method here 

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

     Jitao David Zhang <URL: mailto:j.zhang@dkfz.de>

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

     KGML Document manual <URL: http://www.genome.jp/kegg/docs/xml/>

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

     sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
     pathway <- parseKGML(sfile)

     edges <- edges(pathway)
     subtype <- getSubtype(edges[[1]])
     subtype

