Association — Which Variants Track the Phenotype?¶
In the app: Association › Association
Available on projects with variant (SNP) data where the pipeline ran an association analysis and delivered association.tsv — which needs association enabled for the project and phenotype columns in the sample annotation.
Association asks "which variants track the phenotype?" — a genome-wide association study (GWAS) over the project's samples. For each phenotype in the annotation (for example a measured trait such as height), the pipeline tested every variant for association; this report shows where the strongest signals fall, whether the p-values as a whole are trustworthy, and the top hits.

Example output from a demonstration project with synthetic data.
Findings¶
- Top hit — the strongest variant, its position and nearest gene, its p-value, and whether it passes the genome-wide significance threshold of 5×10⁻⁸ ("genome-wide significant" or "not genome-wide significant").
- λ_GC — the genomic inflation factor. Up to 1.1 it reads "(no inflation)"; above 1.1 a ⚠️ warning says the p-values are inflated — population structure or relatedness not fully corrected.
- How many variants were tested.
Notes give λ_GC to three decimals and its source — the pipeline's association_lambda.tsv, or computed from the p-values — and point to Variant Genes for the coding variants of genes near a hit.
Filters¶
Phenotype¶
Which phenotype to show. Lists every phenotype in the association results.
Charts¶
Manhattan¶
Titled with the phenotype (for example Manhattan — Height). Every tested variant along the genome, chromosome after chromosome in alternating shades, with -log10 p on the vertical axis — higher is stronger. A dashed red line marks genome-wide significance (5×10⁻⁸) and a dotted orange line the Bonferroni threshold (0.05 divided by the number of tests).
QQ plot¶
Observed against expected -log10 p-values, with the diagonal as a dashed line; the title gives λ_GC. Under no association, points follow the diagonal.
Raw data¶
Raw data — Top hits¶
The strongest variants for the chosen phenotype, searchable, with Download CSV.
| Column | Meaning |
|---|---|
variant_id |
Variant, as chrom:pos:ref>alt |
chrom, pos |
Position |
nearest_gene |
The gene nearest the variant |
p |
Association p-value |
beta |
Effect size and direction |
phenotype |
The phenotype tested |
Report settings that apply¶
None of the filter settings in the Report settings panel change this report. Appearance sets the plot styling (see Report Settings).
Reading it¶
- Read the QQ plot first. If the points lift off the diagonal early and across the whole range (λ_GC well above 1), the test statistics are inflated genome-wide — usually by population structure or relatedness — and the Manhattan peaks cannot be taken at face value. A clean QQ plot that departs only at the far right is what true associations look like.
- A real association usually appears as a peak of several neighbouring variants in linkage, not a single isolated point.
- The nearest gene is a starting point, not the causal gene. Check the region's coding variants in Variant Genes.
- With few samples, the test has little power: an empty Manhattan plot is not evidence that no association exists.
- Population structure that separates groups in Genotype PCA is the usual cause of inflation.