nodes: A character vector containing the nodes for the community membership matrix. Defaults to the 20 (or less) nodes that belong to the most communities.
Returns
A binary matrix with nodes as rows and communities as columns.
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.