Tangram#
squidpy’s experimental.tl.impute_tangram reimplements Tangram’s
default mode="cells" mapping in JAX.
Tangram tutorial — the cells-mode part of upstream’s tutorial, which maps mouse cortex scRNA-seq onto a Visium section, written against the public API. Each implementation starts from its own random mapping; on the held-out genes both reach a median score of 0.455, and their per-gene scores correlate at 0.999.
The numerics are gated by
test_tangram_reference.py
in squidpy, which starts the port from upstream’s own initial mapping and compares the trajectory against values
upstream Tangram computed (tangram_reference.zarr.zip).
Upstream Tangram is pinned to
4c68995, and the
squidpy fork to f4c0c9a.