Skip to contents

Virtual base shared by ColocResult (from coloc) and ColocBoostResult (from colocboost).

The two store genuinely different statistics – coloc is pairwise and reports PP.H0PP.H4, while ColocBoost reports a normalized posterior over an arbitrary-sized set of outcomes – so neither can be expressed in the other's schema. What they share is the shape (one element per colocalization unit, its variants inside) and therefore the projection surface: both answer getColocPairs and getColocVariants, so code that only needs "which variants colocalized, and how strongly" works against either.

Slots

ldSketch

The LD reference panel the underlying fits were computed against, or NULL. Shared by both subclasses: coloc and ColocBoost report different statistics, but both are computed against a panel and both are asked for it the same way.