Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
updated-multi-level
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISBgroup
Projects
updated-multi-level
Commits
5578ec51
Commit
5578ec51
authored
4 years ago
by
herrTilda
Browse files
Options
Downloads
Patches
Plain Diff
Corrected typo in plotting of figure 2 (mh/k/min->mg/kg/min)
parent
a215cf11
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plotFigures.m
+8
-9
8 additions, 9 deletions
plotFigures.m
with
8 additions
and
9 deletions
plotFigures.m
+
8
−
9
View file @
5578ec51
...
@@ -84,7 +84,7 @@ plotArea(colorMA,simM1,sim_time);
...
@@ -84,7 +84,7 @@ plotArea(colorMA,simM1,sim_time);
yticks
([
0
:
1
:
5
])
yticks
([
0
:
1
:
5
])
xlabel
(
'time (min)'
)
xlabel
(
'time (min)'
)
ylabel
(
'm
h
/kg/min'
)
ylabel
(
'm
g
/kg/min'
)
set
(
gca
,
'FontSize'
,
20
);
set
(
gca
,
'FontSize'
,
20
);
sgtitle
(
'Glucose uptake in muscle and adipose tissue combined'
,
'FontSize'
,
20
)
sgtitle
(
'Glucose uptake in muscle and adipose tissue combined'
,
'FontSize'
,
20
)
legend
(
'M0'
,
'M1'
,
'data'
)
legend
(
'M0'
,
'M1'
,
'data'
)
...
@@ -120,7 +120,7 @@ plotErrorbar(colorM,DATA.time,DATA.Muscle,DATA.SEM1); hold on
...
@@ -120,7 +120,7 @@ plotErrorbar(colorM,DATA.time,DATA.Muscle,DATA.SEM1); hold on
plotErrorbar
(
colorA
,
DATA
.
time
,
DATA
.
Adipose
,
DATA
.
SEM2
);
plotErrorbar
(
colorA
,
DATA
.
time
,
DATA
.
Adipose
,
DATA
.
SEM2
);
xlabel
(
'time (min)'
)
xlabel
(
'time (min)'
)
ylabel
(
'm
h
/kg/min'
)
ylabel
(
'm
g
/kg/min'
)
legend
([
m
,
a
],
'muscle tissue'
,
'adipose tissue'
)
legend
([
m
,
a
],
'muscle tissue'
,
'adipose tissue'
)
set
(
gca
,
'FontSize'
,
20
);
set
(
gca
,
'FontSize'
,
20
);
xticks
([
0
:
200
:
400
]);
xticks
([
0
:
200
:
400
]);
...
@@ -165,13 +165,12 @@ sim_muscleB = sim.variablevalues(:,ismember(IQMvariables(model),'U_idm'))';
...
@@ -165,13 +165,12 @@ sim_muscleB = sim.variablevalues(:,ismember(IQMvariables(model),'U_idm'))';
[
sampledParams
]
=
sample_params
(
100
,
allParams
);
[
sampledParams
]
=
sample_params
(
100
,
allParams
);
boundries
=
get_maxmin
(
sim_time
,
model
,
squeeze
(
sampledParams
),
paramsFixed
);
boundries
=
get_maxmin
(
sim_time
,
model
,
squeeze
(
sampledParams
),
paramsFixed
);
% adipose
figure
()
figure
()
set
(
gcf
,
'Units'
,
'Normalized'
,
'OuterPosition'
,
[
0
,
0.04
,
0.4
,
0.7
]);
set
(
gcf
,
'Units'
,
'Normalized'
,
'OuterPosition'
,
[
0
,
0.04
,
0.4
,
0.7
]);
figSets
()
figSets
()
sgtitle
(
'Glucose uptake in adipose tissue'
,
'FontSize'
,
20
)
sgtitle
(
'Glucose uptake in adipose tissue'
,
'FontSize'
,
20
)
yticks
([
0
:
1
:
3
]);
%M2a
subplot
(
1
,
2
,
1
);
subplot
(
1
,
2
,
1
);
plotSim
(
colorA
,
sim_adiposeA
,
sim_time
);
hold
on
plotSim
(
colorA
,
sim_adiposeA
,
sim_time
);
hold
on
plotErrorbar
(
colorA
,
DATA
.
time
,
DATA
.
Adipose
,
DATA
.
SEM2
);
plotErrorbar
(
colorA
,
DATA
.
time
,
DATA
.
Adipose
,
DATA
.
SEM2
);
...
@@ -180,7 +179,6 @@ yticks([0:1:3])
...
@@ -180,7 +179,6 @@ yticks([0:1:3])
set
(
gca
,
'FontSize'
,
15
);
set
(
gca
,
'FontSize'
,
15
);
set
(
gca
,
'linewidth'
,
1.4
);
set
(
gca
,
'linewidth'
,
1.4
);
% M2b
subplot
(
1
,
2
,
2
);
subplot
(
1
,
2
,
2
);
plotUncertainty
(
colorA
,
boundries
,
sim_time
,
'a'
);
hold
on
plotUncertainty
(
colorA
,
boundries
,
sim_time
,
'a'
);
hold
on
plotSim
(
colorA
,
sim_adiposeB
,
sim_time
);
plotSim
(
colorA
,
sim_adiposeB
,
sim_time
);
...
@@ -196,13 +194,13 @@ figure()
...
@@ -196,13 +194,13 @@ figure()
set
(
gcf
,
'Units'
,
'Normalized'
,
'OuterPosition'
,
[
0
,
0.04
,
0.4
,
0.7
]);
set
(
gcf
,
'Units'
,
'Normalized'
,
'OuterPosition'
,
[
0
,
0.04
,
0.4
,
0.7
]);
figSets
()
figSets
()
sgtitle
(
'Glucose uptake in muscle tissue'
,
'FontSize'
,
20
)
sgtitle
(
'Glucose uptake in muscle tissue'
,
'FontSize'
,
20
)
yticks
([
0
:
1
:
3
]);
subplot
(
1
,
2
,
1
);
subplot
(
1
,
2
,
1
);
plotSim
(
colorM
,
sim_muscleA
,
sim_time
);
hold
on
plotSim
(
colorM
,
sim_muscleA
,
sim_time
);
hold
on
plotErrorbar
(
colorM
,
DATA
.
time
,
DATA
.
Muscle
,
DATA
.
SEM1
);
plotErrorbar
(
colorM
,
DATA
.
time
,
DATA
.
Muscle
,
DATA
.
SEM1
);
title
(
'M2a'
,
'FontSize'
,
12
);
title
(
'M2a'
,
'FontSize'
,
12
);
yticks
([
0
:
1
:
3
])
yticks
([
0
:
1
:
3
])
ylim
([
0
3.5
])
set
(
gca
,
'FontSize'
,
15
);
set
(
gca
,
'FontSize'
,
15
);
set
(
gca
,
'linewidth'
,
1.4
);
set
(
gca
,
'linewidth'
,
1.4
);
...
@@ -212,9 +210,10 @@ plotErrorbar(colorM,DATA.time,DATA.Muscle,DATA.SEM1);
...
@@ -212,9 +210,10 @@ plotErrorbar(colorM,DATA.time,DATA.Muscle,DATA.SEM1);
plotSim
(
colorM
,
sim_muscleB
,
sim_time
);
plotSim
(
colorM
,
sim_muscleB
,
sim_time
);
title
(
'M2b'
,
'FontSize'
,
12
);
title
(
'M2b'
,
'FontSize'
,
12
);
yticks
([
0
:
1
:
3
])
yticks
([
0
:
1
:
3
])
ylim
([
0
3.5
])
set
(
gca
,
'FontSize'
,
15
);
set
(
gca
,
'FontSize'
,
15
);
legend
(
'uncertainty'
,
'data'
,
'simulation'
,
'Location'
,
'northeast'
)
set
(
gca
,
'linewidth'
,
1.4
)
set
(
gca
,
'linewidth'
,
1.4
)
legend
(
'uncertainty'
,
'data'
,
'simulation'
,
'Location'
,
'northeast'
)
%% fig5
%% fig5
...
@@ -230,8 +229,8 @@ iozzo.clearance=100*iozzo.clearance/iozzo.clearance(1);
...
@@ -230,8 +229,8 @@ iozzo.clearance=100*iozzo.clearance/iozzo.clearance(1);
[
~
,
paramsAll
]
=
IQMparameters
(
model
);
[
~
,
paramsAll
]
=
IQMparameters
(
model
);
[
paramsBI
,
paramsI
,
paramsB
,
params
]
=
deal
(
paramsAll
);
[
paramsBI
,
paramsI
,
paramsB
,
params
]
=
deal
(
paramsAll
);
params
(
90
)
=
0
;
% removing insulin infusion, parameter INS_inf
params
(
90
)
=
0
;
paramsB
(
90
)
=
0
;
% removing insulin infusion, parameter INS_inf
paramsB
(
90
)
=
0
;
paramsBI
(
99
)
=
30
*
paramsBI
(
99
);
% adding bradykinin, increases blood foow two-folds
paramsBI
(
99
)
=
30
*
paramsBI
(
99
);
% adding bradykinin, increases blood foow two-folds
[
initsI
]
=
simulateSteadyState
(
model
,
paramsI
);
[
initsI
]
=
simulateSteadyState
(
model
,
paramsI
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment