Skip to content

null_calibration: run the glmGamPoi and edgeR comparator cells on native R #261

Closed

Description

@hyperpolymath

Issue #193 asked for two Bioconductor comparators that the 2026-10-23 replication could not run: glmGamPoi's quasi-likelihood F-test and edgeR's QL F-test as an outside reference. Both are compiled packages; the sandbox that ran the bench (WebR 0.6.0, wasm32) cannot install them, and the code paths skip loudly rather than substituting another test.

The bench already implements both (fit_glmgampoi_ql, fit_edger_ql in bench/null_calibration/calibration.R) and REPORT.md names them as not run.

What is needed, on a machine with native R and renv::restore():

Rscript bench/null_calibration/calibration.R \
  --shapes=original --offsets=tss --n-per=4,12 --sims=1000 --taxa=40 \
  --tests=glmgampoi_ql,edger_ql,wald_trend
Rscript bench/null_calibration/summarise.R

Record the run in bench/null_calibration/REPORT.md §"What was not run" (the provenance summary is now generated, so the executor and package versions land in results/provenance_summary.csv automatically).

Why it matters: ql_f (a tagwise Pearson-scale QL F test) is the closest measured alternative but still about a point above nominal at α = 0.05, and at 4 samples per group it is nearly powerless after BH. The two empirical-Bayes implementations are the ones that could actually be recommended as a default, so the upstream decision in UPSTREAM_DRAFT.md option 3 is waiting on this row.

Refs #193, #192.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions