Skip to content

Epistasis Ratio Calculator

Open Epistasis Ratio Calculator Fullscreen

About This MicroSim

Chapter 3: Epistasis, Complementation, and Modified Ratios

Library: p5.js

Type: Interactive simulation sim-id: epistasis-ratio-calculator
Library: p5.js
Status: Specified

An interactive tool where students select a type of epistasis from a dropdown menu. The simulation displays the 4×4 Punnett square for a dihybrid cross (AaBb × AaBb), color-coding the 16 cells according to which phenotypic class they belong to under the selected epistasis model. The merged classes are visually highlighted, and the resulting ratio is displayed prominently. Students can also enter observed data and perform a chi-square test against the predicted ratio.