The fastest and simplest way to install PlasmoSim is via the plasmogenepi R-universe as follows:
install.packages('PlasmoSim', repos = c('https://plasmogenepi.r-universe.dev', 'https://cloud.r-project.org'))
However, this may not work for some chips, in which case backup instructions are presented below.
PlasmoSim
relies on the Rcpp
package, which requires the following OS-specific steps:
Install the core software development utilities required for R package development as well as LaTeX by executing
sudo apt-get install r-base-dev texlive-full
PlasmoSim
Next, in R, ensure that you have the devtools package installed by running
Then install the PlasmoSim
package directly from GitHub
by running
If you have any problems installing then please raise an issue on github.
Assuming everything installed correctly, we need to load the package:
You can test that the package is loaded and working by running the following command, which should produce this output:
## PlasmoSim loaded successfully!