This repository makes available the source code for the work: "Minimizing severity of dengue serotype 1 infection by transmissible interfering particles", available online as an open access preprint on bioRxive: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4108267.
To run the codes you will require R(>=3.30) and latest version of RStudio.
├── project
│ ├── data
│ ├── images
│ ├── results
│ ├── src
│ │ ├── plot_raw_data_and_sensivity.R
│ │ ├── run_models_sim.R
│ │ ├── analyze_fits.R
│ │ ├── TIPs_therapy.R
| | ├── model_a_sim.stan
| | ├── model_b_sim.stan
- The
data
folder contains all preprocessed datasets reqruired to run the codes in thesrc
folder. - The
images
folder contains plots generated from the codes insrc
folder. - The
results
folder contains all results saved (as .RData format) after runing the codes in thesrc
folder. - The
src
folder contains all source codes required to produce the results and images.
- Run the script
plot_raw_data_and_sensivity.R
to generate plots forFig 1
andFig 2
shown in theimages
folder - Run the script
run_models_sim.R
to fit the Bayesian hierarchical modelmodel_a_sim.stan
ormodel_b_sim.stan
. These models are written using the Stan programing language. - Run the scrip
analyze_fits.R
to analyze results of the fits and to generate plots for Figures 3-4 S1, S2 and S5 shown in theimages
folder. - Run the scrip
TIPs_therapy.R
to simulate results for experiments 1, 2 and the individual effects. This script is also used to generate plots for Figures 5-7, S3, S4 and S6-S16 shown in theimages
folder.
Note: some simulation results are too large to to be uploaded in the repository, but all can be generated from the scripts.