Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
Adding all files needed to plot the figures in the paper.
  • Loading branch information
willov committed Dec 9, 2022
0 parents commit 148a5cb
Show file tree
Hide file tree
Showing 4,305 changed files with 229,884 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
*.asv
*mex*
*.h
*.c
~$*.xls*
**/Results*
Ignore/*
Log/*
*.out
*.mat
**/tmpfig/*
*.pdf
**/.vscode
*.png
*.zip
costs.txt
FinalExpandedModel.txt
inhibitions.xlsx
testedInteractions.xlsx
32 changes: 32 additions & 0 deletions Data/MS data/GetPhosphoproteomeData.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
function [ data ] = GetPhosphoproteomeData()
load('Humphrey_2013.mat', 'matchedData')

usefulColumns=[1 3 4 5 8 10 11 50:52 33 20:22];

LY=matchedData(:,25);
MK=matchedData(:,30);

LY.LYDirection = sign(matchedData.LYExpsInsulinStarvedMedianlog2);
MK.MKDirection = sign(matchedData.MKExpsInsulinStarvedMedianlog2);

LY{:,1}=2.^LY{:,1};
MK{:,1}=2.^MK{:,1};

matchedData=[matchedData(:,usefulColumns) LY MK];
matchedData.LYMean=nanmean(LY{:,1},2);
matchedData.LYSEM=nanSEM(LY{:,1},2);
matchedData.MKMean=nanmean(MK{:,1},2);
matchedData.MKSEM=nanSEM(MK{:,1},2);

matchedData.meanValues=[ones(size(matchedData,1),1) matchedData.meanValues];
matchedData.SEMValues=[zeros(size(matchedData,1),1) matchedData.SEMValues];

matchedData = sortrows(matchedData,'IPI368PositioninProtein','ascend');
matchedData = sortrows(matchedData,'Genenamesprimary','ascend');

matchedData.SEMValues(matchedData.SEMValues<1e-10)=inf;

data=matchedData;
data(~any(~isnan(data.meanValues(:,2:end)),2),:)=[]; %Remove data with only nans

end
Binary file added Data/MS data/Humphrey_2013.mat
Binary file not shown.
Binary file added Data/MS data/responders_sequence.mat
Binary file not shown.
Binary file added Data/MS data/uniprotTranslation.mat
Binary file not shown.
Binary file added Data/expDataAdiponectin.mat
Binary file not shown.
Binary file added Data/expDataDiabetes.mat
Binary file not shown.
Binary file added Data/expDataLipolysis.mat
Binary file not shown.
Binary file added Data/expDataRajan.mat
Binary file not shown.
Binary file added Data/stichfig1.mat
Binary file not shown.
Binary file added Data/stichfig2.mat
Binary file not shown.
Binary file added Data/stichfig3.mat
Binary file not shown.
68 changes: 68 additions & 0 deletions Models/Pairwise/Multi_Combined.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
********** MODEL NAME
Multi_Combined

********** MODEL NOTES

********** MODEL STATES
d/dt(C)=v_C__C_p
d/dt(C_p)=-v_C__C_p

C(0)=50
C_p(0)=50

********** MODEL PARAMETERS
A_px1=1
A_px2=1
A_px3=1
A_px4=1
A_px5=1
A_px6=1
A_px7=1
A_px8=1
A_px9=1
A_py1=1
A_py2=1
A_py3=1
A_py4=1
A_py5=1
A_py6=1
A_py7=1
A_py8=1
A_py9=1
B_px1=1
B_px2=1
B_px3=1
B_px4=1
B_px5=1
B_px6=1
B_px7=1
B_px8=1
B_px9=1
B_py1=1
B_py2=1
B_py3=1
B_py4=1
B_py5=1
B_py6=1
B_py7=1
B_py8=1
B_py9=1

useInterp=1

k_C_C_p=1
k_C_C_p_1=1

********** MODEL VARIABLES
A_p=(1-useInterp)+useInterp*interpcsIQM([A_px1, A_px2, A_px3, A_px4, A_px5, A_px6, A_px7, A_px8, A_px9], [A_py1, A_py2, A_py3, A_py4, A_py5, A_py6, A_py7, A_py8, A_py9], time)
B_p=(1-useInterp)+useInterp*interpcsIQM([B_px1, B_px2, B_px3, B_px4, B_px5, B_px6, B_px7, B_px8, B_px9], [B_py1, B_py2, B_py3, B_py4, B_py5, B_py6, B_py7, B_py8, B_py9], time)

********** MODEL REACTIONS
v_C__C_p=-C*A_p*k_C_C_p + C_p*B_p*k_C_C_p_1

********** MODEL FUNCTIONS

********** MODEL EVENTS

********** MODEL MATLAB FUNCTIONS

69 changes: 69 additions & 0 deletions Models/Pairwise/Multi_Dephos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
********** MODEL NAME
Multi_Dephos

********** MODEL NOTES

********** MODEL STATES
d/dt(C)=v_C__C_p
d/dt(C_p)=-v_C__C_p

C(0)=50
C_p(0)=50

********** MODEL PARAMETERS
A_px1=1
A_px2=1
A_px3=1
A_px4=1
A_px5=1
A_px6=1
A_px7=1
A_px8=1
A_px9=1
A_py1=1
A_py2=1
A_py3=1
A_py4=1
A_py5=1
A_py6=1
A_py7=1
A_py8=1
A_py9=1
B_px1=1
B_px2=1
B_px3=1
B_px4=1
B_px5=1
B_px6=1
B_px7=1
B_px8=1
B_px9=1
B_py1=1
B_py2=1
B_py3=1
B_py4=1
B_py5=1
B_py6=1
B_py7=1
B_py8=1
B_py9=1

