39 EpiModel Gallery Lab
The EpiModel Gallery on Github contains templates for extending the EpiModel research platform to address new and interesting research questions. The templates on the gallery feature a variety of examples of building new functionality as extension models in EpiModel for research. Examples include both disease-specific extensions (e.g., a simple HIV and syphilis model) as well as more general templates for handling epidemic processes across diseases.
In this lab, we would like you to work in small groups to investigate and discuss a specific gallery example more deeply. This will help gain a better understanding of how to extend EpiModel for your own research questions.
39.1 Lab Steps
Specific steps for this lab are as follows:
- Download or Git clone the EpiModel Gallery (we will demonstrate this step together).
- Select one of the following gallery examples for investigation:
- SI Model with Vital Dynamics
- Competing Strains
- Social Diffusion
- SEIR with All-or-Nothing Vaccine
- SEIRS with Leaky Vaccine
- Make sure to set your working directory (with
setwd
or point-and-click with Rstudio Session menu) to where model and module code files are saved. - Run the model from top to bottom.
- Inspect the code in each module in the module fx file and write a bullet list of what each module is doing.
- Run the model with
browser
tags in each module to run each module interactively and iteratively. - Experiment with the model parameters, including those across extreme values (e.g., those that may turn off a process).
- Explain to your small group your findings.
- Discuss questions as a full group.