Please cite the paper:
A Dey, AL MacLean (2024), Transition paths across the EMT landscape are dictated by network logic. bioRxiv, 10.1101/2024.12.03.626660.
This repository contains MATLAB code for analyzing the effects of network logic (AND vs OR) on multistable models of EMT. We analyze tristability via estimation of a potential energy function that permits calculation of the bifurcation landscapes, and analyze model behaviors via statistical analyses and stochastic simulations.
Requirements
- MATLAB (tested on version R2024a)
- All parameter values are included within respective code files unless otherwise specified
- Generated parameter files are required for certain analyses as detailed below.
The following describes the contents of this repository, which can be used to reproduce all of the figures of the paper. The code required to reproduce each figure is contained within the folder of that name. To recapitulate the results from the paper.
- Run the parameter search code first (
CodeMain_RandParSearch_AND.m
andCodeMain_RandParSearch_OR.m
). - Run perturbation analysis code (
CodeMain_PertAND.m
andCodeMain_PertOR.m
). - Run stochastic simulations.
- Generate figures using the respective figure codes with required parameter files.
Code_Fig1B.m
- Generates the multistable landscapes plotted in Fig. 1B- Self-contained code with embedded parameters
Code_Fig2AC.m
- Generates Figures 2A and 2C- Modify SA0 (-25%, -50%) for Fig 2C
- Modify SB0 (-25%, -50%) for Fig 2A
Code_Fig2B.m
- Generates Figure 2BCode_Fig2D.m
- Generates Figure 2DCodeMain_RandParSearch_AND.m
- Random parameter space search for tristability- Outputs stored in
param_SameSA0SB0_AND.mat
- Outputs stored in
CodeMain_PertAND.m
- Perturbation analysis of AND models- Requires
param_SameSA0SB0_AND.mat
- Outputs stored in
param_ThrePert_SA0SB0_25pc_AND.mat
- Requires
Code_Fig2EF.m
- Generates Figures 2E and 2F- Requires both parameter files above
Code_Fig3AC.m
- Generates Figures 3A and 3C- Modify SA0 (-25%, -50%) for Fig 3C
- Modify SB0 (-25%, -50%) for Fig 3A
Code_Fig3B.m
- Generates Figure 3BCode_Fig3D.m
- Generates Figure 3DCodeMain_RandParSearch_OR.m
- Random parameter space search for tristability- Outputs stored in
param_SameSA0SB0_OR.mat
- Outputs stored in
CodeMain_PertOR.m
- Perturbation analysis of OR models- Requires
param_SameSA0SB0_OR.mat
- Outputs stored in
param_ThrePert_SA0SB0_25pc_OR.mat
- Requires
Code_Fig3EF.m
- Generates Figures 3E and 3F- Requires both parameter files above
Fig4_BD_OR_25pcPert.m
- OR model analysis and generates Figs. 4B and 4D- Requires
param_SameSA0SB0_OR.mat
andparam_ThrePert_SA0SB0_25pc_OR.mat
- Requires
Fig4_AC_AND_25pcPert.m
- AND model analysis and generates Figs. 4A and 4C- Requires
param_SameSA0SB0_AND.mat
andparam_ThrePert_SA0SB0_25pc_AND.mat
- Requires
Fig4_E_AND.m
- Generates Fig. 4E for AND model- Requires
param_SameSA0SB0_AND.mat
andparam_ThrePert_SA0SB0_25pc_AND.mat
- Requires
Fig4_F_OR.m
- Generates Fig. 4F for OR model- Requires
param_SameSA0SB0_OR.mat
andparam_ThrePert_SA0SB0_25pc_OR.mat
- Requires
AND_Multi_EulerMaryama.m
- SDE simulations for AND model- Outputs:
- Unperturbed:
stochEM_sigma0o01_V1_Multi_Unpert_AND.mat
- 25% indirect:
stochEM_sigma0o01_V1_Multi_25pcInd_AND.mat
- 25% direct:
stochEM_sigma0o01_V1_Multi_25pcDir_AND.mat
- Unperturbed:
- Outputs:
OR_Multi_EulerMaryama.m
- SDE simulations for OR model- Outputs:
- Unperturbed:
stochEM_sigma0o01_V1_Multi_Unpert_OR.mat
- 25% indirect:
stochEM_sigma0o01_V1_Multi_25pcInd_OR.mat
- 25% direct:
stochEM_sigma0o01_V1_Multi_25pcDir_OR.mat
- Unperturbed:
- Outputs:
Code_Fig5A.m
- Generates Figure 5A- Requires stochastic simulation outputs
Code_Fig5BCD.m
- Generates Figures 5B, 5C, and 5D- Requires stochastic simulation outputs
Code_Logic1_Fp0o066.m
- ICM Cell proportion for 25 cells in a grid for Logic 1 with Fp = 0.066- Generates the bar plots and pie charts in Figure 6B
Code_Logic2_DefaultParam_Fp0o066.m
- ICM cell proportion for 25 cells in a grid for Logic 2 with Fp = 0.066- Generates the bar plots and pie charts in Figure 6C
Code_Logic1_FpTriHalf.m
- ICM cell proportion for 25 cells in a grid for Logic 1 with Fp = Midpoint- Generates the bar plots and pie charts in Figure 6D
Code_Logic2_Tri_FpTriHalf.m
- ICM cell proportion for 25 cells in a grid for Logic 2 with Fp = Midpoint- Generates the bar plots and pie charts in Figure 6E
Fig6F_Logic1.m
- Generates Figure 6F for Logic 1Fig6G_Logic2.m
- Generates Figure 6G for Logic 2Fig6BD_Bifurcation.ode
- ODE file for plotting Bifurcations in Figs. 6B and 6D for Logic 1 using XPPAUTFig6CE_Bifurcation.ode
- ODE file for plotting Bifurcations in Figs. 6C and 6E for Logic 2 using XPPAUT