diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-21 21:14:01 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-21 21:14:01 +0000 |
| commit | 098bc6fcc8da84a3598e301c6527d2907df5252e (patch) | |
| tree | fb09fdb5e3bc1fe6df26e229ea7e987c9cfcd8bf /scripts/plot-compare.py | |
| parent | fd5807024b0b5553cbe6e7d6d2bf717d50ef8b05 (diff) | |
| download | genenetwork4-098bc6fcc8da84a3598e301c6527d2907df5252e.tar.gz | |
scripts: project a panel whose markers are each biallelic onto their own pair
HET3-ITP.12's codes are not one alphabet: 486 markers carry exactly {5,6},
395 carry {7,8}, one carries {2,3}. Each marker is biallelic with its own
code pair, which is why a single global table is constant on that panel
(measured: 881 of 893 markers with zero variance) and why `--pairwise` exists:
per marker, its two present codes become 0 and 1, and a marker with one or
more than two classes is left missing rather than folded.
`--pairwise` produces a real pair -- 2,603,603 of 5,761,710 calls, dosages
0 and 1 at 50/50 -- and pangemma ran HET3-ITP trait 10000 on it: HTTP 200 in
2678 s (44.6 min; 6447 mice, so the LOCO eigen decomposition per chromosome
dominates). The *result* is not usable yet, and the numbers say why: only 36
of 893 markers came back with association rows, and `af` reads 0.25, i.e.
GEMMA divided a mean-of-0.5 by two -- the coding is on the wrong scale for its
mean-genotype convention (0, 0.5, 1), and most markers then fall out.
So: the panel's structure is now understood and the tool can express it; what
remains is the dosage scale (0/0.5/1 rather than 0/1) and finding why 857
markers produce no rows. Data restored to the shipped stub meanwhile -- a
45-minute run that returns 36 markers should not be what the deployment serves.
R/qtl stays the engine for this panel (it models the 4-way genotypes
directly); the point of the exercise is that GEMMA's refusal was diagnosable,
not mysterious.
Diffstat (limited to 'scripts/plot-compare.py')
0 files changed, 0 insertions, 0 deletions
