[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Shortest path matrix

From: Chris Watson
Subject: Re: [igraph] Shortest path matrix
Date: Sun, 5 Jul 2015 09:15:32 -0400

Are you using the 'shortest.paths' function? It returns a matrix

On Sun, Jul 5, 2015 at 7:25 AM, seema aswani <address@hidden> wrote:
Hi , 
I am using igraph package for finding shortest paths between two nodes of graph. As my dataset is having biological information about Protein Protein Interaction. The names are of type string and those are the names of proteins. I have names of 11 proteins and i found the shortest path between all those 11 proteins pairwise. As a result of for loop i am getting the list of shortest paths and the vertex sequences as a class igraph.vs. I want to display this result in matrix of 11*11. How can i do this ?? Can any one help ??


igraph-help mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]