about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-11 14:12:32 +0000
committerPjotr <wrk@bosa.lan>2026-11-11 14:12:32 +0000
commit492e0c5e8988fda87d361cef4f29639c5f0d0b72 (patch)
tree162c7e56c37eb69d1c06fe3fa6c76ee778c3d391 /docs
parent83b30cabe99757f44a80988027594871540b8f50 (diff)
downloadgenenetwork4-492e0c5e8988fda87d361cef4f29639c5f0d0b72.tar.gz
docs: say that /plot/gemma draws no line unless one is asked for
The OpenAPI description still promised "a Bonferroni reference line by
default", and GEMMA's own suggested plot call said the same. Both now say
what the code does, and where the number comes from: the plotter computes
0.05 over the analysed markers -- conservative under linkage and unrelated
to relatedness -- and ?thresholds= takes one computed elsewhere, each line
labelled with its source.

Also corrected in the README's /plot section and in SKILL.md, where the
same promise had been copied.
Diffstat (limited to 'docs')
-rw-r--r--docs/www/SKILL.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/www/SKILL.md b/docs/www/SKILL.md
index 880b569..c9abd07 100644
--- a/docs/www/SKILL.md
+++ b/docs/www/SKILL.md
@@ -122,7 +122,7 @@ curl -s -H "$AUTH" --get --data-urlencode locus=<peak marker> --data window=1000
 ```
 
 Give the user the SVGs (they render directly) and quote the `x-plot-summary`
-header (peak and, for GEMMA, the Bonferroni line).
+header (peak, and the reference lines drawn when you asked for them).
 
 ## 3. GeneNetwork functionality, in detail
 
@@ -133,7 +133,8 @@ header (peak and, for GEMMA, the Bonferroni line).
 * `/compute/gemma`: GEMMA LMM with leave-one-chromosome-out kinship. Columns
   `chr, rs, ps, n_miss, allele1, allele0, af, beta, se, l_mle, additive, p_lrt`.
   Pass `?id=` and poll `/compute/gemma/status/{id}` for long runs. Per-marker
-  p-values only; the plot draws a Bonferroni line.
+  p-values only; the plot draws no reference line unless asked —
+  `?bonferroni=true` for GEMMA's own, `?thresholds=` for another engine's.
   **Effect size is in the row, next to the score**: `beta` (GEMMA's effect per
   maternal-allele copy) with `se`, and `additive` = `−beta/2`, which is the
   number GeneNetwork's own tables and CSV show. Quote `additive` with its sign