diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-11 17:04:58 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-11 17:04:58 +0000 |
| commit | 3a42b5ffae50093a04fbfd62ec463883b9e3f3b5 (patch) | |
| tree | 1b5628e617949315ff847d068162d33d475ee243 /docs | |
| parent | 0751e56b5f56bca61b3599c0a96cfc5f0fd30f32 (diff) | |
| download | genenetwork4-3a42b5ffae50093a04fbfd62ec463883b9e3f3b5.tar.gz | |
gemma: the pve note carries every chromosome, and the log carries the numbers
The note reported the range and named the two chromosomes that bounded it,
which is not enough to answer the question the numbers exist for. Under
--loco each pve belongs to a *different* kinship matrix, and GEMMA's
per-chromosome .log.txt files live on the server -- so a caller told "0.31
to 0.95" could not ask which chromosome was which, or compare a single
chromosome against BulkLMM.
The note now lists all twenty, compactly, with the range and the two
extremes keeping their vg/ve:
GEMMA -pve, null model, per chromosome (LOCO): chr1 0.6674±0.3451,
chr2 0.8426±0.3668, ..., chrX 0.8563±0.3525. That is pve 0.3118 to
0.9549 over 20 chromosomes; lowest chr8 pve 0.3118 ± 0.5009 (vg
23.3659, ve 12.3389), highest chr7 pve 0.9549 ± 0.3570 (vg 76.0933,
ve 0.8661).
and streaming::append_lines puts the unrounded values in the run log as
variance: chr7 pve=0.954938 se_pve=0.357032 vg=76.0933 ve=0.86612
so a ?id= run's /compute/gemma/status stream carries them while the run is
still in flight, rather than only in a reply someone has to keep. Both
measured on BXD::10001 through the dev server before committing.
The values are printed with four significant figures (scientific when the
magnitude needs it), unchanged: rounding variance components to four
decimals was the earlier bug, and these are the same numbers a reader
compares with BulkLMM's h2.
Docs: README's /compute/gemma section, SKILL's gemma bullet ("quote
per-chromosome values, not an average: they are twenty different kinship
matrices") and docs/bulklmm.md's example.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/bulklmm.md | 14 | ||||
| -rw-r--r-- | docs/www/SKILL.md | 6 |
2 files changed, 14 insertions, 6 deletions
diff --git a/docs/bulklmm.md b/docs/bulklmm.md index fc4266a..b0bd769 100644 --- a/docs/bulklmm.md +++ b/docs/bulklmm.md @@ -116,10 +116,16 @@ are estimating different things, and it is worth knowing which: a multi-megabyte archive), and `/compute/gemma` passes `-pve` on the GWA step and reports the components per chromosome: - > GEMMA -pve, null model, per chromosome (LOCO): pve 0.3118 to 0.9549 over 20 - > chromosomes -- lowest 8 pve 0.3118 ± 0.5009 (vg 23.3659, ve 12.3389), - > highest 7 pve 0.9549 ± 0.3570 (vg 76.0933, ve 0.8661). - + > GEMMA -pve, null model, per chromosome (LOCO): chr1 0.6674±0.3451, + > chr2 0.8426±0.3668, ..., chrX 0.8563±0.3525. That is pve 0.3118 to 0.9549 + > over 20 chromosomes; lowest chr8 pve 0.3118 ± 0.5009 (vg 23.3659, ve + > 12.3389), highest chr7 pve 0.9549 ± 0.3570 (vg 76.0933, ve 0.8661). + + every one of the twenty (only the ends shown here), because under `--loco` + each belongs to a different kinship matrix and a caller told only the range + cannot ask which chromosome is which. The unrounded values also go to the run + log as `variance:` lines, so a `?id=` run's + `/compute/gemma/status` stream carries them while the run is in flight. (BXD::10001, 34 animals, LOCO, `-lmm 9`.) That is the number the 16627/16769 comparison lacked: GEMMA's own `h2`, per chromosome, objective function named. Where the two engines still disagree, the disagreement is now between diff --git a/docs/www/SKILL.md b/docs/www/SKILL.md index d070388..518e233 100644 --- a/docs/www/SKILL.md +++ b/docs/www/SKILL.md @@ -142,8 +142,10 @@ header (peak, and the reference lines drawn when you asked for them). remember it is *this run* on these samples, not the `additive` in trait info, which came from the published mapping. A note also carries GEMMA's own variance component for the null model - (`-pve`): under LOCO there is one per chromosome, so it gives the range and - names the two that bound it, e.g. `pve 0.31 to 0.95 over 20 chromosomes`. + (`-pve`): under LOCO there is one per chromosome, and the note lists **every** + one — `chr1 0.6674±0.3451, chr2 0.8426±0.3668, …` — with the range and the + two extremes (plus their `vg`/`ve`) spelled out. Quote per-chromosome values, + not an average: they are twenty different kinship matrices. `pve` is the share of variance the kinship explains — the same quantity as `/compute/bulklmm`'s `h2`, per chromosome instead of genome-wide — so it is the honest way to check the two engines against each other. It is |
