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