I am attempting to use R to extract biological pathway information from several different online databases (specifically KEGG, Wikipathways and Reactome) and use that information in a larger project I am working on where I am attempting to gauge levels of pathway functionality.
An important aspect of my method is requiring the directionality of a pathway: I.e. knowing that GENE1 leads to GENE2 leads to GENE3 etc. This is actually also fairly useful for simpler things like plotting any pathways of interest.
As it stands, I have spent some time working with KEGG and have a working method for this using KEGGgraph which is generally used for plotting pathways, but I can use it to extract the directions of the edges between vertices.
What I need now is something equivalent for Reactome and Wikipathways. I haven't really looked at Wikipathways yet, but for Reactome specifically I'm not sure if I've hit a dead end or not. I can use the reactome.db package for extracting list of genes, but it doesn't give any information about direction.
So, what I need is some way of extracting the information from Reactome and Wikipathways specifically and knowing which gene connects to which gene and also (importantly) which direction this effect occurs in. Ideally this would be something that I could do in R, or at the very least a way of pointing to files I could download and read into R (automatically) that would contain this information.
Any help appreciated.
Not really an answer, just a pointer: https://bioconductor.org/packages/release/bioc/html/rWikiPathways.html
Do any of these links seem helpful?
https://metacyc.org/META/NEW-IMAGE?type=PATHWAY&object=P101-PWY&ENZORG=ALL
https://www.brenda-enzymes.org/enzyme.php?ecno=1.2.1.11
For WikiPathways, there is also a Cytoscape app[1] that lets you import pathways as directed networks. This can all be controlled from R via the RCy3 package[2].
Can check the Reactome Neo4j database and there's an API in R: ReactomeGraph4R