Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble understanding meaning of edges + Displaynames not showing correctly in graph #14

Open
suhartobanerjee opened this issue May 22, 2023 · 0 comments

Comments

@suhartobanerjee
Copy link

Hey!

I am recently checking out the package and can build graphs from KGML files. I got two queries.
Firstly, I am having trouble understanding the graphs, especially the meaning of the edges. I checked the publication and did not come across a sentence describing the relationship that is portrayed by the edges. Furthermore, I am not understanding the directionality of the edges as well, what do they directions of the arrows mean. Am I missing something?

As for the 2nd question, this is the code I have run:

pathway <- KEGGREST::keggGet("00232", "kgml")
graph <- KEGGgraph::parseKGML2Graph(pathway, genesOnly = T)
plotKEGGgraph(graph, useDisplayName = T)

In this particular example, the genes "hsa:1548" and "hsa:1549" are named "CYP2A6" and "CYP2A7" respectively on KEGG website. However, they are both named "CYP2A6" in the graph. I checked the DisplayName by running getKEGGnodeData(graph) and even there it is the same for these genes. This is just 1 gene I am mentioning, but have seen similar behaviour across 3 pathways. It would be lovely if you could check the issue if it is a bug / limitation or something I am doing wrong.

Thank you so much for the wonderful package. Let me know if there are any more info you need.

Best,
Suharto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant