Regulatory pathways are always viewed as protein networks, so there is
no 'reaction' information saved in their KGML files. Metabolic
pathways are viewed both as both protein networks and chemical
networks, hence the
KEGGPathway-class object may have reactions
information among chemical compounds.
This functions extracts reaction information from KEGG pathway, and convert the chemical compound reaction network into directed graph.
The direction of the graph is specified by the role of the compound in the reaction, the edges goes always out of 'substrate' and points to 'product'.
For now there is no wrapper to parse the KGML file directly into a
reaction graph. In future there maybe one, but we don't want to
confuse users with two similar functions to parse the file into a
graph (since we assume that most users will need the protein graph,
which can be conveniently parsed by
From version 1.18.0, reaction graphs returned by
KEGGpathway2reactionGraph can be merged with other reaction
graphs or pathway graphs.Thus users can combine pathway and reaction
graph in one KGML file into a single graph.
A directed graph with compounds as nodes and reactions as edges.
If the pathway does not contain any chemical reactions, a warning
message will be printed and
NULL is returned.
Jitao David Zhang mailto:[email protected]
KGML Document manual http://www.genome.jp/kegg/docs/xml/
1 2 3 4 5 6
Attaching package: 'KEGGgraph' The following object is masked from 'package:graphics': plot A graphNEL graph with directed edges Number of Nodes = 57 Number of Edges = 67  "cpd:C00576" "cpd:C00065" "cpd:C06231" $`cpd:C00576`  "cpd:C00719" $`cpd:C00065`  "cpd:C00740" "cpd:C00168" "cpd:C02291" "cpd:C02553" "cpd:C02737"  "cpd:C00022" "cpd:C00097" $`cpd:C06231`  "cpd:C16432"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.