splitKEGGgroup: Split KEGG group

View source: R/parse.R

splitKEGGgroupR Documentation

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

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 https://www.genome.jp/kegg/docs/xml/

See Also

KEGGpathway2Graph

Examples

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))

Accio/KEGGgraph documentation built on Jan. 13, 2023, 1:03 p.m.