The pathway created contains the compounds, reactions and other paths that it connects to as nodes.
The compounds given in compounds
are colored in blue, while the rest of the compounds are colored in grey.
The other paths that it may connect to are colored in orange.
Reversive reactions are colored in green and the irreversible ones in red.
pathway_analysis(compounds, pathway,
nodeNames="kegg", nodeTooltip=FALSE,
map.zoom=FALSE, map.layout="preset", map.width=NULL, map.height=NULL)
Vector of compounds of interest, in kegg codes.
KEGG code (e.g., "hsa00010") of the path wanted.
How the nodes should be named. If "kegg", nodes are named with kegg codes. If "names", nodes are named with the common names.
If a tooltip should appear when hovering a node.
If the map should have the zoom in and out option.
Layout of the map, available values are the ones of cytoscape ("breadthfirst", "preset", "cose", ...)
Width of the map, in percentage
Width of the map, in px (e.g. "500px")
Shows the pathway created.