The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
A robust implementation of Topolow algorithm. It embeds objects into a low-dimensional Euclidean space from a matrix of pairwise dissimilarities, even when the data do not satisfy metric or Euclidean axioms. The package is particularly well-suited for sparse, incomplete, and censored (thresholded) datasets such as antigenic relationships. The core is a physics-inspired, gradient-free optimization framework that models objects as particles in a physical system, where observed dissimilarities define spring rest lengths and unobserved pairs exert repulsive forces. The package also provides functions specific to antigenic mapping to transform cross-reactivity and binding affinity measurements into accurate spatial representations in a phenotype space. Key features include: * Robust Embedding from Sparse Data: Effectively creates complete and consistent maps (in optimal dimensions) even with high proportions of missing data (e.g., >95%). * Physics-Inspired Optimization: Models objects (e.g., antigens, landmarks) as particles connected by springs (for measured dissimilarities) and subject to repulsive forces (for missing dissimilarities), and simulates the physical system using laws of mechanics, reducing the need for complex gradient computations. * Automatic Dimensionality Detection: Employs a likelihood-based approach to determine the optimal number of dimensions for the embedding/map, avoiding distortions common in methods with fixed low dimensions. * Noise and Bias Reduction: Naturally mitigates experimental noise and bias through its network-based, error-dampening mechanism. * Antigenic Velocity Calculation (for antigenic data): Introduces and quantifies "antigenic velocity," a vector that describes the rate and direction of antigenic drift for each pathogen isolate. This can help identify cluster transitions and potential lineage replacements. * Broad Applicability: Analyzes data from various objects that their dissimilarity may be of interest, ranging from complex biological measurements such as continuous and relational phenotypes, antibody-antigen interactions, and protein folding to abstract concepts, such as customer perception of different brands. Methods are described in the context of bioinformatics applications in Arhami and Rohani (2025a) <doi:10.1093/bioinformatics/btaf372>, and mathematical proofs and Euclidean embedding details are in Arhami and Rohani (2025b) <doi:10.48550/arXiv.2508.01733>.
Version: | 2.0.0 |
Depends: | R (≥ 4.1.0) |
Imports: | future, lifecycle, ggplot2 (≥ 3.4.0), dplyr (≥ 1.1.0), data.table (≥ 1.14.0), reshape2 (≥ 1.4.4), stats, utils, parallel (≥ 4.1.0), filelock, lhs, rlang |
Suggests: | coda (≥ 0.19-4), Rtsne, ape, Racmacs (≥ 1.1.2), vegan, umap, igraph, rgl (≥ 1.0.0), scales, ggrepel, plotly (≥ 4.10.0), gridExtra, covr, knitr, rmarkdown, testthat (≥ 3.0.0) |
Published: | 2025-08-19 |
DOI: | 10.32614/CRAN.package.topolow |
Author: | Omid Arhami |
Maintainer: | Omid Arhami <omid.arhami at uga.edu> |
BugReports: | https://github.com/omid-arhami/topolow/issues |
License: | BSD_3_clause + file LICENSE |
URL: | https://github.com/omid-arhami/topolow |
NeedsCompilation: | no |
Materials: | README, NEWS |
CRAN checks: | topolow results |
Reference manual: | topolow.html , topolow.pdf |
Vignettes: |
Comparative Analysis of Embedding Methods for Non-Euclidean Dissimilarity Data (source) |
Package source: | topolow_2.0.0.tar.gz |
Windows binaries: | r-devel: topolow_2.0.0.zip, r-release: topolow_2.0.0.zip, r-oldrel: topolow_1.0.0.zip |
macOS binaries: | r-release (arm64): topolow_2.0.0.tgz, r-oldrel (arm64): topolow_1.0.0.tgz, r-release (x86_64): topolow_2.0.0.tgz, r-oldrel (x86_64): topolow_2.0.0.tgz |
Old sources: | topolow archive |
Please use the canonical form https://CRAN.R-project.org/package=topolow to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.