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.H0–PP.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 colocPairs and colocVariants, so code that only needs "which variants colocalized, and how strongly" works against either.

Slots

ldReference

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