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_OR_25pcPert.m
- OR model analysis- Requires
param_SameSA0SB0_OR.mat
andparam_ThrePert_SA0SB0_25pc_OR.mat
- Requires
Fig4_AND_25pcPert.m
- AND model analysis- Requires
param_SameSA0SB0_AND.mat
andparam_ThrePert_SA0SB0_25pc_AND.mat
- Requires
AND_EulerMaryama.m
- SDE simulations for AND model- Outputs:
- Unperturbed:
stochEM_sigma1_Unpert_AND.mat
- 25% indirect:
stochEM_sigma1_25pcInd_AND.mat
- 25% direct:
stochEM_sigma1_25pcDir_AND.mat
- Unperturbed:
- Outputs:
OR_EulerMaryama.m
- SDE simulations for OR model- Outputs:
- Unperturbed:
stochEM_sigma1_Unpert_OR.mat
- 25% indirect:
stochEM_sigma1_25pcInd_OR.mat
- 25% direct:
stochEM_sigma1_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