forked from USGS-R/GLRI_CEC_2016
-
Notifications
You must be signed in to change notification settings - Fork 0
/
40_pesticide_figs.yml
138 lines (104 loc) · 4.42 KB
/
40_pesticide_figs.yml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
target_default: 40_pesticide_figs
include:
- 30_reports.yml
packages:
- knitr
- rmarkdown
- toxEval
- dplyr
- tidyr
- ggplot2
- yaml
- viridis
- lubridate
sources:
- 40_pesticide_figs/src/combo_graph_function.R
- 40_pesticide_figs/src/fig1_combo_graph.R
- 40_pesticide_figs/src/plot_tox_endpoints_manuscript.R
- 40_pesticide_figs/src/endpoint_graph.R
- 40_pesticide_figs/src/summary_figures.R
- 40_pesticide_figs/src/unique_chem_figs.R
- 40_pesticide_figs/src/generate_site_info_table.R
targets:
40_pesticide_figs:
depends:
- figure/tox_bench_conc.png
- figure/tox_bench.png
- figure/endpoint.png
# - summary figs by site, time, total conc. etc - #
summary_figs:
depends:
- figure/sum_conc_by_site.png
- figure/sum_conc_by_site_detects.png
- figure/sum_conc_by_site_month.png
- figure/sum_conc_through_time_by_site.png
- figure/sum_conc_by_month_site.png
- figure/ndetect_by_site_month.png
- figure/ndetect_by_month_site.png
- figure/ndetect_through_time_by_site.png
#- figure/nchems_bysitedate.png
- figure/cumulative_chems_time_bysite.png
- figure/new_chems_time_bysite.png
- figure/site_table.csv
- figure/tox_bench_conc_deg.png
- figure/tox_bench_hbs.png
sum_conc:
command: sum_pest_conc(chem_master_data, chems_missing_cas)
unique_chems:
command: get_n_unique_chems(reduced_dat, sites)
sums:
command: combine_dat(parent_sums, sites)
figures/ms_figures/site_table.csv:
command: gather_site_info(target_name, sites, neonic)
# still need to classify chems with no chem Class
# also need to get everything in same units
figures/ms_supplement_figures/chem_table.csv:
command: gather_chem_info(target_name, chem_dls, chemicalSummary_conc_deg_meto, chem_crosswalk)
# figures/ms_supplement_figures/site_chem_table.csv:
# command: gather_chem_info(target_name, chem_dls, chemicalSummary_conc, chem_info, parents = chem_crosswalk)
figure/cumulative_chems_time_bysite.png:
command: plot_unique_chems(target_name, unique_chems, type = I('cumulative'))
figure/new_chems_time_bysite.png:
command: plot_unique_chems(target_name, unique_chems, type = I('new'))
figure/sum_conc_by_site.png:
command: boxplot_bysite(sum_conc, target_name, detect_only = FALSE)
figure/sum_conc_by_site_detects.png:
command: boxplot_bysite(sum_conc, target_name, detect_only = TRUE)
figure/sum_conc_by_site_month.png:
command: boxplot_bysite_month(sum_conc, target_name, site_info)
figure/sum_conc_through_time_by_site.png:
command: plot_throughtime_bysite(sum_conc, target_name)
figure/sum_conc_by_month_site.png:
command: boxplot_bymonth_site(sum_conc, target_name, site_info)
figure/ndetect_by_site_month.png:
command: boxplot_ndetect_bysite_month(sum_conc, target_name, site_info)
figure/ndetect_by_month_site.png:
command: boxplot_ndetect_bymonth_site(sum_conc, target_name, site_info)
figure/ndetect_through_time_by_site.png:
command: plot_nchem_throughtime_bysite(sum_conc, target_name, site_info)
#figure/nchems_bysitedate.png:
# command: plot_nchem_bysitedate(reduced_dat, target_name)
pesticide_sum_concentration_figs:
command: plot_sum_concentration()
graph_data_tox:
command: graph_chem_data(chemicalSummary)
graph_data_wq:
command: graph_chem_data(chemicalSummary_bench, sum_logic = FALSE)
graph_data_conc:
command: graph_chem_data(chemicalSummary_conc)
graph_data_tox_deg:
command: graph_chem_data(chemicalSummary_deg_meto)
graph_data_hbs:
command: graph_chem_data(chemicalSummary_bench_hbs, sum_logic = FALSE)
figure/tox_bench_conc.png:
command: graphData_combos(graph_data_tox, graph_data_wq, graph_data_conc, target_name)
figure/tox_bench_conc_deg.png:
command: graphData_combos(graph_data_tox_deg, graph_data_wq, graph_data_conc, target_name)
figure/tox_bench_hbs.png:
command: graphData_combos(graph_data_tox, graph_data_wq, graph_data_hbs, target_name)
figure/tox_bench.png:
command: graphData_wq_tox(graph_data_tox, graph_data_wq, target_name)
figure/endpoint.png:
command: endpoint_graph(target_name, chemicalSummary, AOP, I(0.001), I(10))
figure/tox_eval_dls.png:
command: plot_dls_tox(chem_dls, chemicalSummary_dls, pCodeInfo, target_name)