splitKEGGgroup {KEGGgraph} | R 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 http://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))

[Package KEGGgraph version 1.44.0 Index]