Output formats
simulate-pheno outputs
Two files are written:
<out>A whitespace/tab-delimited phenotype table (
#IID+ the phenotype column, named per--pheno-name), directly usable as the--phenoargument tobaseline,attribute, orpal.<out with .causal.txt suffix>One variant ID per line, the union of all SNPs referenced by any
--additive/--dominant/--recessive/--interaction2/--interaction3term. This is the ground truth used to score locus-discovery accuracy in the Quickstart.
For example, --out outputs/simulated.pheno produces
outputs/simulated.pheno and outputs/simulated.causal.txt.
attribute output (.glm-style TSV)
A PLINK-.glm-flavored tab-separated table, one row per variant:
Column |
Meaning |
|---|---|
|
Copied from the input |
|
The tested allele; currently always equal to |
|
Model/attribution identifier, e.g. |
|
Mean absolute Integrated Gradients attribution for that SNP across held-out validation samples. |
|
Two-sided p-value from a one-sample t-test of the per-sample signed
attribution values against zero (not a permutation test despite the
column name — see |
|
|
|
Number of samples the attribution was computed on (the held-out validation split). |
pal output (TSV)
Column |
Meaning |
|---|---|
|
As above. |
|
Mean Model Attribution Score (MAS) across all real-label models
( |
|
Aggregated MAS: |
|
|
|
|
|
Bootstrap-estimated p-value against the fitted null distribution,
populated only for |
|
Number of real-label models trained ( |
Both writers validate that the per-variant array lengths match the number
of rows in the .pvar-derived variant table before writing, and raise
ValueError on mismatch.