Skip to content

Commit 92d7643

Browse files
committed
Ensure examples run on main
Change "clear all" to "clear" - this is technically only necessary for multiple SSIT runs where an input expression has been used, as "clear all" for some reason does not clear all symbolic expressions and therefore "formPropensitiesGeneral" will fail on subsequent runs. Also, change "time_index" to "time" in example data. TODO: add catch in SSIT - or the ability to tell SSIT what "time" has been called when using "loadData"
1 parent 5e382b8 commit 92d7643

15 files changed

+1816
-14
lines changed

ExampleData/DUSP1_Dex_100nM_Rep1_Rep2.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cell_number,time_index,RNA_nuc,RNA_cyto,RNA_total,Rep_num
1+
cell_number,time,RNA_nuc,RNA_cyto,RNA_total,Rep_num
22
0,0,2,4,6,1
33
1,0,2,9,11,1
44
2,0,20,75,95,1

Examples/DUSP1SSAData50Expts.csv

+801
Large diffs are not rendered by default.

Examples/ToggleSSAData50Expts.csv

+1,001
Large diffs are not rendered by default.

Examples/example_DUSP1_Regulation.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% Example script to show SSIT application to a simple bursting gene
33
% expression model that ios being fit to smFISH data for DUSP1 upon
44
% stimulation with Dexamethsone.
5-
clear all; clc; close all
5+
clear; clc; close all
66
addpath(genpath('../src'));
77

88
%% STEP1 == Define SSIT Model

Examples/example_EscapeTimes.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
%% example_EscapeTimes
2-
% In this script, we demonstrate how to create and solve a fiorst passage
2+
% In this script, we demonstrate how to create and solve a first passage
33
% time problem.
44
close all
5-
clear all
5+
clear
66
addpath(genpath('../src'));
77
%% Example 1 - a simple transcription/translation model
88
% First create a full model (e.g., for mRNA and protein)

Examples/example_ExtrinsicNoiseModels.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% In this example, we show how to sample an FSM model over intrinsic noise
33
% in its various parameters.
44
close all
5-
clear all
5+
clear
66
addpath(genpath('../src'));
77
%% Example 1 - transcription and translation
88
% First create a full model (e.g., for mRNA and protein)

Examples/example_FIMCalculation.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%% fimExample
22
% In this script, we show how to set up and solve the FSP-FIM matrix with
33
% partial observations and probabilistic distortion.
4-
clear all
4+
clear
55
close all
66
addpath(genpath('../src'));
77

Examples/example_Fit_STL1_mRNA_Data.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
% model to some single-cell smFISH data. For this example, we will use
44
% some data collected in Dr. Gregor Neuert's laboratory at Vanderbilt.
55
close all
6-
clear all
6+
clear
77
addpath(genpath('../src'));
88

99
%% Create SSIT Model

Examples/example_FittingAndDesigningExperiments.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% In this script, we show how the SSIT can be used to identify a
33
% time-inhomogeneous model for the activation of Dusp1 mRNA expression
44
% under Dexamethasome stimulation of Glucocorticoid Receptors.
5-
clear all
5+
clear
66
clc
77
close all
88
addpath(genpath('../src'));

Examples/example_HybridModel.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
% other species (i.e., downstream species) evolving in a discrete
55
% stochastic manner.
66
close all
7-
clear all
7+
clear
88
addpath(genpath('../src'));
99

1010
%% Example 1 - transcription and translation

Examples/example_IterativeBayesianExperimentDesign.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
close all
2-
clear all
2+
clear
33
addpath(genpath('../src'));
44

55
rng(1) % Set RNG seed for reproducibility.

Examples/example_ModelReductionTool.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% In this example, we show how to create reduced FSP models using different
22
% types of projectionbased transformations.
33
close all
4-
clear all
4+
clear
55
addpath(genpath('../src'));
66

77
%% First, choose a model on which to illustrate the reduction approximation,

Examples/example_MultiModelTool.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
% 2) replica to replica variations are expected that would result in
88
% slightly different parameter combinations
99
close all
10-
clear all
10+
clear
1111
addpath(genpath('../src'));
1212

1313
%% Define SSIT Model

Examples/example_SSITBasics.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
clear all
1+
clear
22
close all
33
addpath(genpath('../src'));
44

Examples/example_ToggleSwitch.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%% example_toggleSwitch
22
% Example script to show SSIT application to a simple two species genetic
33
% toggle switch.
4-
clear all
4+
clear
55
close all
66
addpath(genpath('../src'));
77

0 commit comments

Comments
 (0)