|
From: | Chris Wj |
Subject: | Re: [igraph] bipartite.projection and weighted graphs |
Date: | Thu, 23 Jun 2011 15:30:32 -0400 |
the most important being that igraph 0.6 will use 1-based indexing instead of 0-based indexing
Hi Guy,igraph 0.5.x does not support weighted projections yet (as far as I know), but igraph 0.6 will support it, so you can try installing the development version and use that if you don't mind a few changes here and there in the library (the most important being that igraph 0.6 will use 1-based indexing instead of 0-based indexing). Let me know if you need instructions about how to get the development version.
--
T.On Thursday, 23 June 2011 at 17:22, address@hidden wrote:
Hi Guy - don't know about weights in igraph, but if you use tnet (built on
igraph, I believe) it specifically supports this. Function reference here:
http://opsahl.co.uk/tnet/content/view/54/30/
Blog post describing the procedure here:
http://toreopsahl.com/2009/05/01/projecting-two-mode-networks-onto-weighted-one-mode-networks/
Once you have it as a weighted one-mode network, use other tnet functions
for weighted centrality measures (betweenness, degree, closeness).
Hope that helps.
R
On , Guy Bourne <address@hidden> wrote:
Hi,I'm looking to collapse large 2-mode networks into 1-mode networks to
analyse centrality between nodes in one vertext set. To do this I was
planning on using bipartite.projection, but I wasn't sure if the output
of this could be a weighted graph. The data that I've used doesn't seem
to produce repeated edges (presumably as the output is a simple graph) so
I was wondering if there was an option for a weighted graph output?Thanks in advance for your time!Kind regards,Guy_______________________________________________
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
[Prev in Thread] | Current Thread | [Next in Thread] |