Learn R Programming

KEGGgraph (version 1.30.0)

splitKEGGgroup: Split KEGG group

Description

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.

Usage

splitKEGGgroup(pathway)

Arguments

pathway
An object of KEGGPathway-class

Value

An object of KEGGPathway-class

Details

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

References

KGML Manual http://www.genome.jp/kegg/docs/xml/

See Also

KEGGpathway2Graph

Examples

Run this code
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))

Run the code above in your browser using DataLab