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.
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
-
shared
fig-CONSORT-figure1
corresponds to stunting and wasting manuscripts Extended Fig 1
-
stunting
fig-DHS-plots-laz.R
: corresponds to stunting manuscript Fig 2fig-study-inventory-heatmaps-stunt.R
: corresponds to stunting manuscript Fig 1fig-stunting-descriptive-epi-plots.R
: corresponds to stunting manuscript Fig 3 (includes other figures as well, some of which are not included in the manuscript currently)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 monthsfig-stunting-flow.R
: corresponds to stunting manuscript Fig 4afig-stunting-length-velocity.R
: corresponds to stunting manuscript Fig 5fig-stunting-length-velocity-subset.R
: sensitivity analysis for Fig 5 that excludes COHORTS Guatemala and Content cohortsfig-stunting-prevalence-map.R
: corresponds to stunting manuscript Extended Data Fig 2fig-stunting-rec-density.R
: corresponds to stunting manuscript Fig 4bfig-stunting-rec-prev.R
: corresponds to stunting manuscript Fig 4c
-
wasting
fig-wasting-study-inventory-heatmap.R
corresponds to wasting manuscript Fig 1fig-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 4afig-wasting-rec-hist.R
corresponds to wasting manuscript Fig 4cfig-wasting-seasonality.R
corresponds to wasting manuscript Fig 3a-cfig-wasting-seasonality-diff-plot.R
corresponds to wasting manuscript Fig 3dfig-wasting-birth-traj.R
corresponds to wasting manuscript Fig 4efig-birth-wasting-recovery-stats.R
corresponds to wasting manuscript Fig 4e insetfig-wasting-prevalence-map.R
corresponds to wasting manuscript Extended Fig 2fig-DHS-plots-zscores.R
corresponds to wasting manuscript Extended Fig 3fig-pers-wasting.R
corresponds to wasting manuscript Extended Fig 4afig-co-flow.R
corresponds to wasting manuscript Fig 5bfig-co-initial-onset.R
in progress: creates plot of initial onset of wasting and stunting in children with bothfig-wasting-traj.R
archived; not used
-
risk factors
- [Andrew to add]
figures
: folder containing figure outputs from scripts from 5-visualizations
results
: folder containing output from analyses that do not contain identifiers