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.
- Host: GitHub
- URL: https://github.com/splch/heterozygote-advantage
- Owner: splch
- Created: 2019-10-11T17:24:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T05:15:12.000Z (about 2 years ago)
- Last Synced: 2025-03-06T07:50:44.635Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 2.01 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
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
[](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.