expandKEGGPathway {KEGGgraph} | R Documentation

## Expand KEGG Pathway

### Description

The function expands paralogue nodes in KEGG pathway and returns expanded KEGG pathway, KEGG node and edge data is maintained.

### Usage

    expandKEGGPathway(pathway)

### Arguments

`pathway` | An object of `KEGGPathway-class`

### Details

The function expands nodes with paralogues in KEGG pathway and copy neccessary edges.

### Value

An object of `KEGGPathway-class`

### Author(s)

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

### See Also

`expandKEGGNode`

### Examples

    sfile <- system.file("extdata/hsa04010.xml",package="KEGGgraph")
    kegg.pathway <- parseKGML(sfile)
    kegg.expandpathway <- expandKEGGPathway(kegg.pathway)

[Package KEGGgraph version 1.54.0 Index]