inst/shiny/skeleSimShinyGUI/README.md

This folder contains the shiny interface for skeleSim. As the codebase is structured now, everything depends on this ui for organisation. In other words, there are no command-line approaches to skelesim at the moment.

To use,

  1. From CRAN:
  2. make sure that the 'devtools' package is installed.
  3. make sure that the 'shiny' package is installed
  4. make sure that the 'rmetasim' package is installed
  5. make sure that the 'shinyFiles' package is installed
  6. From github.com:
  7. load devtools package -- library(devtools)
  8. install_github("rstudio/shiny-incubator")
  9. install the package from github, then
  10. type library(skeleSim)
  11. type skeleSimGUI()

INSTALLING fastSimcoal2

fastSimcoal2 binaries are availble at http://cmpg.unibe.ch/software/fastsimcoal2/

Make sure that you install the executable file in a place in your binary file search path. This is critical.

WINDOWS

To use on windows, install the latest version of R and RStudio (obviously). Then:

  1. ensure that the fastsimcoal2 executable file is in your path (repeat of admonition above)
  2. ensure that all of the R executables are in your path.
  3. you can add to your path using the control panel in windows
  4. alternatively you can download windows batchfiles that make this work more intuitively. See https://code.google.com/p/batchfiles/ or http://cran.r-project.org/contrib/extra/batchfiles/ to find a copy of 'R.bat' if you put this file in your path, it handles searches for R on your windows disk.
  5. then follow the instructions above...


christianparobek/skeleSim documentation built on Feb. 29, 2020, 6:58 p.m.