/
pub_plots_for_param_est.m
171 lines (164 loc) · 7.46 KB
/
pub_plots_for_param_est.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
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
%% Combines & constructs plots for parameter estimation output for all cases for PK-PD model for ACE inhibition
% Uses the output of param_estimation.m function for the four different
% drug and renalfunction cases are stored in PE_drugnamerenalfunction.mat files.
close all
BenNRF = matfile('PE_benazeprilnormal.mat');
BenIRF = matfile('PE_benazeprilimpaired.mat');
CilNRF = matfile('PE_cilazaprilnormal.mat');
CilIRF = matfile('PE_cilazaprilimpaired.mat');
BenNRFt = BenNRF.drugoutput(:,1);
BenNRFAngII_conc = BenNRF.drugoutput(:,3);
BenNRFAngI_conc = BenNRF.drugoutput(:,4);
BenNRFRenin_conc = BenNRF.drugoutput(:,6);
BenNRFPRA = 0.696+0.045.*BenNRFRenin_conc;
BenNRFXdata = BenNRF.Xdata;
BenNRFYdata = BenNRF.Ydata;
BenIRFt = BenIRF.drugoutput(:,1);
BenIRFAngII_conc = BenIRF.drugoutput(:,3);
BenIRFAngI_conc = BenIRF.drugoutput(:,4);
BenIRFRenin_conc = BenIRF.drugoutput(:,6);
BenIRFPRA = 0.696+0.045.*BenIRFRenin_conc;
BenIRFXdata = BenIRF.Xdata;
BenIRFYdata = BenIRF.Ydata;
BenNRFAngIIerror = BenNRF.AngIIerror;
BenNRFAngIerror = BenNRF.AngIerror;
BenNRFPRAerror = BenNRF.PRAerror;
BenIRFAngIIerror = BenIRF.AngIIerror;
BenIRFAngIerror = BenIRF.AngIerror;
BenIRFPRAerror = BenIRF.PRAerror;
CilNRFt = CilNRF.drugoutput(:,1);
CilNRFAngII_conc = CilNRF.drugoutput(:,3);
CilNRFAngI_conc = CilNRF.drugoutput(:,4);
CilNRFRenin_conc = CilNRF.drugoutput(:,6);
CilNRFPRA = 0.696+0.045.*CilNRFRenin_conc;
CilNRFXdata = CilNRF.Xdata;
CilNRFYdata = CilNRF.Ydata;
CilIRFt = CilIRF.drugoutput(:,1);
CilIRFAngII_conc = CilIRF.drugoutput(:,3);
CilIRFAngI_conc = CilIRF.drugoutput(:,4);
CilIRFRenin_conc = CilIRF.drugoutput(:,6);
CilIRFPRA = 0.696+0.045.*CilIRFRenin_conc;
CilIRFXdata = CilIRF.Xdata;
CilIRFYdata = CilIRF.Ydata;
set(0,'DefaultAxesColorOrder',[19 106 177; 204 88 37; 126 ...
162 43; 109 55 136; 143 143 145]/255)
figure(1)
plot(BenNRFt,BenNRFAngII_conc,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(BenIRFt,BenIRFAngII_conc,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
errorbar(BenNRFXdata,BenNRFYdata(1,:),BenNRFAngIIerror,'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
errorbar(BenIRFXdata,BenIRFYdata(1,:),BenIRFAngIIerror,'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 25])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('Ang II Conc. (pg ml^{-1})','FontName','Arial','FontSize',10)
legend('-Dynamiclegend','Location','North')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_ben_AngIIvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');
figure(2)
plot(CilNRFt,CilNRFAngII_conc,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(CilIRFt,CilIRFAngII_conc,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
plot(CilNRFXdata,CilNRFYdata(1,:),'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
plot(CilIRFXdata,CilIRFYdata(1,:),'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 40])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('Ang II Conc. (pg ml^{-1})','FontName','Arial','FontSize',10)
legend('-Dynamiclegend','Location','North')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_cil_AngIIvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');
figure(3)
plot(BenNRFt,BenNRFAngI_conc,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(BenIRFt,BenIRFAngI_conc,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
errorbar(BenNRFXdata,BenNRFYdata(2,:),BenNRFAngIerror,'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
errorbar(BenIRFXdata,BenIRFYdata(2,:),BenIRFAngIerror,'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 1200])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('Ang I Conc. (pg ml^{-1})','Interpreter','Tex','FontName','Arial','FontSize',10)
legend('-Dynamiclegend','Location','NorthEast')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_ben_AngIvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');
figure(4)
plot(CilNRFt,CilNRFAngI_conc,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(CilIRFt,CilIRFAngI_conc,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
plot(CilNRFXdata,CilNRFYdata(2,:),'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
plot(CilIRFXdata,CilIRFYdata(2,:),'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 1000])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('Ang I Conc. (pg ml^{-1})','Interpreter','Tex','FontName','Arial','FontSize',10)
legend('-Dynamiclegend','Location','North')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_cil_AngIvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');
figure(5)
plot(BenNRFt,BenNRFPRA,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(BenIRFt,BenIRFPRA,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
errorbar(BenNRFXdata,BenNRFYdata(3,:),BenNRFPRAerror,'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
errorbar(BenIRFXdata,BenIRFYdata(3,:),BenIRFPRAerror,'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 8])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('PRA (ng ml^{-1} h^{-1})','Interpreter','Tex','FontSize',10,'FontName','Arial')
legend('-Dynamiclegend','Location','North')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_ben_PRAvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');
figure(6)
plot(CilNRFt,CilNRFPRA,'linewidth',1.25,'DisplayName',...
'NRF fit')
hold on
plot(CilIRFt,CilIRFPRA,'--','linewidth',1.25,'DisplayName',...
'IRF fit')
ax = gca;
ax.ColorOrderIndex = 1;
plot(CilNRFXdata,CilNRFYdata(3,:),'s','MarkerSize',3,'MarkerfaceColor','auto','DisplayName',...
'NRF data')
plot(CilIRFXdata,CilIRFYdata(3,:),'s','MarkerSize',3,'DisplayName',...
'IRF data')
hold off
axis([-1 25 0 30])
xlabel('Time (h)','FontName','Arial','FontSize',10)
ylabel('PRA (ng ml^{-1} h^{-1})','Interpreter','Tex','FontSize',10,'FontName','Arial')
legend('-Dynamiclegend','Location','North')
get(gca);set(gca,'FontSize',10,'FontName','Arial');
set(gcf, 'Color', 'w','Units', 'inches', 'Position', [0 0 3.5 2.5]);
export_fig('pub_plots/PE_cil_PRAvstime','-r1000', '-a4', '-q101', '-painters', '-eps', '-png', '-tiff');