-
Notifications
You must be signed in to change notification settings - Fork 0
/
knit.R
37 lines (30 loc) · 1.53 KB
/
knit.R
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
# this top-level script may be used to run (knit) the individual
# Rmd files
# set up output path for the reports
config <- yaml::read_yaml("config.yaml")
report_dir <- file.path(config$out_root, 'html')
dir.create(report_dir)
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '01_load_and_filter.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '02_integration.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '03_azimuth_annotation.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '04_clonotypes.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '05_diff_expr.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())
rmarkdown::render(input = file.path(config$project_root, 'Rmd', '06_figures.Rmd'),
output_dir = report_dir,
knit_root_dir = config$project_root,
envir = new.env())