Loading…

Selection Models

Biology • Population Genetics

View all topics

Starting state

q is computed as q = 1 − p.
Standard classroom model: random mating → HW zygotes.
Viability selection (one locus): genotype fitness values \(w_{AA}, w_{Aa}, w_{aa}\) determine survival to reproduce. This tool computes mean fitness w, post-selection genotype frequencies, and updated allele frequencies \(p'\) and \(q'\).

Fitness model

Fitness is scaled 0–1 here for classroom use. Relative differences drive selection.

Simulation

If generations > 1, the calculator simulates allele frequency p over time.
Keeps charts readable; zoom is available on graphs.
Paste or upload CSV
Paste one row with numbers. Supported patterns: \[ p,\ w_{AA},\ w_{Aa},\ w_{aa},\ \text{generations} \] or (advanced): \[ p,\ s,\ h,\ \text{generations} \]
Delimiters: comma, semicolon, or tab. Headers are allowed.

Paste

Upload

Run

Results, graphs, and steps appear after Calculate.
Ready

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does this selection models calculator compute?

It computes how genotype frequencies and allele frequency p change after viability selection using genotype fitness values. It also reports mean fitness and can simulate p over multiple generations.

How are post-selection genotype frequencies calculated?

Each genotype is weighted by its fitness and then normalized by mean fitness: f'AA = (fAA*wAA)/wbar, f'Aa = (fAa*wAa)/wbar, and f'aa = (faa*waa)/wbar, where wbar is the mean fitness.

How do you get the updated allele frequency after selection?

The calculator uses allele counting from the survivor genotype frequencies: p' = f'AA + 0.5*f'Aa and q' = 1 - p'.

What do selection coefficient s and dominance h mean in this tool?

They provide a standard parameterization with wAA = 1, wAa = 1 - h*s, and waa = 1 - s. Larger s means stronger selection against aa, and h controls how much of that disadvantage is expressed in heterozygotes.

When should I assume Hardy-Weinberg zygotes each generation?

Use that assumption when modeling random mating so genotype frequencies are formed from the current allele frequency each generation. This is a common classroom simplification for iterating selection across generations.