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: Tamas Nepusz
Subject: Re: [igraph] How to read a graph data with non numeric vertex ID
Date: Tue, 2 Sep 2008 23:23:43 +0100

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.





reply via email to

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