An open API service indexing awesome lists of open source software.

https://github.com/splch/heterozygote-advantage

Simulations of populations with varying levels of natural selection to observe responses to heterozygous percentages.
https://github.com/splch/heterozygote-advantage

Last synced: over 1 year ago
JSON representation

Simulations of populations with varying levels of natural selection to observe responses to heterozygous percentages.

Awesome Lists containing this project

README

          

# Heterozygote Advantage Simulation
Simulations of populations with varying levels of natural selection to observe responses to heterozygous percentages.

## Hypothesis
The rate of natural selection is directly proportional to the frequency of heterozygous genes.

## Installation

[![Run on Repl.it](https://replit.com/badge/github/splch/heterozygote-advantage)](https://replit.com/github/splch/heterozygote-advantage)

```bash
pip install numpy scipy matplotlib pysimplegui
```

## Usage

To run application:
```bash
python hetadv.py
```

Then simply set:
number of genes,
birth rate,
generations,
and iterations

*Keep in mind this program slows exponentially for more generations (especially above 20).*

## Results

Here we can see a strong correlation between increasing natural selection and frequency heterozygous genes.