Bioconductor Developer Survey 2026 Now Open!

jvecfor

This is the released version of jvecfor; for the devel version, see jvecfor.

All versions 3.24 (devel), 3.23 (release)

Fast K-Nearest Neighbor Search for Single-Cell Analysis


Bioconductor version: Release (3.23)

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.

Author: Anestis Gkanogiannis [aut, cre] ORCID iD ORCID: 0000-0002-6441-0688

Maintainer: Anestis Gkanogiannis <anestis at gkanogiannis.com>

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

Anestis Gkanogiannis. jvecfor: Fast K-Nearest Neighbor Search for Single-Cell Analysis. doi:10.18129/B9.bioc.jvecfor, R package version 1.0.3, https://bioconductor.org/packages/jvecfor.

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")

BiocManager::install("jvecfor")

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("jvecfor")
jvecfor HTML R Script
Reference ManualPDF
NEWSText

Details

biocViews Classification, Clustering, GraphAndNetwork, SingleCell, Software
Version1.0.3
In Bioconductor sinceBioC 3.23 (R-4.6) (< 6 months)
License GPL-3
Depends R (>= 4.5.0)
Imports BiocNeighbors, BiocParallel, Matrix, bluster, data.table, methods, processx
System RequirementsJava (>= 20)
URLhttps://github.com/gkanogiannis/jvecfor
Bug Reportshttps://github.com/gkanogiannis/jvecfor/issues
See More
Suggests BiocStyle, igraph, knitr, rmarkdown, testthat (>= 3.0.0)
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report, r-universe

Package Archives

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

Source Package jvecfor_1.0.3.tar.gz
Windows Binary (x86_64) jvecfor_1.0.3.zip
macOS Binary (big-sur-x86_64) jvecfor_1.0.3.tgz
macOS Binary (sonoma-arm64) jvecfor_1.0.3.tgz
Source Repositorygit clone https://git.bioconductor.org/packages/jvecfor
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/jvecfor
Package Short Url https://bioconductor.org/packages/jvecfor/
Package Downloads ReportDownload Stats
Old Source Packages for BioC 3.23Source Archive