Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simulate-MT-44
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Lauren McCormick
simulate-MT-44
Commits
e42d5d36
Commit
e42d5d36
authored
3 years ago
by
Lauren McCormick
Browse files
Options
Downloads
Patches
Plain Diff
Script to run simulations of microtubule growth at various concentrations.
parent
eb090cc8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
varyConcentration.m
+35
-0
35 additions, 0 deletions
varyConcentration.m
with
35 additions
and
0 deletions
varyConcentration.m
0 → 100644
+
35
−
0
View file @
e42d5d36
% Example code - run microtubule simulations in absence of GTPase activity
% using a range of tubulin concentrations. Simulation defaults have been set
% according to conditions used in the publication. 'zz' is arbitrary
%
% NOTE: Path to fortran executable is specified in Smtl.m
%
% For usage details, see comments in Smtll.m and Smtl.m
% Directory where you want your stuff to run. Files will be stored here.
md
=
'/home2/s422146/matlab_codes/ElifeFinal2022'
;
cd
(
md
);
% Path to Smtll.m and Smtl.m
addpath
(
'/home2/s422146/matlab_codes/ElifeFinal2022'
);
% Create Smtll, specify directory and filename ('varyConcentration')
% Simulation Model 44, Start Condition 1, 50 simulation replicates.
zz
=
Smtll
(
md
,
'varyConcentration'
,
44
,
1
,
50
)
% Specify a concentration range to test [M]
zz
.
setPara
(
2
)
.
list
=
[
7.5e-6
1e-5
1.25e-5
1.5e-5
1.75e-5
];
% Parameters can be changed interactively in Matlab GUI, or also like this:
% r1.setPara(1).list = 740959; % change kon;
zz
=
zz
.
addGenerated
();
zz
=
zz
.
run
()
% Visualize aggregate results in zz.stat
% To load one Smtl out of the Smtll:
zz_1
=
zz
.
getSmtl
(
1
)
% Visualize individual simulation results in zz_1.stat
% Visualize individual simulation outputs in zz_1.data
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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