Bioc2026 Registration Open!

BiocNeighbors

Nearest Neighbor Detection for Bioconductor Packages

Bioconductor version: 3.23 · Package version: 2.6.0

Implements exact and approximate methods for nearest neighbor detection, in a framework that allows them to be easily switched within Bioconductor packages or workflows. Exact searches can be performed using the k-means for k-nearest neighbors algorithm, vantage point trees, or an exhaustive search. Approximate searches can be performed using the Annoy or HNSW libraries. Each search can be performed with a variety of different distance metrics, parallelization, and variable numbers of neighbors. Range-based searches (to find all neighbors within a certain distance) are also supported.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("BiocNeighbors")

Details

MaintainerAaron Lun <infinite.monkeys.with.keyboards@gmail.com>
AuthorAaron Lun [aut, cre, cph]
LicenseGPL-3
System RequirementsC++17
Downloads rank14543
Source branchRELEASE_3_23
biocViewsClassification, Clustering, Software

Documentation

Download

Dependencies

Imports: Rcpp, methods

LinkingTo: Rcpp, assorthead, beachmat

Suggests: Matrix, DelayedArray, beachmat, BiocParallel, testthat, BiocStyle, knitr, rmarkdown

Reverse dependencies

Imports Me (24): batchelor, bluster, CellMixS, clustSIGNAL, concordexR, cydar, GeDi, imcRtools, jvecfor, lemur, miloR, mumosa, poem, scater, scDblFinder, scider, scMerge, scrapper, smoothclust, SpatialFeatureExperiment, SpotSweeper, StabMap, SVP, UCell

Suggests Me (4): ClassifyR, scLANE, TrajectoryUtils, TSCAN

Links To Me (1): scrapper