tikhonov
Pure-Rust implementation of the Harmony2 single-cell integration algorithm (Patikas et al. 2026), targeting numerical parity with harmony-R 1.2.4.
Quickstart
use array;
use ;
// Z: d x n PC embedding (d PCs, n cells). labels: n x n_cov batch codes (u32).
let z = array!;
let labels = array!;
let config = new.with_nclust.with_max_iter;
let out = run_harmony?;
println!;
Numerical parity
- Tier 1 (CI):
1e-6max relative error vs harmony-R 1.2.4 on three synthetic fixtures. - Tier 2 (nightly):
1e-3max relative error + cluster majority ≥ 99% on Tirosh 2016 oligodendroglioma. - See the project README for Tier 3 (Patikas tahoe scale) results.
License
Apache-2.0.