-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRun.m
60 lines (49 loc) · 1.16 KB
/
Run.m
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
clear all
close all
clc
warning 'off'
addpath('..');
msg = "What figure to plot?";
opts = ["Figure 2" ....
"Figure 3" ....
"Figure 4" ....
"Figure 5" ....
"Figure 6" ...
"Figure SI" ];
choice = menu(msg,opts);
try
if choice == 1
%% Figure 2
addpath('./CODE/PLOT/Figure 2')
figure2_plotCorrelationNILB
elseif choice == 2
%% Figure 3
addpath('./CODE/PLOT/Figure 3')
figure3_plotCorrelationAZ_Individual
elseif choice == 3
%% Figure 4
addpath('./CODE/PLOT/Figure 4')
figure4_plotPLForPaper2
elseif choice == 4
%% Figure 5
addpath('./CODE/PLOT/Figure 5')
figure5_runDR
elseif choice == 5
%% Figure 6
addpath('./CODE/PLOT/Figure 6')
figure(1); runDrugPrediction
figure(2); makeFigure6_Efficacy
figure(3); makeFigure6_NILB
figure(4); makeFigure6DR
figure(5); makeFigure6DR_zoomed
elseif choice == 6
addpath('./CODE/PLOT/Figure SI')
calc_PL_CI_overlap_Ki
calc_PL_CI_overlap_Ke
end
catch err
close all
disp(err)
disp("The systems biology toolbox (http://www.sbtoolbox2.org/main.php) is necessary to run the scripts in this project.")
disp("It must be compiled and added to the MATLAB path before the scripts are run.")
end