Bioinformatic Distances
Overview
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.
Install
Health
- OK13 OK2026-08-22
- WARNING12 OK, 1 WARNING2026-08-21
- ERROR10 OK, 2 WARNING, 1 ERROR2026-08-20
- WARNING6 OK, 2 NOTE, 5 WARNING2026-08-05
- NOTE12 OK, 1 NOTE2026-07-11
Show 4 earlier changesHide 4 earlier changes
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 39 (1 internal)
- Examples that run
- 86%32 run in a plain check (2 of them under a condition) · 3 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 46%
Downloads
Repository
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/mthrun/bidistances on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Code & Tests
Datasets
People & History
Previously maintained by Quirin Stier (0.0.2 to 0.1.3).
Pick two releases to compare their code metrics.
- 1.0.1Latest
- 1.0.02026-08-19 · diff ↗ ·
removed 17 exports
CosinusDistance, Dist2All, EuclideanDistances_GPU, fastPdist, FractionalDistance, GiniDist, Hellinger4ConditionalPDF, jaccard, knneighborDistances, Mahalanobis, msmd, nearest, pdistToroid, SharedNeighborDistance, ToroidDist2All, twed, WassersteinDistadded 31 exports
Cosine_Distance, DistanceOneToAll, DistanceDistributionAnalysis, DistanceProperties, DTW_Distance, endresSchindelin_TwoSamplePDF, endresSchindelin_Distribution, EndresSchindelin_Distance, EuclideanGPU_Distance, EuclideanMulticore_Distance, Fractional_Distance, Gini_Distance, Hellinger_Distance, IntraClusterBoundaryCounts, Jaccard_Distance, KNearestNeighborsFromDistance, Mahalanobis_Distance, MSMD_Distance, Minkowski_Distance, NearestNeighborIndex, ToroidalEuclidean_Distance, SharedNeighbor_Distance, Tfidf_Distance, ToroidalEuclideanDistanceOneToAll, TWED_Distance, Wasserstein_Distance, fast_dip_stat, fast_dip_test, fast_dip_test_matrix, dip.test.fast and 1 more - 0.1.52026-08-04 · diff ↗ ·
added 6 exports
calculateMemoryDemandGPU, EuclideanDistances_GPU, Hellinger4ConditionalPDF, knneighborDistances, Kullback_Leibler_div, pdistToroid - RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2025-05-11
- 0.1.32025-05-11 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 18 exports
CosinusDistance, Dist2All, DistanceDistributions, DistanceMatrix, fastPdist, FractionalDistance, GiniDist, jaccard, Mahalanobis, msmd, nearest, SharedNeighborDistance, Tfidf_dist, ToroidDist2All, TransformSimilarity2MetricDistance, twed, VariablePrecision, WassersteinDist - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2023-06-01issues were not corrected in time OpenCL on macOS, also Fedora 34
- 0.0.22023-05-18
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-05-18
- Total releases
- 5 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 14 KB / 2 files
- Download size
- 154 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("BIDistances")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1142/s1469026821500164, 10.15388/23-infor517.
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.