Interactive simulation activity for cancer progression and evolution.
Installing CancerSimulationR Updating CancerSimulationR Running CancerSimulationR
CancerSimulationR was developed and tested on a 64-bit computer with a 3.1-GHz processor running Mac OS X (Version 10.13.6) with 16 GB of RAM.
The instructions below demonstrate how to install this package directly from Github to get the latest release.
Install version 3.6.0 or later of R. Users can install R by downloading the appropriate R-x.y.z.tar.gz file from http://www.r-project.org and following the system-specific instructions. CancerSimulationR was developed and tested on version 3.6.0 of R. As of this release, we recommend using version 3.6.0.
CancerSimulationR depends on the following R libraries: RColorBrewer (version 1.1.2), ggplot2 (version 3.2.1), reshape (version 0.8.8), and shiny (version 1.3.2). The versions provided are the R package versions for which this CancerSimulationR code has been tested.
In order to install a package from github, you will need the devtools package. You can install this package with the following commands:
install.packages("devtools")
library(devtools)
CancerSimulationR package depends on several packages, which can be installed using the below commands:
install.packages("RColorBrewer")
install.packages("ggplot2")
install.packages("reshape")
install.packages("shiny")
To currently get the CancerSimulationR R package up and working on your computer, once you have installed all package dependencies (see above):
library(devtools)
. If you don't have devtools you may have to install it with install.packages("devtools")
and then use library(devtools)
.install_github(repo = "mesako/CancerSimulationR")
. Typical installation time should take no more than 5 minutes for the most up-to-date CancerSimulationR package. However, total installation time will vary depending on the installation time of other required packages and the speed of your internet connection.
To quickly update your CancerSimulationR R package up and get the latest version from GitHub:
library(devtools)
.install_github(repo = "mesako/CancerSimulationR")
.library(CancerSimulationR)
.If the above commands run without error, you should have the latest version of CancerSimulationR.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.