Skip to content

seabbs/intro_to_tb_models

Repository files navigation

Introduction to TB Models

A shiny app reproducing the models used in the Introduction to Tuberculosis modelling course practicals, run by TB MAC at the 2017 Union conference. See the TB MAC website for course materials and further resources. The models used in this course, and reproduced in this shiny app, were based on one published by Lin et al.

Installing the shiny app locally

Manual Install

To install and run the shiny app locally on your own computer you will need to first install R, it is also suggested that you install Rstudio. After downloading the source code from this repository click on the intro_to_tb_models.Rprof file, this will open an Rstudio window. Type the following code into the command line;

install.packages("shiny")
install.packages("shinydashboard")
install.packages("DT")
install.packages("ggplot2")
install.packages("tidyr")
install.packages("dplyr")
install.packages("tibble")
install.packages("rmarkdown")
install.packages("plotly")

To run the app open the ui.R file and press run, depending on your computer this may take some time.

Using Docker

Docker is a container software that seeks to eliminate "works on my machine" issues. For installation and set up instructions see here.

This docker container is based on the shiny docker image, see here for instructions on use. To run the docker image run the following in a bash shell:

docker pull seabbs/intro_to_tb_models
docker run --rm -p 3838:3838 seabbs/intro_to_tb_models

The shiny app can be found on port :3838 at your local machines ip (or localhost on windows).

About

A shiny app recreating the models used in the practicals for the Intro to TB modelling course at the 2017 Union Conference

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages