These files are available to reproduce the results for the manuscript
"Transient indicators of tipping points in infectious diseases." Some
of the results can be reproduced using the Mathematica Notebook, and
the rest can be reproduced using the R markdown notebooks. The
Dockerfile can be used to build a Linux container image with a
suitable version of R and all required packages for running the R
markdown notebooks. The bash script build-image.sh
could be used to
generate such an image with podman version 2.0.4 on Ubuntu 18.04. An
already built image has also been pushed to Docker Hub. The bash
scripts run-simulations.sh
, run-measles-analysis.sh
, and run-pertussis-analysis.sh
could be used to run the R markdown
notebooks with that image using podman. The directories example-output-2020-08-20
and
example-output-2020-06-26
contain files produced by running those
scripts. Producing them took about 90 minutes using eight 3.47GHz cores.
The script run-pertussis-analysis.sh
requires a Project Tycho dataset freely available from https://www.tycho.pitt.edu/dataset/US.27836007/. The file pertussis-data-md5sum
can be used to verify that you have the correct file with an md5sum utility.