KEGG graph or pathway to Adjacency matrix
1
1
Entering edit mode
8.2 years ago

Hello guys,

I am trying to get the adjacency matrix out of the KEGG graph or pathway in R. I did search online but could not find any tools or function that could help me get what i want. I did retrieve the KEGG XML file and did some further retrieving from it but could not get the adjacency matrix.

Anybody who did something like this before? Would really appreciate some help.

kegg adjacency matrix R • 2.6k views
ADD COMMENT
2
Entering edit mode
8.2 years ago

You could have a look at the PathNet package. However, it should be a relatively easy scripting task: simply set A(i,j)=1 if there is a link between gene i and gene j, 0 otherwise. Note that since the graph is directed, in general, A(i,j) != A(j,i).

ADD COMMENT

Login before adding your answer.

Traffic: 2778 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