-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.R
52 lines (40 loc) · 1.12 KB
/
report.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Analysis report and paper scripts
# tools ----
library(tidyverse)
library(exda)
library(figur)
library(rmarkdown)
library(knitr)
library(bookdown)
library(flextable)
library(writexl)
library(soucer)
library(stringi)
library(AnnotationDbi)
library(org.Hs.eg.db)
library(pathview)
library(coxExtensions)
library(rlang)
library(survival)
explore <- exda::explore
select <- dplyr::select
reduce <- purrr::reduce
set_rownames <- trafo::set_rownames
extract <- clustTools::extract
insert_head()
c('./tools/globals.R',
'./tools/functions.R') %>%
source_all(message = TRUE, crash = TRUE)
# sourcing the scripts -----
insert_msg('Paper scripts')
c('./report scripts/links.R',
'./report scripts/paper_tables.R',
'./report scripts/paper_figures.R',
'./report scripts/paper_supplement.R') %>%
source_all(message = TRUE, crash = TRUE) %>%
print
## rendering parts of the manuscript
c('./report scripts/render.R') %>%
source_all(message = TRUE, crash = TRUE)
# END -----
insert_tail()