Skip to contents

Virtual base class for QTL and GWAS summary statistics collections. Concrete subclasses (QtlSumStats, GwasSumStats) inherit from DFrame and share the ldSketch / genome / qcInfo slots.

Slots

ldSketch

The GenotypeHandle the QC pipeline harmonized against, or NULL. Optional: LD-free workflows (e.g. mash, which operates across conditions per variant) carry NULL; pipelines that need LD validate its presence when they consume the collection.

genome

Character, genome build label.

qcInfo

A list recording which QC steps ran. Empty list() on construction; populated by summaryStatsQc() with a per-step audit record (filter names, drop counts, liftover target, RAISS settings, etc.). Fine-mapping and TWAS-weights pipelines reject inputs where length(getQcInfo(x)) == 0L — the slot serves as both the gating flag and the audit trail.