egtplot: A python package for 3-Strategy Evolutionary Games
This is a software package for plotting and animating three-strategy evolutionary games on a triangular simplex.
While there are many use cases for this software, our group's particular focus is on the mathematical modeling of cancer and cancer therapies through evolutionary game theory [@kaznatcheev2017cancer, @kaznatcheev2015edge, @Kaznatcheev179259]. For details on analytical treatments of evolutionary games, please see Artem Kaznatcheev's blog at Theory, Evolution, and Games Group.
Inom Mirzaev and Drew FK Williamson contributed equally to this work.
The program is written and tested on Python >=3.5. This software package depends on the following libraries:
numpy>=1.13, scipy, shapely
for computationsmatplotlib
for static plotsimageio, moviepy
for animationstqdm
for progress barInstalling the package from PyPi
will take care of all the dependencies
pip install egtplot
PyPi
pip install egtplot
git
software and run setup.git clone https://github.com/mirzaevinom/egtplot.git
cd egtplot
python setup.py install
cd egtplot-master
python setup.py install
plot_static
for plotting static simplex figures and plot_animated
for generating simplex animations.egtplot_demonstration.ipynb
If you use this program to do research that leads to publication, we ask that you acknowledge use of this program by citing the following in your publication:
Mirzaev I., Williamson D. and Scott J., egtplot: A Python Package for 3-Strategy Evolutionary Games, https://doi.org/10.1101/300004
Please use GitHub Issues for issue tracking and bugs. Feel free to contact Drew and Inom if you would like to contribute to egtplot
or with questions and comments.