Giter VIP home page Giter VIP logo

explorebcgonoutcomes's Introduction

Exploring the effects of BCG vaccination in patients diagnosed with tuberculosis: observational study using the Enhanced Tuberculosis Surveillance system

badge Paper Preprint DOI

Abstract

Background

Bacillus Calmette–Guérin (BCG) is one of the most widely-used vaccines worldwide. BCG primarily reduces the progression from infection to disease, however there is evidence that BCG may provide additional benefits. We aimed to investigate whether there is evidence in routinely-collected surveillance data that BCG vaccination impacts outcomes for tuberculosis (TB) cases in England.

Methods

We obtained all TB notifications for 2009-2015 in England from the Enhanced Tuberculosis surveillance system. We considered five outcomes: All-cause mortality, death due to TB (in those who died), recurrent TB, pulmonary disease, and sputum smear status. We used logistic regression, with complete case analysis, to investigate each outcome with BCG vaccination, years since vaccination and age at vaccination, adjusting for potential confounders. All analyses were repeated using multiply imputed data.

Results

We found evidence of an association between BCG vaccination and reduced all-cause mortality (aOR:0.76 (95%CI 0.64 to 0.89), P:0.001) and weak evidence of an association with reduced recurrent TB (aOR:0.90 (95%CI 0.81 to 1.00), P:0.056). Analyses using multiple imputation suggested that the benefits of vaccination for all-cause mortality were reduced after 10 years.

Conclusions

We found that BCG vaccination was associated with reduced all-cause mortality in people with TB although this benefit was less pronounced more than 10 years after vaccination. There was weak evidence of an association with reduced recurrent TB.

Repository structure

The repository is structured as follows:

  • output Finalised paper, cover letter and checklists.
  • functions: Functions for analysis, and document structure. Grouped into scripts by use case.
  • common: Formatting styles that are common to multiple documents, reference library etc.
  • sensitivity: Various sensitivity analysis.
  • data: Analysis output and summarised results. The raw data used for this analysis cannot be made public but see here for details of the extract and cleaning script used.
  • packrat: R packages used for the analysis.

Reproducing this research

Manual install

git clone https://github.com/seabbs/ExploreBCGOnOutcomes.git
  • Once this has been downloaded click on the project file (ExploreBCGOnOutcomes.Rproj).

  • Install the required packages using the following script. Versioned to "2018-06-19" using the checkpoint package.

source("scripts/packages.R")
  • Load the analysis results by running output/Paper.Rmd. This complete analysis is not reproducible as the raw data cannot be published, however all interim results are stored in the repository and these can be explored. The sensitivity analysis results can be reproduced by setting variables in this document, as explained at the top of the script.

Docker

To ensure full reproducibility, this analysis can be run in a docker container based on the tidyverse docker image. To run the docker image run:

docker run -d -p 8787:8787 --name ExploreBCGOnOutcome -e USER=ExploreBCGOnOutcome -e PASSWORD=ExploreBCGOnOutcome seabbs/explorebcgonoutcome

The rstudio client can be found on port :8787 at your local machines ip. The default username:password is ExploreBCGOnOutcome:ExploreBCGOnOutcome, set the user with -e USER=username, and the password with - e PASSWORD=newpasswordhere.

explorebcgonoutcomes's People

Contributors

seabbs avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.