Population Genetics Simulation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
R
inst
man
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
news.md
pgmcs.Rproj
readme.md

readme.md

pgs

Build Status

Population Genetics Simulation

Install

if (!('devtools' %in% .packages(T))) install.packages('devtools');
devtools::install_github('dongzhuoer/pgmcs');

Usage

See Examples of demo_population_simulation()

?pgmcs::demo_population_simulation

Shiny App

shiny::runApp(system.file('shiny/population-genetics-monte-carlo-simulation', package = 'pgmcs'))
shiny::runApp(system.file('shiny/population-genetics-monte-carlo-simulation2', package = 'pgmcs'))

For Beginners

Web App

static mode, dynamic mode

Though it's very convinent, you just need a browser. But the speed maybe low, and you can't perform heavy tasks due to server limit. Additionly, the connection may often break and you have to refresh.

Run on your own computer

In this way, you can free from the above troubles. It's very easy, you just need to install R, which is even simpler than QQ.

  1. install R (use this for Windows users.)

  2. install this package

if (!('devtools' %in% .packages(T))) install.packages('devtools');
devtools::install_github('dongzhuoer/pgmcs');
  1. enjoy
  • for static mode
shiny::runGitHub('dongzhuoer/pgmcs', subdir = 'inst/shiny/population-genetics-monte-carlo-simulation')
  • for dynamic mode
shiny::runGitHub('dongzhuoer/pgmcs', subdir = 'inst/shiny/population-genetics-monte-carlo-simulation2')