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