diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
| commit | 52e4f6d9b92242d241be85a91699d8565e4a746a (patch) | |
| tree | c32fd7c5ec3928dfaf1c0448c9c555472ea9de4b /src | |
| parent | 78712cc90cf84c553751f9ef5969dddc5960a195 (diff) | |
| download | genenetwork4-52e4f6d9b92242d241be85a91699d8565e4a746a.tar.gz | |
rqtl: the note says what the riself conversion did to the genotypes
The conversion drops every heterozygous call and treats X as an autosome -- the
status log counts them ("Omitting 230532 genotypes with code==2"), the reply said
nothing. GEMMA keeps a heterozygote at 0.5, so a caller comparing the two
engines was comparing two different models without being told.
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/rqtl.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/routes/rqtl.rs b/src/routes/rqtl.rs index c02adbe..84c43e2 100644 --- a/src/routes/rqtl.rs +++ b/src/routes/rqtl.rs @@ -551,6 +551,16 @@ pub async fn compute_rqtl( .with_note(&format!("Trait: {}", request.trait_name)) .with_note( "markers come from R/qtl's scanone output, positional (see meta.columns for names); permutation is null unless nperm > 0 was requested.", + ) + // The conversion is not silent in the status log, but it was + // silent here: every heterozygous call is dropped and X becomes an + // autosome, while GEMMA keeps a heterozygote as 0.5. A caller + // comparing the two engines has to know that. + .with_note( + "R/qtl reads this panel as a riself cross: heterozygous calls are dropped (the \ + run log counts them) and X is treated as an autosome. GEMMA models the same \ + panel with heterozygotes at 0.5, so the two are different models, not two \ + implementations of one.", ); for note in ¬es { envelope = envelope.with_note(note); |
