Evolution · runs in your browser

Fitness Flux Lab

Fitness Flux Lab measures the pace of viral adaptation directly from variant frequencies. It fits a multinomial logistic regression to sequence counts, or loads the latest published SARS-CoV-2 MLR estimates, then computes mean population fitness, fitness variance and fitness flux through time and compares flux with variance as Fisher's fundamental theorem predicts.

Loading workspace…

How to use

  1. Load the live MLR or drop counts.
  2. Choose generation time and pivot.
  3. Read flux against variance; export the series.

Inputs

  • Counts TSV: date, variant, sequences
  • Live SARS-CoV-2 MLR estimates

Outputs

  • Growth advantages
  • Frequency fits
  • Mean fitness, variance and flux series

Privacy

Files you open are processed by your browser and never uploaded. Results stay in memory unless you save them to your local workspace or download them.

Data: Nextstrain SARS-CoV-2 forecasts (CC-BY-4.0).

Questions about Fitness Flux Lab

What is fitness flux?

The rate of change of mean population fitness, Φ(t) = Σ s_v·dx_v/dt. When selection dominates it approximately equals the variance in fitness (Fisher's theorem).

How is fitness obtained from growth advantage?

Relative fitness s_v = ln(growth advantage_v) per generation, scaled by the generation time you choose, relative to the pivot variant.

Research and education use. Results are computed on your device and are not clinical or public-health advice. Last reviewed 2026-10-29.

Keep going