Statistical & Population Genetics Visualizer

Genome-Wide Association Studies (GWAS) & Statistical Genetics

Interactive exploration of genome-wide association scans, single-variant OLS regression, population stratification PCA correction, Linkage Disequilibrium (LD) fine-mapping, and Polygenic Risk Scores (PRS).

Trait Presets:

Type 2 Diabetes (T2D) (Type 2 Diabetes Mellitus)

Classic metabolic polygenic disease. Lead signal at rs7903146 in TCF7L2 impairs pancreatic β-cell insulin exocytosis and GLP-1 expression. TCF7L2 rs7903146-T confers a 1.37-fold increased risk per allele (p = 1.2 × 10⁻¹⁹), representing the strongest single common risk locus identified for T2D.

Sample SizeN = 120,000
Significant Hits6 SNPs
Genomic Inflationλ_GC = 1.01Controlled Null
Genome-Wide Association Scan (Manhattan Plot)
Genome-Wide Sig (p < 5×10⁻⁸) Suggestive (p < 1×10⁻⁵)
Quantile-Quantile (Q-Q) PlotObserved vs Null Expected

1. The Bonferroni Multiple Testing Threshold

Testing ~1,000,000 independent Linkage Disequilibrium (LD) blocks across the human genome at family-wise error rate α=0.05\alpha = 0.05 yields the canonical genome-wide significance threshold: p<5×108p < 5 \times 10^{-8} (log10(P)=7.301-\log_{10}(P) = 7.301).

2. Genomic Inflation & Confounding (λGC\lambda_{GC})

The Genomic Inflation Factor λGC=median(χobs2)/0.456\lambda_{GC} = \text{median}(\chi^2_{\text{obs}}) / 0.456 measures systematic test statistic deviation. Elevated λGC\lambda_{GC} indicates uncorrected population stratification, batch artifacts, or extreme polygenicity (analyzed via LD Score Regression).

3. Linkage Disequilibrium (LD) & Fine-Mapping

Because adjacent variants are co-inherited in LD blocks (r2>0.8r^2 > 0.8), GWAS identifies genomic loci rather than causal variants. Statistical fine-mapping (e.g. SuSiE, PAINTOR) and functional epigenomics (ChIP-seq, eQTLs, OpenSpliceAI) pinpoint true causal mechanisms.