about summary refs log tree commit diff
path: root/scripts/plot-compare.py
diff options
context:
space:
mode:
authorPjotr Prins <pjotr.public01@thebird.nl>2026-11-20 14:53:57 +0000
committerPjotr Prins <pjotr.public01@thebird.nl>2026-11-20 14:53:57 +0000
commitf681a06b58879968e7b385e22d6c0560fa0588ba (patch)
treed07bc9f9cc84a281fd2bb6e894e5774364ab9957 /scripts/plot-compare.py
parent7863db3ff8b124c43211572987359e2d69d0951f (diff)
downloadgenenetwork4-f681a06b58879968e7b385e22d6c0560fa0588ba.tar.gz
docs: pangemma's store does hold gaps, so `impute` is optional for both engines
Two places still said pangemma "cannot represent a gap at all" and that its
store builder refuses impute=none -- written against an older pangemma.  The
store keeps them (NaN for Gf, 255 for Gb) and pangemma mean-substitutes per
marker as GEMMA does: measured, impute=none through the pangemma engine
answers 21,055 rows with `af` identical to GEMMA's on the same panel.

What `impute` does change is which markers and individuals map, and it does so
before the store is built, so each mode has its own store (they are different
genotype files).  Measured warm on BXD.8 trait 10001:

  none  21,055 rows, 20 chromosomes   gemma 4.0 s   pangemma 3.9 s
  hmm   20,453 rows, 19 chromosomes   gemma 26.8 s  pangemma 15.8 s
  mean  21,056 rows, 20 chromosomes   gemma 16.3 s  pangemma 16.0 s

The hmm figures include the R/qtl2 imputation the first time and reuse it from
RAVANAN_CACHE_DIR/imputed/ afterwards; mean maps one marker that complete-case
treatment drops, which is why the three are not interchangeable answers.
Diffstat (limited to 'scripts/plot-compare.py')
0 files changed, 0 insertions, 0 deletions