Population genetics simulation
This package provides a simple html based Wright-Fisher population genetics interactive simulator for use in teaching. It is built in the R environment and uses the Shiny package to produce html pages.
To use this first install R
Then install and load the devtools package that allows you use packages on github:
install.packages("devtools")
library(devtools)
Now you can install and load popgensim:
install_github('coleoguy/popgensim', build_vignettes = T)
library(popgensim)
If you don't want to install R you can still use the simulator on the Shinapps server: web simulator
if you have questions or problems please let me know coleoguy@gmail.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.