about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/www/SKILL.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/www/SKILL.md b/docs/www/SKILL.md
index 73c50bb..c1e4dd6 100644
--- a/docs/www/SKILL.md
+++ b/docs/www/SKILL.md
@@ -171,6 +171,13 @@ header (peak and, for GEMMA, the Bonferroni line).
   depend on relatedness, or when the panel is multiparent; it is slower than
   `/compute/rqtl` (a DO cross costs minutes of genotype probabilities, cached
   per panel). Autosomes only, and `notes` says what was left out.
+* **Genotypes at a peak** (the only genotypes the API returns):
+  `GET /groups/{g}/traits/{id}/peak-genotypes?marker=<marker>` re-runs the
+  scan, confirms the marker is at the peak (within `?window=` Mb, LOD ≥
+  `?min_lod=`) and returns one call per animal **that has a value** —
+  `422 not_the_peak` / `not_a_hit` otherwise. Plot it by posting that reply's
+  `genotypes` with the trait's values to `POST /plot/genotypes` (R/qtl book
+  Fig 4.1: genotype class across, value up).
 * `.../markers/{marker}/classes?trait=<id>` summarises a trait's values per
   genotype class (`n`, `mean`, `sd`, `min`, `max`) at one marker — how you
   see that a peak rests on two animals, or that a marker is nearly