splitKEGGgroup: Split KEGG group

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/parse.R

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

1
splitKEGGgroup(pathway)

Arguments

pathway

An object of KEGGPathway-class

Details

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

Value

An object of KEGGPathway-class

Author(s)

Jitao David Zhang mailto:jitao_david.zhang@roche.com

References

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

See Also

KEGGpathway2Graph

Examples

1
2
3
4
5
6
7
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))

KEGGgraph documentation built on Nov. 8, 2020, 5:42 p.m.