-
Notifications
You must be signed in to change notification settings - Fork 0
/
metabolism.R
55 lines (39 loc) · 1.19 KB
/
metabolism.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
53
54
55
# Differences in metabolism based on differential gene expression
# between the lymphokine clusters
# Tools -------
library(plyr)
library(tidyverse)
library(exda)
library(microViz)
library(soucer)
library(ggrepel)
library(stringi)
library(furrr)
library(BiGGR)
library(biggrExtra)
library(rstatix)
library(ggtext)
explore <- exda::explore
extract <- clustTools::extract
nobs <- clustTools::nobs
reduce <- purrr::reduce
select <- dplyr::select
insert_head()
c('./tools/project_globals.R',
'./tools/project_tools.R') %>%
source_all(message = TRUE, crash = TRUE)
# scripts ------
insert_msg('Metabolism scripts')
## construction of metabolism models - resorting to the cache
if(file.exists('./cache/metabolism.RData')) {
load('./cache/metabolism.RData')
} else {
source_all('./metabolism scripts/testing.R',
message = TRUE, crash = TRUE)
}
c('./metabolism scripts/plots.R',
'./metabolism scripts/detail_plots.R',
'./metabolism scripts/gene_plots.R') %>%
source_all(message = TRUE, crash = TRUE)
# END -----
insert_tail()