about summary refs log tree commit diff
path: root/test/python/test_dev_token.py
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-11 13:46:24 +0000
committerPjotr <wrk@bosa.lan>2026-11-11 13:46:24 +0000
commit9cb59caa1f13ee44ed6fcf7bc6526a87311e8e9f (patch)
treec33a6fe1a61ee76dcb688abab2c19a1df6832963 /test/python/test_dev_token.py
parent25f376a8d9e7b5511e0799fd3b09898bb682a202 (diff)
downloadgenenetwork4-9cb59caa1f13ee44ed6fcf7bc6526a87311e8e9f.tar.gz
plot/gemma: draw thresholds computed elsewhere, labelled with their source
GEMMA has no permutation test here, so its plot carries a Bonferroni line.
A threshold from /compute/bulklmm belongs to a different null and must not
look like GEMMA's, so it is passed in and named:

  POST /plot/gemma?thresholds=3.50,3.65
                   &threshold_labels=bulklmm%20alpha%200.10,bulklmm%20alpha%200.05

Each is drawn dashed in the series colour with "label: value" beside the
line, with GEMMA's Bonferroni line still there, and the plotter's
x-plot-summary names the reference lines it drew. A threshold that is not
a positive number is a 422 invalid_threshold rather than a silent omission.

/compute/bulklmm's reply offers that href already, with its alpha 0.05
threshold filled in -- so "same values, two models, one picture" is one
link from the scan, and the labels keep the two nulls apart.

tests/plot.rs: the plain plot has no bulklmm line; with thresholds both
are drawn and labelled; a non-numeric threshold is refused.
Diffstat (limited to 'test/python/test_dev_token.py')
0 files changed, 0 insertions, 0 deletions