BiocNeighbors
Bioc currentNearest Neighbor Detection for Bioconductor Packages
Release Lineage
Entered 3.8 · Oct 31, 2018
Current · Requires R 4.6
Description
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.
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
87 22 exported
Complexity
1.6 avg / 6 max
Call network
87 nodes / 45 edges
Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
5,820
Files
78
Compiled share
20.5%
Has compiled src
Yes
Language breakdown
API
Exported functions
31
Internal functions
20
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.73
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Roxygen coverage
100%
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
–
System requirements
1
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
16
First release
2018-10-30
Latest release
2026-04-28
Avg cadence
182 days
Cold removal rate
100%
Dep drift
7
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 94%
- References docs
- 10%
Topics
Depended on by (35)
Bioconductor (34)
CRAN (1)
People
- Aaron Lun author maintainer cph
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BiocNeighbors")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.