To cite the leiden package in publications use:

Kelly ST (2020). leiden: R implementation of the Leiden algorithm. R package version 0.3.6, https://github.com/TomKellyGenetics/leiden.

Please also acknowledge the original publication: Traag, V.A., Waltman. L., Van Eck, N.-J. (2019). From Louvain to Leiden: guaranteeing well-connected communities. Sci Rep 9, 5233 <https://doi.org/10.1038/s41598-019-41695-z>

Corresponding BibTeX entry:

  @Manual{,
    title = {leiden: R implementation of the Leiden algorithm},
    author = {S. Thomas Kelly},
    year = {2020},
    note = {R package version 0.3.6},
    url = {https://github.com/TomKellyGenetics/leiden},
  }