Bioconductor Developer Survey 2026 Now Open!

BiocNeighbors

This is the development version of BiocNeighbors; for the stable release version, see BiocNeighbors.

All versions 3.24 (devel), 3.23 (release), 3.22, 3.21, 3.20, 3.19, 3.18, 3.17, 3.16, 3.15, 3.14, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8

Nearest Neighbor Detection for Bioconductor Packages


Bioconductor version: Development (3.24)

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.

Author: Aaron Lun [aut, cre, cph]

Maintainer: Aaron Lun <infinite.monkeys.with.keyboards at gmail.com>

Citation (from within R, enter citation("BiocNeighbors")):

Aaron Lun. BiocNeighbors: Nearest Neighbor Detection for Bioconductor Packages. doi:10.18129/B9.bioc.BiocNeighbors, R package version 2.7.3, https://bioconductor.org/packages/BiocNeighbors.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

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

## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")

BiocManager::install("BiocNeighbors")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("BiocNeighbors")
Finding neighbors in high-dimensional space HTML R Script
Reference ManualPDF
NEWSText

Details

biocViews Classification, Clustering, Software
Version2.7.3
In Bioconductor sinceBioC 3.8 (R-3.5) (8 years)
License GPL-3
Depends
Imports Rcpp, methods
System RequirementsC++17
URLhttps://github.com/knncolle/BiocNeighbors
Bug Reportshttps://github.com/knncolle/BiocNeighbors/issues
See More
Suggests Matrix, DelayedArray, beachmat, BiocParallel, testthat, BiocStyle, S4Vectors, knitr, rmarkdown
Linking To Rcpp, assorthead, beachmat
Enhances
Depends On Me OSCA.advanced, OSCA.workflows, SingleRBook
Imports Me batchelor, betterChromVAR, 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 ClassifyR, scLANE, thisutils, TrajectoryUtils, TSCAN
Links To Me scrapper
Build Report Build Report, r-universe

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package BiocNeighbors_2.7.3.tar.gz
Windows Binary (x86_64) BiocNeighbors_2.7.3.zip (64-bit only)
macOS Binary (big-sur-x86_64) BiocNeighbors_2.7.3.tgz
macOS Binary (sonoma-arm64) BiocNeighbors_2.7.3.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/BiocNeighbors
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/BiocNeighbors
Package Short Url https://bioconductor.org/packages/BiocNeighbors/
Package Downloads ReportDownload Stats