BIDistances: Bioinformatic Distances

Provides a unified interface for computing, comparing, and examining distances, dissimilarities, divergences, and selected similarities for bioinformatics data. The core installation exposes 60 canonical named routes for numerical data and more than 90 when the suggested 'philentropy' backend is installed; aliases, user-defined functions, and mixed-data combinations are not included in these counts. Weighted Minkowski distances can be computed through 'parallelDist', an internal multicore implementation, or optional 'OpenCL' kernels, while the established weighted Euclidean GPU implementation is retained as the optimized p = 2 route. The package also supports theory-guided comparison of distance distributions for clustering, explicit mathematical property classifications, mixed-data constructions through 'manydist', and a specialized Gene Ontology-derived TF-IDF distance.

Version: 1.0.0
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 1.0.8), RcppParallel (≥ 5.1.1), parallelDist, parallel, DataVisualizations, diptest, e1071, pracma, ggplot2
LinkingTo: Rcpp, RcppParallel (≥ 5.1.1)
Suggests: knitr, rmarkdown, OpenCL, transport, ineq, ScatterDensity, memshare, philentropy (≥ 0.10.0), dtw, proxy, manydist (≥ 0.5.0), testthat (≥ 3.0.0)
Published: 2026-08-19
DOI: 10.32614/CRAN.package.BIDistances
Author: Quirin Stier ORCID iD [aut, rev, ctb], Michael Thrun ORCID iD [aut, cre], Luca Brinkmann [ctb]
Maintainer: Michael Thrun <m.thrun at gmx.net>
BugReports: https://github.com/Mthrun/BIDistances/issues
License: GPL-3
NeedsCompilation: yes
SystemRequirements: GNU make, OpenCL library (optional, for GPU acceleration), pandoc (>=1.12.3, needed for vignettes)
Citation: BIDistances citation info
Materials: README
CRAN checks: BIDistances results

Documentation:

Reference manual: BIDistances.html , BIDistances.pdf
Vignettes: BIDistances: From distance computation to theory-guided selection (source, R code)

Downloads:

Package source: BIDistances_1.0.0.tar.gz
Windows binaries: r-devel: BIDistances_0.1.5.zip, r-release: BIDistances_0.1.5.zip, r-oldrel: BIDistances_0.1.5.zip
macOS binaries: r-release (arm64): BIDistances_1.0.0.tgz, r-oldrel (arm64): BIDistances_0.1.5.tgz, r-release (x86_64): BIDistances_1.0.0.tgz, r-oldrel (x86_64): BIDistances_1.0.0.tgz
Old sources: BIDistances archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BIDistances to link to this page.