Skip to content

Commit

Permalink
Remove figures not in manuscript nor supplement
Browse files Browse the repository at this point in the history
  • Loading branch information
ashattock committed Apr 16, 2024
1 parent 14a2ad0 commit f3af9a0
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 1,506 deletions.
11 changes: 0 additions & 11 deletions coverage.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,8 @@ prepare_coverage = function() {
# Plot total number of FVP over time
plot_total_fvps()

# Plot coverage density by disease
plot_coverage()

# Coverage data density by age
plot_coverage_age_density()

# Missing coverage data by country
plot_missing_data()
}

# ---------------------------------------------------------
Expand Down Expand Up @@ -550,14 +544,9 @@ smooth_static_fvps = function(coverage_dt) {
fill(source, .direction = "updown") %>%
arrange(d_v_a_id, country, year, age)

# ---- Diagnostic plots ----

# Save table for diagnostic plots
save_table(smooth_dt, "smoothed_fvps")

# Diagnostic plots for FVPs smoothing
plot_smooth_fvps()

return(smoothed_coverage_dt)
}

Expand Down
9 changes: 0 additions & 9 deletions external.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,11 @@ run_external = function() {

# ---- Data visualisation plots ----

# Plot outcomes from each external model
plot_external_models()

# Plot total number of FVP over time
plot_total_fvps()

# Plot coverage density by disease
plot_coverage()

# Coverage data density by age
plot_coverage_age_density()

# Missing coverage data by country
plot_missing_data()
}

# ---------------------------------------------------------
Expand Down
10 changes: 0 additions & 10 deletions history.R
Original file line number Diff line number Diff line change
Expand Up @@ -329,16 +329,6 @@ run_history = function(metric) {
# Save results to file
save_rds(yll_time_dt, "history", "burden_averted_yll")
}

# ---- Plot diagnostic figures ----

# NOTE: Most results figures created in final module

# Plot inital impact ratios used to back project
plot_impact_fvps(metric, scope = "initial")

# Plot comparison of EPI50 outcomes vs VIMC outcomes
plot_vimc_comparison()
}

# ---------------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions impact.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ run_impact = function(metric) {
# Prepare impact-FVP data to fit to
data_dt = get_impact_data(metric)

# Exploratory plots of data used to fit impact functions
plot_impact_data(metric)

# ---- Model fitting ----

message(" > Evaluating impact functions")
Expand Down
2 changes: 1 addition & 1 deletion launch.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source("dependencies.R")
message("Running EPI50 pipeline")

# Define modules to be run
run_modules = 8
run_modules = 1 : 8

# Set global options (see options.R)
o = set_options(run_module = run_modules)
Expand Down
1 change: 0 additions & 1 deletion options.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ set_options = function(run_module = NA) {

# Turn figures on or off
o$plot_inputs = TRUE
o$plot_external = TRUE
o$plot_static = TRUE
o$plot_imputation = TRUE
o$plot_impact = TRUE
Expand Down
Loading

0 comments on commit f3af9a0

Please sign in to comment.