Initialize network data.
Quality function to be optimized. Either the CPM (constant Potts model) or the modularity quality function can be used.
Method for normalizing edge weights in the CPM quality function.
Resolution parameter of the quality function.
Minimum number of nodes per cluster.
Algorithm for optimizing the quality function. Either the Leiden or the Louvain algorithm can be used.
Number of random starts of the algorithm.
Number of random starts of the algorithm.
Randomness parameter of the Leiden algorithm.
Seed of the random number generator.
Identify clusters (also known as communities) in a network using either the Leiden or the Louvain algorithm.
Generated using TypeDoc
Class for running the Leiden and Louvain algorithms for network clustering.