So I've stumbled across the mirIntegrator package here. For those that don't know about it, it will generate an updated KEGG pathway with miRNA interactions (as a graphNEL object) and, if requested, plot an updated KEGG map with the miRNAs included. However, it does not have the facilities to incorporate any DGE data into said updated pathways ala gage or pathview. Well, maybe it does and I just can't work it out :/
Regardless, I figure the best bet moving forward would be to plot these new KEGG/miRNA graphNEL objects/pathways with pathview() as it seems that pathview works with graphNEL objects in the back end. Thing is I can't seem to find anything to suggest pathview() can take user defined graphNEL objects. Have I missed something here or is this something that pathview() is just not able to do.
Cheers,
BobbyT
Hi Weijin,
Thank you for your reply.
Looking back on my question it was a little vague. I guess that happens when you've been staring at a problem for a couple of days.
A little more info on what I'm trying to do to see if there's any light you could shed on the matter...
I'm using the mirIntegrator package to integrate miRNA into KEGG pathways. This package only utilises graphNEL objects. The actual problems I'm having seem to stem from loss of data when parsing the KGML to graphNEL. More specifically, node.info() is unable to retrieve node info from the object (even before augmentation) and returns that it is unable to find the correct getName() method.
The package comes with a demo script with calls keggPathwayGraphs() > loadKEGGpathwayDataRest() > parseKGML() > KEGGpathway2Graph().
Is there anything in this tree that would lose the required node data?
Also I have tried following your answer given here: pathview
Whilst I can get this to work, the resulting graphNEL object seems to be unusable with mirIntegrator. So there appear to be some major differences in the graphNEL objects. I have found several but cannot identify the cause.
Sorry for the rambling and thank you for your assistance
(PS) Feel a bit silly but I can't seem to find your email address :/