| getAllNestedComm {linkcomm} | R Documentation |
This function returns communities of nodes that are entirely nested within other larger communities of nodes.
getAllNestedComm(x, verbose = FALSE, plot = FALSE)
x |
An object of class |
verbose |
Logical, whether to print to the screen a warning that individual community IDs are not clustered in any other communities. Defaults to FALSE. |
plot |
Logical, whether to plot graphs of the nested communities. Defaults to FALSE. |
Nested community structures may reveal interesting relationships among sets of nodes.
A named list of integer vectors; names are integers referring to nested communities, and the integer vectors are the communities that the named community is nested in.
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.
## Generate graph and extract link communities. g <- swiss[,3:4] lc <- getLinkCommunities(g) ## Find nested communities. getAllNestedComm(lc)