Description Usage Arguments Details Examples
This uses an object of getCommuntiy class and extracts parameters to plot current communities.
1 | plot_Community(gc, cols = 3)
|
gc |
receives the results from |
cols |
number of columns to show in the plot |
plotting Communities
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## Run the Bipartite Random walk with Restart
Q = biNetwalk(g1,S,S1,normalise="laplace",parallel=FALSE,verbose=T)
## Get the significant vertices which are in columns
Z = sig.net(data=A,g=g1,Amatrix=Q,num.permutation=100,adjp.cutoff=0.01,p.adjust.method="BH",parallel=FALSE)
## Get the graph for plotting commnuties
g <- Z$cgraph
gp <- get.Communities(g)
## Total number of communities
length(gp)
## Plot the communities with 5 columns
plot_Community(gp,cols=5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.