To cite the leiden package in publications use:

S. Thomas Kelly (2019). leiden: R implementation of the Leiden algorithm. R package version 0.3.1 https://github.com/TomKellyGenetics/leiden

Please also acknowledge the original publication: Traag, V.A., Waltman. L., Van Eck, N.-J. (2018). From Louvain to Leiden: guaranteeing well-connected communities. `arXiv:1810.08473 <https://arxiv.org/abs/1810.08473>`

Corresponding BibTeX entry:

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