To cite package ‘BiocNeighbors’ in publications use:

Lun A (2026). BiocNeighbors: Nearest Neighbor Detection for Bioconductor Packages. R package version 2.7.2, https://bioconductor.org/packages/BiocNeighbors.

Corresponding BibTeX entry:

  @Manual{,
    title = {BiocNeighbors: Nearest Neighbor Detection for Bioconductor
      Packages},
    author = {Aaron Lun},
    year = {2026},
    note = {R package version 2.7.2},
    url = {https://bioconductor.org/packages/BiocNeighbors},
  }