Skip to content

jvecfor

Bioc current

Fast K-Nearest Neighbor Search for Single-Cell Analysis

v1.0.3 · Package record · software · GPL-3

Release Lineage

Entered 3.23 · Apr 29, 2026

Current · Requires R 4.6

1.0 In 1 of 49 releases 3.23

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.

Advisories

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.

Loading 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

R 957 (30%)Tests 1,033 (32.4%)Docs 531 (16.6%)Vignettes 670 (21%)

API

Exported functions

5

Internal functions

20

Recent export changes

v3.23+5 JvecforParam, fastFindKNN, fastMakeKNNGraph +2 more

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

In the Bioconductor 3.23 release
READMEYes · 852 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 1.0.3Citation fileYes · software entry only
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%
Vignettes (1)
Changes in 1.0.3 (Bioconductor 3.23)
  • Fix fastFindKNN() returning distances as character on Windows, where Java writes CRLF line endings

From NEWS.md in the release

Repository practices

Upstream repositoryBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Topics

Available on

CRANr2uBioconductorautoCRANCOPR

People

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for jvecfor version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy