All Tools

Trait Selection Explorer

Explore how natural selection reshapes trait distributions across generations. Choose directional, stabilizing, or disruptive selection, adjust heritability and selection strength, then step through generations to watch the population evolve.

Trait DistributionGen 0 · n=500

μ = 9.972.85.17.39.611.914.116.4Trait Value0918273645Count→ Higher values favored

Controls

Selection Strength0.30
Heritability (h²)0.60
Population Size500
Generation: 0

Results

R=h2×SR = h^2 \times S

Response to Selection = Heritability × Selection Differential

Advance a generation to see results.

Reference Guide

Directional Selection

Directional selection favors individuals at one extreme of the trait distribution. Over time the population mean shifts toward the favored phenotype.

A classic example is beak depth in Darwin's finches on the Galapagos Islands. During droughts, deeper beaks are favored because they can crack larger, tougher seeds.

After many generations of directional selection, the trait distribution shifts entirely in the favored direction while maintaining a roughly normal shape.

Stabilizing Selection

Stabilizing selection favors individuals near the population mean and selects against both extremes. The mean stays the same but variance decreases over time.

Human birth weight is a well-studied example. Babies that are too small have lower survival, and very large babies face complications during delivery. The optimal weight is near the population average.

This is the most common type of selection in nature, maintaining well-adapted phenotypes and reducing phenotypic variation.

Disruptive Selection

Disruptive selection favors both extremes of the trait distribution and selects against intermediate phenotypes. Variance increases and the distribution can become bimodal.

African seed-cracker finches (Pyrenestes ostrinus) show this pattern. Large-billed birds crack hard seeds efficiently, and small-billed birds handle soft seeds well. Intermediate bills are poor at both.

Disruptive selection can eventually lead to speciation if gene flow between the two phenotypic groups is reduced.

Response to Selection (R = h²S)

The breeder's equation describes how a population's mean trait value changes in response to selection.

R=h2×SR = h^2 \times S

R (response to selection) is the change in mean trait value between generations. S (selection differential) is the difference between the mean of selected parents and the overall population mean. (heritability) is the fraction of phenotypic variation due to additive genetic variation.

h2=VAVP=additive genetic variancetotal phenotypic varianceh^2 = \frac{V_A}{V_P} = \frac{\text{additive genetic variance}}{\text{total phenotypic variance}}

Higher heritability means selection is more effective at shifting the population mean. With h² = 0, no matter how strong the selection, the offspring mean is unchanged.