Hi,
My question is regards manipulating or changing the membership vector :
what I am trying to do is to use the community membership of a graph for
another graph or in other words changing the community membership of the
second graph[the second graph has some of the vertex of the first one]
in other words :consider the below example :
i want to use membership (wckarate) for karate3
karate <- graph.famous("Zachary")
karate <-as.matrix(karate)
karate3=read.csv(file.choose())
karate3=as.matrix(karate3)
karate3=graph.data.frame(karate3,directed=FALSE)
wckarate3=walktrap.community(karate3)
wckarate=walktrap.community(karate)
the attached file is the second graph.
regards,
fatemeh
id1,id2
2,1
3,1
11,1
20,1
13,1
32,1
18,2
31,2
4,3
13,4
14,4
7,6
17,7
14,4
8,4
11,6
3,33
2,32
3,30
3,33
4,25
3,21
33,19
1,17
2,5
4,10
5,18
14,5
24,12
26,1
15,7
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help