-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfigures.makefile
28 lines (18 loc) · 1008 Bytes
/
figures.makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
RFIG := R/fig
FIGREF := ${INDIR}/plotref.rda
${FIGREF}: ${RFIG}/plotref.R
$(call R)
figs: $(patsubst %,${FIGDIR}/%.png,2021-12-06/omicron_ratios 2021-11-27/omicron_ratios 2021-12-06/thresholds 2021-11-27/thresholds prime_vs_reinf)
${FIGDIR}/frequencies.png: ${RFIG}/fig_frequency.R $(addprefix ${INDIR}/,sssims.rds simbig.quasi.rds simbig.bin.rds) ${INDIR}/sgtf.rds
$(call R)
${FIGDIR}/%/omicron_ratios.png: ${RFIG}/fig_rt_ratios.R ${OUTDIR}/%/omicron_ratios.rds
$(call R)
${FIGDIR}/prime_vs_reinf.png: ${RFIG}/fig_rt_prime_vs_reinf.R ${OTHERRTDIR}
$(call R)
${FIGDIR}/%/thresholds.png: ${RFIG}/fig_thresholds.R ${OUTDIR}/%/thresholds.rds
$(call R)
${FIGDIR}/sgtf_model_comparison.png: ${RFIG}/sgtf_model_comparison.R ${INDIR}/sgtf.rds ${OUTDIR}/sgtf | ${INDIR}/plotref.rda
$(call R,$|)
${FIGDIR}/%/incidence_ensemble.png: ${RFIG}/incidence_ensemble.R ${INDIR}/incidence.rds ${OUTDIR}/%/incidence_ensemble.rds | ${INDIR}/plotref.rda
$(call R,$|)
figtest: ${FIGDIR}/sgtf_model_comparison.png