Description Usage Arguments Details Value Author(s) References See Also Examples
This function plots various different OCG
graphs.
1 2 |
x |
An object of class |
type |
A character string specifying the type of plot. Can be one of |
... |
Additional arguments to be passed to |
"members"
plots a community membership matrix;
"graph"
plots a graph layout of the network with coloured link communities.
See the OCG
plotting function for details of arguments that can be passed to plot.OCG
: plotOCGraph
, plotLinkCommMembers
.
Plots to the current device.
Alex T. Kalinka alex.t.kalinka@gmail.com
Kalinka, A.T. and Tomancak, P. (2011). linkcomm: an R package for the generation, visualization, and analysis of link communities in networks of arbitrary size and type. Bioinformatics 27, 2011-2012.
plotOCGraph
, plotLinkCommMembers
1 2 3 4 5 6 | ## Generate graph and extract OCG communities.
g <- swiss[,3:4]
oc <- getOCG.clusters(g)
## Plot a graph of OCG clusters.
plot(oc, type = "graph")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.