CMD + K

r-leidenalg

Community

An R interface to the Leiden algorithm, an iterative community detection algorithm on networks. The algorithm is designed to converge to a partition in which all subsets of all communities are locally optimally assigned, yielding communities guaranteed to be connected. The implementation proves to be fast, scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The original implementation was constructed as a python interface "leidenalg" found here: <https://github.com/vtraag/leidenalg>. The algorithm was originally described in Traag, V.A., Waltman, L. & van Eck, N.J. "From Louvain to Leiden: guaranteeing well-connected communities". Sci Rep 9, 5233 (2019) <doi:10.1038/s41598-019-41695-z>.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-leidenalg

Usage Tracking

1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
5 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

An R interface to the Leiden algorithm, an iterative community detection algorithm on networks. The algorithm is designed to converge to a partition in which all subsets of all communities are locally optimally assigned, yielding communities guaranteed to be connected. The implementation proves to be fast, scales well, and can be run on graphs of millions of nodes (as long as they can fit in memory). The original implementation was constructed as a python interface "leidenalg" found here: <https://github.com/vtraag/leidenalg>. The algorithm was originally described in Traag, V.A., Waltman, L. & van Eck, N.J. "From Louvain to Leiden: guaranteeing well-connected communities". Sci Rep 9, 5233 (2019) <doi:10.1038/s41598-019-41695-z>.

Last Updated

Apr 20, 2025 at 05:09

License

GPL-3.0-or-later

Total Downloads

78.5K

Version Downloads

3.8K

Supported Platforms

win-64
macOS-64
macOS-arm64
linux-64
linux-ppc64le
linux-aarch64