pvillamartin / stepping_stone_expansions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stepping Stone Simulations

A package that I use to simulate the evolution of a spatially distributed population consisting of a line of connected demes. In each deme, we assume that there are N individuals with different growth rates, mutation rates, etc. See the documentation ipython notebook for examples of how to use the code.

Examples

Random initial fitnesses

Random initial fitnesses

Muller's "Mutational Meltdown"

Mutational Metldown

A single deme (well-mixed population) with different fitnesses

A single deme with different fitnesses

Mean fitness vs. time

License

Feel free to use and play with my code (unless you are using it for profit; contact me in this case).

This code is currently unpublished, so if you decide to publish academic work using it, contact me; I will have to be a co-author. I will publish a paper using this code soon; once it is published, you can use this code however you want as long as you cite the paper the code first appeared in.

About


Languages

Language:Python 100.0%