tb-lod-ttp

This repository will hold all of the code necessary to recreate the analyses presented in "Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification" by Dufault et al published in the International Journal of Antimicrobial Agents (2025).

https://github.com/sdufault15/tb-lod-ttp

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

This repository will hold all of the code necessary to recreate the analyses presented in "Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification" by Dufault et al published in the International Journal of Antimicrobial Agents (2025).

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification

This repository holds all of the code necessary to recreate the work presented in the manuscript "Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification" by Dufault et al published in the International Journal of Antimicrobial Agents (2025).

Brief Project Description

The BACTEC Mycobacteria Growth Indicator Tube (MGIT) machine is the standard globally for detecting viable mycobacteria in patients’ sputum. Samples are observed for no longer than 42 days, at which point the sample is declared ‘negative’ for tuberculosis (TB). This time to detection of bacterial growth, referred to as time-to-positivity (TTP), is increasingly of interest, not solely as a diagnostic tool but also as a continuous biomarker wherein change in TTP can be used for comparing the bactericidal activity of different TB treatments. However, as a continuous measure, there are oddities in the distribution of TTP values observed, particularly at higher values. We explored whether there is evidence to suggest setting an upper limit of quantification for modeling purposes (ULOQ_M) lower than the diagnostic limit of detection (LOD) using data from several TB-PACTS randomized clinical trials and PanACEA MAMS-TB.

Repository Organization

  • docs - contains the final reports (html, pdf, etc) generated by the source files in reports
  • reports - contains the source files for reports
  • lib - contains user written functions
    • ucsf-color-palette.R this script contains the UCSF color palette
    • relative-function-remox.R this script uses the posterior distributions of the parameter credible estimates from the REMox data to determine the level of differentiation observed between each of the regimens and control, based on different ULOQ_M thresholds.
    • relative-function-nc002.R this script uses the posterior distributions of the parameter credible estimates from the NC-002 data to determine the level of differentiation observed between each of the regimens and control, based on different ULOQ_M thresholds.
    • relative-function-mams.R this script uses the posterior distributions of the parameter credible estimates from the MAMS data to determine the level of differentiation observed between each of the regimens and control, based on different ULOQ_M thresholds.
  • munge - contains all of the code to design, run, and evaluate the simulation study
    • 00_run-file.R - this is the primary file for performing the entire simulation study. This calls in all the rqeuired code for cleaning the data, analyzing the data, and evaluating the performance. Ideally, you should only need to call this file to perform the entire simulation study.
    • 01_data-cleaning.R - this code is called by the 00_run-file.R to clean the data
      • inputs: preprocessed REMox data, preprocessed TB-PACTs data
      • outputs: data/cleaned-data/[DATE]_[STUDY]-clean.RData
    • 02_run-linear.R - this code is called by the 00_run-file.R to run the linear Bayesian hierarchical models.
      • inputs: data/cleaned-data/[DATE]_[STUDY]-clean.RData
      • outputs: data/model-generated/[DATE]_linear-[STUDY]-lod-[ULOQ_M].RData
    • 04_run-linear_sensitivity.R - this code is called by the 00_run-file.R to run the sensitivity check removing the baseline TTP measurements from the linear models
      • inputs: data/cleaned-data/[DATE]_[STUDY]-clean.RData
      • outputs: data/model-generated/[DATE]_linear-[STUDY]-lod-[ULOQ_M]_sensitivity.RData
  • sandbox - contains work in progress
  • data - not included in this repository, but data can be accessed as described in the manuscript

Funding Information

SMD - NIH/NIAID P30: TB Research Advancement Center (UC TRAC), P30AI168440 SMD - NIH/NIAID R25: TB Research and Mentorship Program (TB RAMP), 1R25AI147375 EMS - Veni project number 09150161910052 financed by the Dutch Research Council (NWO)

Citation

Dufault SM, Davies GR, Svensson EM, Sloan DJ, McCallum AD, Patel A, Van Brantegem P, Denti P, Phillips PPJ. Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification. International Journal of Antimicrobial Agents. 2025 Feb;65(2):107404. https://doi.org/10.1016/j.ijantimicag.2024.107404

Contact Information

Contributor: Suzanne M. Dufault (suzanne.dufault@ucsf.edu)

Owner

  • Name: Suzanne Dufault
  • Login: sdufault15
  • Kind: user

PhD in Biostatistics from UC Berkeley '20 // MA in Biostatistics from UC Berkeley '17 // BA in Applied Math & Statistics from Macalester College '15

Citation (CITATION)

Dufault SM, Davies GR, Svensson EM, Sloan DJ, McCallum AD, Patel A, Van Brantegem P, Denti P, Phillips PPJ. Analysis of time-to-positivity data in tuberculosis treatment studies: Identifying a new limit of quantification. International Journal of Antimicrobial Agents. 2025 Feb;65(2):107404. 

GitHub Events

Total
  • Watch event: 1
  • Public event: 1
  • Push event: 2
Last Year
  • Watch event: 1
  • Public event: 1
  • Push event: 2