generated from opensafely/research-template
/
project.yaml
361 lines (324 loc) · 15 KB
/
project.yaml
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
version: '3.0'
expectations:
population_size: 100000
actions:
generate_study_population:
run: cohortextractor:latest generate_cohort --study-definition study_definition --output-format=csv.gz
outputs:
highly_sensitive:
cohort: output/input.csv.gz
generate_study_population_ba2:
run: cohortextractor:latest generate_cohort --study-definition study_definition_ba2 --output-format=csv.gz
outputs:
highly_sensitive:
cohort: output/input_ba2.csv.gz
data_process:
run: r:latest analysis/data_process.R
needs: [generate_study_population]
outputs:
highly_sensitive:
data1: output/data/data_processed_day0.rds
data2: output/data/data_processed_day5.rds
data_process_ba2:
run: r:latest analysis/data_process_ba2.R
needs: [generate_study_population_ba2]
outputs:
highly_sensitive:
data1: output/data/ba2_data_processed_day0.rds
data2: output/data/ba2_data_processed_day5.rds
data_properties_process_day0:
run: r:latest analysis/data_properties.R output/data/data_processed_day0.rds output/data_properties
needs: [data_process]
outputs:
moderately_sensitive:
txt1: output/data_properties/data_processed_day0_skim.txt
txt2: output/data_properties/data_processed_day0_coltypes.txt
txt3: output/data_properties/data_processed_day0_tabulate.txt
data_properties_process_day5:
run: r:latest analysis/data_properties.R output/data/data_processed_day5.rds output/data_properties
needs: [data_process]
outputs:
moderately_sensitive:
txt1: output/data_properties/data_processed_day5_skim.txt
txt2: output/data_properties/data_processed_day5_coltypes.txt
txt3: output/data_properties/data_processed_day5_tabulate.txt
data_properties_process_day0_ba2:
run: r:latest analysis/data_properties.R output/data/ba2_data_processed_day0.rds output/data_properties
needs: [data_process_ba2]
outputs:
moderately_sensitive:
txt1: output/data_properties/ba2_data_processed_day0_skim.txt
txt2: output/data_properties/ba2_data_processed_day0_coltypes.txt
txt3: output/data_properties/ba2_data_processed_day0_tabulate.txt
data_properties_process_day5_ba2:
run: r:latest analysis/data_properties.R output/data/ba2_data_processed_day5.rds output/data_properties
needs: [data_process_ba2]
outputs:
moderately_sensitive:
txt1: output/data_properties/ba2_data_processed_day5_skim.txt
txt2: output/data_properties/ba2_data_processed_day5_coltypes.txt
txt3: output/data_properties/ba2_data_processed_day5_tabulate.txt
crosstab_trt_outcomes:
run: r:latest analysis/crosstab_trt_outcomes.R
needs: [data_process]
outputs:
moderately_sensitive:
csvsday5: output/data_properties/day5_*.csv
csvsday0: output/data_properties/day0_*.csv
csvflowchart: output/data_properties/flowchart.csv
csvflowchartrdctd: output/tables/flowchart_redacted.csv
crosstab_trt_outcomes_ba2:
run: r:latest analysis/crosstab_trt_outcomes_ba2.R
needs: [data_process_ba2]
outputs:
moderately_sensitive:
csvsday5: output/data_properties/ba2_day5_*.csv
csvsday0: output/data_properties/ba2_day0_*.csv
csvflowchart: output/data_properties/flowchart_ba2.csv
csvflowchartrdctd: output/tables/flowchart_redacted_ba2.csv
table_1_day5:
run: r:latest analysis/table_1.R day5
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/table1_redacted_day5_new.rds
moderately_sensitive:
table: output/tables/table1_redacted_day5_new.html
table_1_day5_ba2:
run: r:latest analysis/table_1_ba2.R day5
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/table1_redacted_day5_ba2_new.rds
moderately_sensitive:
table: output/tables/table1_redacted_day5_ba2_new.html
cox_day5_full:
run: r:latest analysis/cox_models.R day5 full
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_new.png
figure3: output/figs/*_full_cumInc_day5_new.png
table1: output/tables/cox_models_day5_full_new.csv
table2: output/tables/log_cox_models_day5_full_new.csv
model1: output/data_models/*_full_psModelFit_new.rds
cox_day5_full_ba2:
run: r:latest analysis/cox_models_ba2.R day5 full
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_ba2_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_ba2_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_ba2_new.png
figure3: output/figs/*_full_cumInc_day5_ba2_new.png
table1: output/tables/cox_models_day5_full_ba2_new.csv
table2: output/tables/log_cox_models_day5_full_ba2_new.csv
model1: output/data_models/*_full_psModelFit_ba2_new.rds
cox_day5_age_sex:
run: r:latest analysis/cox_models.R day5 agesex
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_new.png
figure3: output/figs/*_agesex_cumInc_day5_new.png
table1: output/tables/cox_models_day5_agesex_new.csv
table2: output/tables/log_cox_models_day5_agesex_new.csv
model1: output/data_models/*_agesex_psModelFit_new.rds
cox_day5_age_sex_ba2:
run: r:latest analysis/cox_models_ba2.R day5 agesex
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_ba2_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_ba2_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_ba2_new.png
figure3: output/figs/*_agesex_cumInc_day5_ba2_new.png
table1: output/tables/cox_models_day5_agesex_ba2_new.csv
table2: output/tables/log_cox_models_day5_agesex_ba2_new.csv
model1: output/data_models/*_agesex_psModelFit_ba2_new.rds
cox_day5_crude:
run: r:latest analysis/cox_models.R day5 crude
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_new.csv
table2: output/tables/log_cox_models_day5_crude_new.csv
cox_day5_crude_ba2:
run: r:latest analysis/cox_models_ba2.R day5 crude
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_ba2_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_ba2_new.csv
table2: output/tables/log_cox_models_day5_crude_ba2_new.csv
trt_pat_day5:
run: r:latest analysis/treatment_distributions.R day5
needs: [data_process]
outputs:
moderately_sensitive:
figure: output/figs/day5_treatment_pattern.png
cox_day0:
run: r:latest analysis/cox_models_day0.R
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day0.rds
moderately_sensitive:
table1: output/tables/cox_models_day0.csv
table2: output/tables/estimates_day0.csv
table3: output/tables/log_cox_models_day0.csv
table4: output/tables/outcomes_day0.csv
## # # # # # # # # # # # # # # # # # # #
## Subgroup
## # # # # # # # # # # # # # # # # # # #
cox_day5_full_organ:
run: r:latest analysis/cox_models_organ.R day5 full
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_organ_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_organ_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_organ_new.png
figure3: output/figs/*_full_cumInc_day5_organ_new.png
table1: output/tables/cox_models_day5_full_organ_new.csv
table2: output/tables/log_cox_models_day5_full_organ_new.csv
model1: output/data_models/*_full_psModelFit_organ_new.rds
cox_day5_age_sex_organ:
run: r:latest analysis/cox_models_organ.R day5 agesex
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_organ_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_organ_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_organ_new.png
figure3: output/figs/*_agesex_cumInc_day5_organ_new.png
table1: output/tables/cox_models_day5_agesex_organ_new.csv
table2: output/tables/log_cox_models_day5_agesex_organ_new.csv
model1: output/data_models/*_agesex_psModelFit_organ_new.rds
cox_day5_crude_organ:
run: r:latest analysis/cox_models_organ.R day5 crude
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_organ_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_organ_new.csv
table2: output/tables/log_cox_models_day5_crude_organ_new.csv
cox_day5_full_organ_ba2:
run: r:latest analysis/cox_models_organ_ba2.R day5 full
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_ba2_organ_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_ba2_organ_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_ba2_organ_new.png
figure3: output/figs/*_full_cumInc_day5_ba2_organ_new.png
table1: output/tables/cox_models_day5_full_ba2_organ_new.csv
table2: output/tables/log_cox_models_day5_full_ba2_organ_new.csv
model1: output/data_models/*_full_psModelFit_ba2_organ_new.rds
cox_day5_age_sex_organ_ba2:
run: r:latest analysis/cox_models_organ_ba2.R day5 agesex
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_ba2_organ_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_ba2_organ_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_ba2_organ_new.png
figure3: output/figs/*_agesex_cumInc_day5_ba2_organ_new.png
table1: output/tables/cox_models_day5_agesex_ba2_organ_new.csv
table2: output/tables/log_cox_models_day5_agesex_ba2_organ_new.csv
model1: output/data_models/*_agesex_psModelFit_ba2_organ_new.rds
cox_day5_crude_organ_ba2:
run: r:latest analysis/cox_models_organ_ba2.R day5 crude
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_ba2_organ_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_ba2_organ_new.csv
table2: output/tables/log_cox_models_day5_crude_ba2_organ_new.csv
cox_day5_full_haem_malig:
run: r:latest analysis/cox_models_haem_malig.R day5 full
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_haem_malig_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_haem_malig_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_haem_malig_new.png
figure3: output/figs/*_full_cumInc_day5_haem_malig_new.png
table1: output/tables/cox_models_day5_full_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_full_haem_malig_new.csv
model1: output/data_models/*_full_psModelFit_haem_malig_new.rds
cox_day5_age_sex_haem_malig:
run: r:latest analysis/cox_models_haem_malig.R day5 agesex
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_haem_malig_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_haem_malig_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_haem_malig_new.png
figure3: output/figs/*_agesex_cumInc_day5_haem_malig_new.png
table1: output/tables/cox_models_day5_agesex_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_agesex_haem_malig_new.csv
model1: output/data_models/*_agesex_psModelFit_haem_malig_new.rds
cox_day5_crude_haem_malig:
run: r:latest analysis/cox_models_haem_malig.R day5 crude
needs: [data_process]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_haem_malig_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_crude_haem_malig_new.csv
cox_day5_full_haem_malig_ba2:
run: r:latest analysis/cox_models_haem_malig_ba2.R day5 full
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_full_ba2_haem_malig_new.rds
moderately_sensitive:
figure1: output/figs/*_full_overlap_plot_day5_before_restriction_ba2_haem_malig_new.png
figure2: output/figs/*_full_overlap_plot_day5_after_restriction_ba2_haem_malig_new.png
figure3: output/figs/*_full_cumInc_day5_ba2_haem_malig_new.png
table1: output/tables/cox_models_day5_full_ba2_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_full_ba2_haem_malig_new.csv
model1: output/data_models/*_full_psModelFit_ba2_haem_malig_new.rds
cox_day5_age_sex_haem_malig_ba2:
run: r:latest analysis/cox_models_haem_malig_ba2.R day5 agesex
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_agesex_ba2_haem_malig_new.rds
moderately_sensitive:
figure1: output/figs/*_agesex_overlap_plot_day5_before_restriction_ba2_haem_malig_new.png
figure2: output/figs/*_agesex_overlap_plot_day5_after_restriction_ba2_haem_malig_new.png
figure3: output/figs/*_agesex_cumInc_day5_ba2_haem_malig_new.png
table1: output/tables/cox_models_day5_agesex_ba2_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_agesex_ba2_haem_malig_new.csv
model1: output/data_models/*_agesex_psModelFit_ba2_haem_malig_new.rds
cox_day5_crude_haem_malig_ba2:
run: r:latest analysis/cox_models_haem_malig_ba2.R day5 crude
needs: [data_process_ba2]
outputs:
highly_sensitive:
data: output/tables/cox_models_day5_crude_ba2_haem_malig_new.rds
moderately_sensitive:
table1: output/tables/cox_models_day5_crude_ba2_haem_malig_new.csv
table2: output/tables/log_cox_models_day5_crude_ba2_haem_malig_new.csv