Home▸Molecular Biology▸Linkage Disequilibrium Decay: Haplotypes and r Squared by Generation (2D)

Linkage Disequilibrium Decay: Haplotypes and r Squared by Generation (2D)

A grid of chromosome sprites carrying two markers whose alleles reshuffle as generations pass, with haplotype frequencies and the decay of r squared plotted below. Same shared model as the 3D scene.

Molecular Biology2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Linkage Disequilibrium Decay: Haplotypes and r Squared by Generation (2D) ↗ Open standalone

Two neighbouring genetic markers start in strong association and recombination breaks it down generation by generation. Set the map distance between the markers, the allele frequencies and the starting disequilibrium; watch a population of chromosomes reshuffle its haplotypes while D, D prime and r squared decay, and compare with the equilibrium value for a finite population. Blender-built chromosomes, markers and ruler, with numerical checks of the recursion, the Haldane map function and a recombination Monte Carlo.

⚙ Under the hood

A grid of chromosome sprites carrying two markers whose alleles reshuffle as generations pass, with haplotype frequencies and the decay of r squared plotted below. Same shared model as the 3D scene.

Linkage DisequilibriumRecombinationHaplotypePopulation GeneticsGenetic Map

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)