Keep the KEGG coordinates while passing KEGG pathway (graphNEL) to igraph
0
0
Entering edit mode
7.6 years ago

Hello Everyone,

I downloaded the KEGG pathway using the parseKGML2Graph FUNCTION and when i plot the graph directly it shows a nice graph with KEGG coordinates, But when i convert the graphNEL object to igraph using igraph.from.graphNEL , it loses it coordinates. I want the same coordinates as KEGG graph, How can i do it ?

KEGG igraph R • 2.1k views
ADD COMMENT
2
Entering edit mode

Can you include some code that we can use as a minimum reproducible example? The attributes of the nodes in the graphNEL object can be obtained by getKEGGnodeData() and there (in the graphics slot for each node) you can find information like x and y coordinates. But I am not sure if that is what you are looking for.

ADD REPLY

Login before adding your answer.

Traffic: 1949 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6