Skip to content

mecfs_bio.assets.diagrams.coloc_configuration_grid

Diagram for the colocalization (coloc.abf) documentation: the configuration space of causal-variant pairs (S_1, S_2), each cell coloured by the hypothesis it belongs to.

S_k in {0, 1, ..., Q} is the causal variant of trait k in a locus of Q variants, with S_k = 0 meaning trait k has none. The (Q + 1)^2 configurations partition into H_0 (neither trait), H_1 (trait 1 only), H_2 (trait 2 only), H_3 (both traits, distinct variants) and H_4 (both traits, one shared variant, the diagonal).

Attributes:

COLOC_CONFIGURATION_GRID_DIAGRAM module-attribute

COLOC_CONFIGURATION_GRID_DIAGRAM = TypstDiagramTask(
    meta=DiagramFileMeta(
        AssetId("coloc_configuration_grid")
    ),
    source=TypstSource(path=_SOURCE_PATH),
)