useInterp=1

k_C_C_p_f=1
k_C_C_p_b=1
k_C_C_p=1

********** MODEL VARIABLES
A_p=(1-useInterp)+useInterp*interpcsIQM([A_px1, A_px2, A_px3, A_px4, A_px5, A_px6, A_px7, A_px8, A_px9], [A_py1, A_py2, A_py3, A_py4, A_py5, A_py6, A_py7, A_py8, A_py9], time)
B_p=(1-useInterp)+useInterp*interpcsIQM([B_px1, B_px2, B_px3, B_px4, B_px5, B_px6, B_px7, B_px8, B_px9], [B_py1, B_py2, B_py3, B_py4, B_py5, B_py6, B_py7, B_py8, B_py9], time)

********** MODEL REACTIONS
v_C__C_p=-C*k_C_C_p_f + C_p*A_p*k_C_C_p_b + C_p*B_p*k_C_C_p

********** MODEL FUNCTIONS

********** MODEL EVENTS

********** MODEL MATLAB FUNCTIONS

69 changes: 69 additions & 0 deletions Models/Pairwise/Multi_Phos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
********** MODEL NAME
Multi_Phos

********** MODEL NOTES

********** MODEL STATES
d/dt(C)=v_C__C_p
d/dt(C_p)=-v_C__C_p

C(0)=50
C_p(0)=50

********** MODEL PARAMETERS
A_px1=1
A_px2=1
A_px3=1
A_px4=1
A_px5=1
A_px6=1
A_px7=1
A_px8=1
A_px9=1
A_py1=1
A_py2=1
A_py3=1
A_py4=1
A_py5=1
A_py6=1
A_py7=1
A_py8=1
A_py9=1
B_px1=1
B_px2=1
B_px3=1
B_px4=1
B_px5=1
B_px6=1
B_px7=1
B_px8=1
B_px9=1
B_py1=1
B_py2=1
B_py3=1
B_py4=1
B_py5=1
B_py6=1
B_py7=1
B_py8=1
B_py9=1

useInterp=1

k_C_C_p_f=1
k_C_C_p_b=1
k_C_C_p=1

********** MODEL VARIABLES
A_p=(1-useInterp)+useInterp*interpcsIQM([A_px1, A_px2, A_px3, A_px4, A_px5, A_px6, A_px7, A_px8, A_px9], [A_py1, A_py2, A_py3, A_py4, A_py5, A_py6, A_py7, A_py8, A_py9], time)
B_p=(1-useInterp)+useInterp*interpcsIQM([B_px1, B_px2, B_px3, B_px4, B_px5, B_px6, B_px7, B_px8, B_px9], [B_py1, B_py2, B_py3, B_py4, B_py5, B_py6, B_py7, B_py8, B_py9], time)

********** MODEL REACTIONS
v_C__C_p=-C*A_p*k_C_C_p_f + C_p*k_C_C_p_b + -C*B_p*k_C_C_p

********** MODEL FUNCTIONS

********** MODEL EVENTS

********** MODEL MATLAB FUNCTIONS

51 changes: 51 additions & 0 deletions Models/Pairwise/dephos_model.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
********** MODEL NAME
dephos_model

********** MODEL NOTES
model

********** MODEL STATES
d/dt(B)=-v1
d/dt(Bp)=v1

B(0)=50
Bp(0)=50

********** MODEL PARAMETERS
x1=1
x2=1
x3=1
x4=1
x5=1
x6=1
x7=1
x8=1
x9=1

y1=1
y2=1
y3=1
y4=1
y5=1
y6=1
y7=1
y8=1
y9=1

useInterp=1

kp=1
kd=1
********** MODEL VARIABLES
va=(1-useInterp)+useInterp*interpcsIQM([x1, x2, x3, x4, x5, x6, x7, x8, x9],[y1, y2, y3, y4, y5, y6, y7, y8, y9], time)

********** MODEL REACTIONS
v1=kp*B-va*kd*Bp

********** MODEL FUNCTIONS

********** MODEL EVENTS


********** MODEL MATLAB FUNCTIONS

52 changes: 52 additions & 0 deletions Models/Pairwise/mm_model.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
********** MODEL NAME
mm_model

********** MODEL NOTES
model

********** MODEL STATES
d/dt(B)=-v1
d/dt(Bp)=v1

B(0)=50
Bp(0)=50

********** MODEL PARAMETERS
x1=1
x2=1
x3=1
x4=1
x5=1
x6=1
x7=1
x8=1
x9=1

y1=1
y2=1
y3=1
y4=1
y5=1
y6=1
y7=1
y8=1
y9=1

useInterp=1

kp=1
kd=1
km=1
********** MODEL VARIABLES
va=(1-useInterp)+useInterp*interpcsIQM([x1, x2, x3, x4, x5, x6, x7, x8, x9],[y1, y2, y3, y4, y5, y6, y7, y8, y9], time)

********** MODEL REACTIONS
v1=va/(km+va)*kp*B-kd*Bp

********** MODEL FUNCTIONS

********** MODEL EVENTS


********** MODEL MATLAB FUNCTIONS

Loading

0 comments on commit 148a5cb

Please sign in to comment.