splitKEGGgroup {KEGGgraph} | R Documentation |
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.
splitKEGGgroup(pathway)
pathway |
An object of |
By default the groups (complexes) in KEGG pathways are split.
An object of KEGGPathway-class
Jitao David Zhang mailto:jitao_david.zhang@roche.com
KGML Manual http://www.genome.jp/kegg/docs/xml/
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))