leidenbase: R and C/C++ Wrappers to Run the Leiden find_partition() Function

An R to C/C++ interface that runs the Leiden community detection algorithm to find a basic partition (). It runs the equivalent of the 'leidenalg' find_partition() function, which is given in the 'leidenalg' distribution file 'leiden/src/functions.py'. This package includes the required source code files from the official 'leidenalg' distribution and functions from the R 'igraph' package. The 'leidenalg' distribution is available from <https://github.com/vtraag/leidenalg/> and the R 'igraph' package is available from <https://igraph.org/r/>. The Leiden algorithm is described in the article by Traag et al. (2019) <doi:10.1038/s41598-019-41695-z>. Leidenbase includes code from the packages: igraph version 0.9.8 with license GPL (>= 2), leidenalg version 0.8.10 with license GPL 3.

Getting started

Package details

AuthorBrent Ewing [aut, cre], Vincent Traag [ctb], Gábor Csárdi [ctb], Tamás Nepusz [ctb], Szabolcs Horvat [ctb], Fabio Zanini [ctb]
MaintainerBrent Ewing <bge@uw.edu>
LicenseGPL-3
Version0.1.35
URL https://github.com/cole-trapnell-lab/leidenbase
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("leidenbase")

Try the leidenbase package in your browser

Any scripts or data that you put into this service are public.

leidenbase documentation built on April 3, 2025, 11:44 p.m.