splitKEGGgroup           package:KEGGgraph           R Documentation

_S_p_l_i_t _K_E_G_G _g_r_o_u_p

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

     The function split 'group' entries in KGML files. Most of the
     cases they are complexes. During the splitting the function copies
     the edges between groups and nodes (or between groups and groups)
     correspondingly, so that the existing edges also exist after the
     groups are split.

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

     splitKEGGgroup(pathway)

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

 pathway: An object of 'KEGGPathway-class' 

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

     By default the groups (complexes) in KEGG pathways are split.

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

     An object of 'KEGGPathway-class'

_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 Manual <URL: http://www.genome.jp/kegg/docs/xml/>

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

     'KEGGpathway2Graph'

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

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

     ## compare the different number of edges
     length(edges(kegg.pathway))
     length(edges(kegg.pathway.split))

