getAllNestedComm function

Find Nested Communities

Find Nested Communities

This function returns communities of nodes that are entirely nested within other larger communities of nodes.

getAllNestedComm(x, verbose = FALSE, plot = FALSE)

Arguments

  • x: An object of class linkcomm.
  • 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.

Details

Nested community structures may reveal interesting relationships among sets of nodes.

Returns

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.

References

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.

Author(s)

Alex T. Kalinka alex.t.kalinka@gmail.com

See Also

getNestedHierarchies

Examples

## Generate graph and extract link communities. g <- swiss[,3:4] lc <- getLinkCommunities(g) ## Find nested communities. getAllNestedComm(lc)
  • Maintainer: Alex T. Kalinka
  • License: GPL (>= 2)
  • Last published: 2021-02-04