Entering edit mode
8.2 years ago
saamar.rajput
▴
80
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 ?
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 bygetKEGGnodeData()
and there (in thegraphics
slot for each node) you can find information likex
andy
coordinates. But I am not sure if that is what you are looking for.