igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] data presentation prob


From: Ragia Ibrahim
Subject: Re: [igraph] data presentation prob
Date: Sun, 11 May 2014 19:58:26 +0200


kindly,  can I have list of reachable nodes for each node in V(graph) ?
I can not add it as an attribute to each node...I need to keep this list of reachable ones thus i can intersect and union them later on.
replying is highly appreciated
Ragia



Date: Sat, 10 May 2014 18:40:55 -0400
From: address@hidden
To: address@hidden
Subject: Re: [igraph] data presentation prob

Read the file with readLines(), and then go over it line by line. Split each line with strsplit(), and put the whole thing into an adjacency list. Then call graph.adjlist() on it.

Gabor


On Sat, May 10, 2014 at 6:33 PM, Ragia Ibrahim <address@hidden> wrote:

Hi,
 I got data like the following  taken from a graph

id          reacableh_list                  number of reachable
  ---------------------------------------------------
  1             1 4                                          2
  2             2 3 4                                         3
 3               3 2 1                                        3 
 4               4                                              1
----------------------------------------------------------


i couldn't put it in data frame since the reachable list is not the same?
i want to keep it ..be able to sort..and get intersection and union between reachable lists..
any suggestions please




Ragia.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



_______________________________________________ igraph-help mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/igraph-help

reply via email to

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