Repository navigation
v0.2.0
The condition tests now use only the part of the anchor range where the cells are, and data with slides gets an optional two-stage test. Together they fix false positives in per-cell-type analyses with replicates (#16).
- Level, slope, shape and Wald tests are computed over the central 96% of the cells, limited to where both conditions have cells. On SEA-AD MERFISH random donor splits, per-cell-type fits with a false hit drop from 32% to 8%.
two_stage=Truecomputes the test from one curve per slide (t-test for level and slope, Hotelling's T^2 for shape). It stays calibrated when the cells cover only part of the anchor range: 0.9% of random-split fits with a hit.fit_modelwarns and points to it in that case.- The joint model stays the default. On human liver fibrosis (7 donors) it is calibrated on random splits and ranks the hepatocyte zonation genes at the top.