parseRelation {KEGGgraph} | R Documentation

## Parse RELATION elements from KGML files

### Description

RELATION elements in KGML files record the binary relationships between ENTRY elements, corresponding to (directed) edges in a graph. 'parseRelation' function parses RELATION elements into `KEGGEdge-class` objects from KGML files. It is not expected to be called directly by the user.

### Usage

    parseRelation(relation)

### Arguments

`relation` | XML node of KGML file

### Details

See http://www.genome.jp/kegg/docs/xml/ for more details about 'relation' as well as other elements in KGML files.

### Value

An object of `link{KEGGEdge}`.

### Author(s)

Jitao David Zhang <j.zhang@dkfz.de>

### References

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

### See Also

`KEGGEdge-class`, `parseEntry`

[Package KEGGgraph version 1.1.0 Index]