jvecfor
Bioc currentFast K-Nearest Neighbor Search for Single-Cell Analysis
Release Lineage
Entered 3.23 · Apr 29, 2026
Current · Requires R 4.6
Description
Drop-in replacement for BiocNeighbors::findKNN using the jvecfor Java library, which builds on the jvector library to leverage the Java Vector API for portable SIMD acceleration across AVX2, AVX-512, and ARM NEON hardware. jvecfor/jvector implements HNSW-DiskANN approximate search and VP-tree exact search. The package achieves approximately 2x speedup over Annoy-based search at n >= 50K cells while returning output structurally identical to BiocNeighbors, making it suitable for seamless integration into existing Bioconductor single-cell workflows. Convenience wrappers delegate shared nearest-neighbor (SNN) and k-nearest-neighbor (KNN) graph construction to the bluster package.
None published for Bioconductor
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
25 5 exported
Complexity
3.2 avg / 12 max
Call network
25 nodes / 17 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
3,191
Files
34
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
5
Internal functions
20
Recent export changes
Testing
Has tests
Yes
Test-to-code ratio
1.08
testthat edition
3
Docs
Roxygen coverage
100%
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
33.3%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.5.0
System requirements
1 externalJava (>= 20)
C++ standard
–
License
GPL-3
License flags
SPDX valid, OSI approved
History
Versions
1
First release
2026-09-28
Latest release
2026-09-28
Avg cadence
–
Cold removal rate
–
Dep drift
0
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Help pages
- 7includes a package overview page
- Examples that run
- 100%5 run in a plain check (3 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- jvecfor HTML
- Fix fastFindKNN() returning distances as character on Windows, where Java writes CRLF line endings
From NEWS.md in the release
Repository practices
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/gkanogiannis/jvecfor on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow
Topics
People
- Anestis Gkanogiannis author maintainer
Cite
Cite this package
Run in R for the authors' entry:
citation("jvecfor")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.18856296.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.