ki-longitudinal-manuscripts

This repository includes scripts to replicate the analyses included in the UC Berkeley team’s analysis of wasting and stunting as part of the Bill and Melinda Gates Foundation’s KI project.

Directory structure

0-project-functions : internal functions used in analysis and figure generation

1-data-cleaning : scripts to prepare data for analysis

2-descriptive outcomes : analysis scripts

3-prep-tmle-analysis : scripts to prepare data for tmle

4-tmle3 : folder to be added later containing risk factor analysis scripts

5-visualizations : scripts that produce figures

  • risk factors
    • [Andrew to add]
  • shared
    • fig-CONSORT-figure1 corresponds to stunting and wasting manuscripts Extended Fig 1
  • stunting
    • fig-study-inventory-heatmaps-stunt.R: corresponds to stunting manuscript Fig 1
    • fig-stunting-rec-density.R: corresponds to stunting manuscript Fig 4b
    • fig-stunting-rec-prev.R: corresponds to stunting manuscript Fig 4c
    • fig-stunting-flow.R: corresponds to stunting manuscript Fig 4a
    • fig-stunting-length-velocity.R: corresponds to stunting manuscript Fig 5
    • fig-stunting-descriptive-epi-plots.R: corresponds to stunting manuscript Fig 3 (includes many other figures as well, some of which are not included in the manuscript currently)
    • fig-stunting-length-velocity-subset.R: sensitivity analysis for Fig 5 that excludes COHORTS Guatemala and Content cohorts
    • fig-stunting-descriptive-epi-plot-monthly24.R: sensitivity analysis for Fig 3 that subsets cohorts to those with monthly measurements each month from 0 to 24 months
    • fig-DHS-plots-laz.R: corresponds to stunting manuscript Fig 2
    • fig-stunting-prevalence-map.R: corresponds to stunting manuscript Extended Data Fig 2
  • wasting
    • fig-wasting-study-inventory-heatmap.R corresponds to wasting manuscript Fig 1
    • fig-wasting-descriptive-epi-plots.R corresponds to wasting manuscript Fig 2a-c, Fig4b,d, and Fig5a (includes many other figures as well, some of which are not included in the manuscript currently)
    • fig-wasting-classification-example.R corresponds to wasting manuscript Fig 4a
    • fig-wasting-rec-hist.R corresponds to wasting manuscript Fig 4c
    • fig-wasting-seasonality.R corresponds to wasting manuscript Fig 3a-c
    • fig-wasting-seasonality-diff-plot.R corresponds to wasting manuscript Fig 3d
    • fig-wasting-birth-traj.R corresponds to wasting manuscript Fig 4e
    • fig-birth-wasting-recovery-stats.R corresponds to wasting manuscript Fig 4e inset
    • fig-wasting-prevalence-map.R corresponds to wasting manuscript Extended Fig 2
    • fig-DHS-plots-zscores.R corresponds to wasting manuscript Extended Fig 3
    • fig-pers-wasting.R corresponds to wasting manuscript Extended Fig 4a
    • fig-co-flow.R corresponds to wasting manuscript Fig 5b
    • fig-co-initial-onset.R in progress: creates plot of initial onset of wasting and stunting in children with both
    • fig-wasting-traj.R archived; not used

data : folder containing datasets that live off GHAP (agregate results or external data, but no subject-level data)

figures : folder containing figure outputs from scripts from 5-visualizations

results : folder containing output from analyses that do not contain identifiers