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.
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.
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.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install