Skip to content

v0.2.0

Choose a tag to compare

@timtreis timtreis released this 13 Nov 20:20
· 25 commits to main since this release
283a7e5

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=True computes 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_model warns 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.