igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] How to read a graph data with non numeric vertex ID


From: lan gao
Subject: Re: [igraph] How to read a graph data with non numeric vertex ID
Date: Thu, 4 Sep 2008 09:50:54 -0500

Thank you so much. I see the problem...my file is a txt file.  Can you please tell how to store a file in ncol format?

On Tue, Sep 2, 2008 at 5:23 PM, Tamas Nepusz <address@hidden> wrote:
Hi,


I need to read a graph data with non-numerci vertex ID in txt format.

My raw data looks like this

 DIP:2551N DIP:1189N
 DIP:2551N DIP:1330N
 DIP:2551N DIP:4449N
 DIP:2551N DIP:2425N
That looks perfectly suitable for the NCOL format reader, have you tried that?
(E.g. read.graph("file", format="ncol"). The vertex names will be stored as attributes.

--
T.



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


reply via email to

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