plot_Community: plot_Community

Description Usage Arguments Details Examples

Description

This uses an object of getCommuntiy class and extracts parameters to plot current communities.

Usage

1
plot_Community(gc, cols = 3)

Arguments

gc

receives the results from get.Communities

cols

number of columns to show in the plot

Details

plotting Communities

Examples

 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)

abhik1368/netpredictor documentation built on May 10, 2019, 4:09 a.m.