igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] overlapping network communities - plotting & indexing


From: Gábor Csárdi
Subject: Re: [igraph] overlapping network communities - plotting & indexing
Date: Tue, 28 May 2013 15:15:08 -0400

On Mon, May 27, 2013 at 11:18 AM, tom <address@hidden> wrote:
[...]

I have 2 questions;
1. I would like to plot this graph & the overlapping communities in the same
manner as the examples given in cohesive.blocks. How ?

You can use the mark.groups argument of plot.igraph, see the docs.

2. if there are 3 communities, then there are 8 possible classes;
A,B,C,AB,BC,AC,ABC, & none. So is there a method to index the different
vertices according to the classes, as in the typical igraph community
membership functions?

I am not sure what exactly you want. Can you give a simple example?
Maybe you want

apply(mat, 1, function(x) paste(LETTERS[as.logical(x)],collapse=""))

Untested, 'mat' is your matrix.

G.
 

Thanks!
Tom


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



--
Gabor Csardi <address@hidden>     MTA KFKI RMKI

reply via email to

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