Question: KEGG graph or pathway to Adjacency matrix
gravatar for saamar.rajput
4.1 years ago by
saamar.rajput60 wrote:

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 • 1.5k views
ADD COMMENTlink modified 4.1 years ago by Jean-Karim Heriche23k • written 4.1 years ago by saamar.rajput60
gravatar for Jean-Karim Heriche
4.1 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche23k wrote:

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 COMMENTlink written 4.1 years ago by Jean-Karim Heriche23k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1269 users visited in the last hour