Sorry to waste the bandwidth. I found what I was looking for in the igraph wiki. Still have a couple of questions about 'paths' but it's best if I tackle them in more detail before further exposing my ignorance. :)
-------------- Date: Mon, 2 Apr 2012 22:39:22 +0000 (UTC) To: [email protected] Subject: [igraph] R: vertex attributes Message-ID: <869853165.724508.1333406362019.javamail.r...@sz0136a.emeryville.ca.mail.comcast.net> Content-Type: text/plain; charset="utf-8" I've gone through the archives, but my apologies if I missed this issue: I have a file that contains the following data <list of vertex attributes > vertex_i vertex_i_attribute vertex_j vertex_j_attribute vertex_k vertex_k_attribute etc. <directed edge list> vertex_i vertex_j vertex_j vertex_k vertex_i vertex_k etc. that is, a typical edge list, but with vertex attributes included. My end goal is to find the list of paths of length 'n' and for each path, define it according to a list of vertex attributes. Skimming the manuals for igraph-python and igraph-R distributions, it seems possible to do this using the python version of igraph, but not the R version of igraph. Or am I missing something? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nongnu.org/archive/html/igraph-help/attachments/20120402/e8914b35/attachment.html> ------------------------------ Message: 2 Date: Mon, 2 Apr 2012 18:41:09 -0400 From: G?bor Cs?rdi <[email protected]> To: Help for igraph users <[email protected]> Subject: Re: [igraph] R: vertex attributes Message-ID: <CABtg=KndywnzrdXk75W-zowS77hkeC40LsMp9afv3sb=xta...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Mon, Apr 2, 2012 at 6:39 PM, <[email protected]> wrote: > I've gone through the archives, but my apologies if I missed this issue: > > I have a file that contains the following data > > <list of vertex attributes > > vertex_i? vertex_i_attribute > vertex_j vertex_j_attribute > vertex_k vertex_k_attribute > etc. > <directed edge list> > vertex_i vertex_j > vertex_j vertex_k > vertex_i vertex_k > etc. > > > that is, a typical edge list, but with vertex attributes included. > > My end goal is to find the list of paths of length 'n' and for each path, > define it according to a list of vertex attributes. > > Skimming the manuals for igraph-python and igraph-R distributions, it seems > possible to do this using the python version of igraph, but not the R > version of igraph.? Or am I missing something? What is it exactly that you cannot do with R? Gabor > Thanks in advance. > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > -- Gabor Csardi <[email protected]>? ?? MTA KFKI RMKI _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
