Hello!
I have read the page Community Detection In R
http://igraph.wikidot.com/community-detection-in-rand tried to do the code in order to test the significance of a community.
Is it possible to rewrite the next two lines
from
"if (is.directed(graph)) stop("This method requires an undirected graph")
subgraph <- induced.subgraph(graph, vs)"
to
"subgraph <- induced.subgraph(graph, vs)
subg1 <- as.undirected(subg1)"
?
Then apply the Wilcox.test to an directed graph?
In this case a bi-directed link will be replace on a undirected link and the number of in-/out-degree will be decreased.