Skip to contents

S4 collection of TWAS weights keyed by the identity tuple (study, context, trait, method). Each entry is a TwasWeightsRow carrying one method's weights for one trait/context/study. Implements the DFrame-subclass collection pattern.

Required columns: study, context, trait, method, entry. Each entry is a TwasWeightsRow.

Optional columns jointStudies, jointContexts, jointTraits appear when the collection contains rows produced by a jointSpecification-driven joint fit. For such a row, the corresponding identity-tuple column carries the sentinel "joint" and the joint column lists the semicolon-joined members of the joined axis. For non-joint rows the joint columns are NA_character_. Tuple uniqueness is enforced jointly across the identity-tuple columns and any present joint columns.

Slots

ldSketch

The LD reference genotype panel the weights were derived against, or NULL when the weights were learned from individual-level data. Used downstream for cross-pipeline LD-sketch identity validation.