- Home
- Bioconductor 3.8
- Software Packages
- BiocNeighbors
BiocNeighbors
This package is for version 3.8 of Bioconductor; for the stable, up-to-date release version, see BiocNeighbors.
Nearest Neighbor Detection for Bioconductor Packages
Bioconductor version: 3.8
Implements exact and approximate methods for nearest neighbor detection, in a framework that allows them to be easily switched within Bioconductor packages or workflows. The exact algorithm is implemented using pre-clustering with the k-means algorithm, as described by Wang (2012). This is faster than conventional kd-trees for neighbor searching in higher (> 20) dimensional data. The approximate method uses the Annoy algorithm. Functions are also provided to search for all neighbors within a given distance. Parallelization is achieved for all methods using the BiocParallel framework.
Author: Aaron Lun [aut, cre, cph]
Maintainer: Aaron Lun <infinite.monkeys.with.keyboards at gmail.com>
citation("BiocNeighbors")):
Installation
To install this package, start R (version "3.5") and enter:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
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")
Details
See More
Package Archives
Follow Installation instructions to use this package in your R session.