plotCommunityDetection {pandaR} | R Documentation |
This function performs community detection on an undirected PANDA network. The function optionally returns the graph and community.
plotCommunityDetection(x, scaleEdge = 5, verbose = TRUE, ...)
x |
Toy PANDA output represented as a TF, Gene, and Score. |
scaleEdge |
Visualization parameter for the edges. |
verbose |
TRUE/FALSE - Report community structure. |
... |
Options for the plot function. |
Optionally return a list with the graph and community.
# start with some toy PANDA output mat <- cbind(rep(1:5, each=10), rep(seq(11,20),5), sample(100, 50)/100) x =plotCommunityDetection(mat) str(x) #example of very different edges set.seed(1) subst <- sample(50,10) mat[subst, 3] <- subst plotCommunityDetection(mat,scaleEdge=0.5)