Skip to contents

The contract summarizes the normalized evidence rows, analysis cohorts, and deterministic table digests owned by the sampling-design interpretation module.

Usage

atlas_evidence_contract(atlas)

Arguments

atlas

a MetadataAssociationAtlas

Value

A named list with:

  • version, the contract-version string;

  • sampling_design, the sampling-design identifier;

  • row_counts, integer counts for association, observation, and exclusion evidence rows;

  • digests, SHA-256 digests for those three evidence tables and the cohort membership table;

  • cohorts, one row per metadata-field, component, and evidence-variant group, with its cohort digest and available/missing counts; and

  • cohort_members, one row per primary sample in each group, where the logical included column records whether that sample contributed to the corresponding association estimate.

    Returns NULL for an atlas without an interpretation evidence contract.