get.community.overlaps {linkcomm} | R Documentation |
Find Node Overlaps between Communities
Description
This function returns lists of communities that share at least one node with each other.
Usage
get.community.overlaps(x)
Arguments
x |
An object of class |
Value
A list of length equal to the number of communities. Each element contains an integer vector giving the community IDs for communities sharing at least one node with each community. NAs indicate that a community shares no nodes with any other communities.
Author(s)
Alex T. Kalinka alex.t.kalinka@gmail.com
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.
Examples
## Generate graph and extract link communities.
g <- swiss[,3:4]
lc <- getLinkCommunities(g)
## Get list of overlapping communities.
ov <- get.community.overlaps(lc)
[Package linkcomm version 1.0-14 Index]