genlouvain: Generalized Louvain optimization

Description Usage Arguments Value Examples

View source: R/ALPACAFunctions.R

Description

This function implements the Louvain optimization scheme on a general symmetric matrix. First, nodes are all placed in separate communities, and merged iteratively according to which merge moves result in the greatest increase in the modularity sum. Note that nodes are iterated in the order of the input matrix (not randomly) so that all results are reproducible. Second, the final community membership is used to form a metanetwork whose nodes represent communities from the prevous step, and which are connected by effective edge weights. The merging process is then repeated on the metanetwork. These two steps are repeated until the modularity sum does not increase more than a very small tolerance factor. New

Usage

1

Arguments

B

Symmetric modularity matrix

Value

The community membership vector

Examples

1

meghapadi/ALPACA documentation built on Oct. 20, 2017, 6:40 a.m.