Modelling the Impact of Phenotypic Heterogeneity on Cell Migration: A Continuum Framework Derived from Individual-Based Principles
Rebecca M. Crossley, Philip K. Maini, Ruth E. Baker

TL;DR
This paper introduces a mathematical model to study how different cell types affect collective migration, useful for understanding processes like tumor growth and wound healing.
Contribution
A new continuum framework is derived from individual-based principles to model phenotypic heterogeneity in cell migration.
Findings
The model demonstrates how phenotypic transitions and environmental pressures influence migration patterns.
The framework is shown to be effective in scenarios like range expansion and T cell exhaustion.
The model provides a computationally efficient alternative to individual-based simulations for large phenotype populations.
Abstract
Collective cell migration plays a crucial role in numerous biological processes, including tumour growth, wound healing, and the immune response. Often, the migrating population consists of cells with various different phenotypes. This study derives a general mathematical framework for modelling cell migration in the local environment, which is coarse-grained from an underlying individual-based model that captures the dynamics of cell migration that are influenced by the phenotype of the cell, such as random movement, proliferation, phenotypic transitions, and interactions with the local environment. The resulting, flexible, and general model provides a continuum, macroscopic description of cell invasion, which represents the phenotype of the cell as a continuous variable and is much more amenable to simulation and analysis than its individual-based counterpart when considering a large…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3- —http://dx.doi.org/10.13039/501100000266Engineering and Physical Sciences Research Council
- —http://dx.doi.org/10.13039/501100000747Wolfson College, University of Oxford
- —http://dx.doi.org/10.13039/100000893Simons Foundation
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMathematical Biology Tumor Growth · Cellular Mechanics and Interactions · Cancer Cells and Metastasis
Introduction
Mathematical models are essential tools for helping us to understand the key features and mechanisms underpinning biological processes, such as collective cell migration. Various modelling techniques exist to analyse cell behaviour during migration, ranging from microscopic, individual cell-based models to macroscopic-level, continuum-based models.
Stochastic individual-based models track the dynamics of single cells, describing migration through rules that dictate cell interactions with one another and their environment (Anderson and Rejniak 2007; Van Liedekerke et al. 2015; Wang et al. 2015; Cornell et al. 2019; West et al. 2023). Deterministic continuum models, on the other hand, usually focus on the collective migration of cells into external tissue, stroma, or the local environment, containing, for example, chemo-attractants, adhesive substances or other cell populations that impact cell migration (Trepat et al. 2012; Merino-Casallo et al. 2022). They utilise a variety of different mathematical approaches, such as partial differential equations (PDEs), that describe the evolution of cell densities and are amenable to both computational and analytical exploration. While some PDE models are adaptations of classical invasion models from other contexts, many are derived from first principles as the deterministic, continuum limit of stochastic, discrete models, such as individual-based models. This process of formally deriving the deterministic model ensures that the continuum equation provides a mean-field representation of the underlying dynamics of the individual cells and their environment, which is valid in specific parameter regimes (Macfarlane et al. 2022).
Mathematical models for cell invasion often assume that the cell population is phenotypically homogeneous, meaning every cell behaves identically in terms of division, movement and interactions with the local environment. However, such homogeneity is rarely present in biological systems. During collective cell migration, it is common to observe different cell types working together to facilitate invasion. The observable differences in physical or biochemical characteristics present within most cell populations are known as phenotypic heterogeneity. Over recent years, the role of phenotypic heterogeneity in cell populations has garnered significant attention. Models have been developed to account for distinctly different cell behaviours, using a discrete number of phenotypes (Chauviere et al. 2010; Stepien et al. 2018; Crossley et al. 2024b; Falcó et al. 2024; Carrillo et al. 2024), as well as for a continuous spectrum of phenotypes, whereby population members exhibit a variety of behaviours to different degrees (Bouin et al. 2012; Macfarlane et al. 2022). Variability in cell phenotypes can be incorporated into mathematical models of cell dynamics involving differential equations by introducing a variable to describe the phenotypic state of the cells.
When there is a discrete set of known cell phenotypes with distinct behaviors, it may be most appropriate to model the phenotypic state as a discrete variable, typically using integer values. However, when there are numerous (or potentially infinite) phenotypes with incremental differences or smoothly transitioning behaviours between them, then a continuously structured phenotype model might be more pertinent. In this case, the resulting evolution equation for the cell population density often takes the form of a non-local reaction-diffusion equation (Arnold et al. 2012; Berestycki et al. 2015; Lorenzi and Painter 2022), or a non-local advection-reaction-diffusion equation (Celora et al. 2021; Lorenzi et al. 2022; Celora et al. 2023). Understanding the role of different cell phenotypes during collective migration can guide experimental design, enhance understanding of cell behaviors, and aid the development of treatments for diseases where collective cell migration is crucial, such as during wound healing. However, a critical question arises when these continuum models are constructed phenomenologically, without derivation from an underlying individual-based model. In such cases, we may not fully understand the biological significance of the terms within the model, especially in realising their connection to the behaviours of the individual cells and their interactions with the local environment, leaving the meaning of various terms in the model ambiguous. Moreover, we may unknowingly be making intrinsic assumptions about cell behaviour that could be invalid. This research, therefore, focuses on constructing a general continuum model that is explicitly derived from the individual-based behaviours of the cells and their interactions with surrounding environmental features. This approach ensures that each term in the resulting continuum model has a well-defined interpretation in relation to the underlying cell dynamics, providing clarity and a deeper understanding of the biological processes being modelled. We are not, however, concerned with a detailed quantitative comparison between individual- and population-level models as this is already well explored in the literature (Ardaševa et al. 2020; Byrne and Drasdo 2009; Lorenzi et al. 2020; Lorenzi and Painter 2022; Macfarlane et al. 2022; Murray et al. 2009, 2011; Schaller and Meyer-Hermann 2006).
Therefore, in this article, we present a methodology for deriving a continuously structured PDE model for general cell migration into the local environment that is robustly derived from an underlying individual-based model that takes into account the individual interactions between the cells and their local environment. Using this approach, we demonstrate the model’s applicability to various biological scenarios, highlighting the flexibility of this general framework and the consistent, coherent connections between the microscale behaviours captured in the individual-based model and the macroscale descriptions in the resulting PDE model. For the purposes of the derivation of the continuum model, we have chosen cell invasion into the local environment in general, but due to its generality, the local environment could be replaced with a variety of substances, such as neighbouring tissues or organs, a tissue engineering scaffold or a wound, during healing. The applications in this article are carefully selected to illustrate a wide range of cell behaviours by employing different functional forms that describe the probabilities of movement in both physical and phenotypic spaces, as well as the behaviours governing growth at the individual-based level. However these applications were not chosen with the aim to provide detailed biological insights at this stage.
In Sec. 3.2, we consider a simplified model, without phenotype-driven migration, that shows how different growth mechanisms in the population impact the cell phenotypes present throughout a population over time. Next, in Sec. 3.3, we study the migration-proliferation dichotomy (that states that cells can either migrate or proliferate but cannot do both at the same time) for cells migrating into the extracellular matrix (ECM), by extending this model to consider a continuum of phenotypes with a trade-off between the cells ability to grow and divide and their ability to move and degrade ECM. In this model, we consider a range of different environmental features, such as the density of ECM, which we postulate could impact the phenotypic drift of the cells, and compare the resulting phenotypic structure of the invading cell population. Finally, in Sec. 3.4, we examine the results of the general macroscopic framework for depicting the phenotypic and spatial dynamics of T cells infiltrating into a tumour, as described by microscopic individual-based interactions. Here we consider the phenotype of the T cells to describe their exhaustion levels. Then, to summarise, future research directions and concluding remarks are discussed in Sec. 4.
The Individual-Based Model
In order to incorporate microscopic descriptions of the interactions occurring between cells and their local environment, we formulate a phenotype-structured, on-lattice, individual-based model for collective cell migration.
In this model, the cells are represented as individual, discrete agents and we assume that the features of the local environment we are interested in, such as the ECM or other cell types, occupy some finite volume in a limited space. In order to fit in with the individual-based framework, we therefore choose to model the local environmental as being composed of individual, discrete elements of the same finite volume as the cells. Depending on the phenotype of the individual cell and the number of cells and elements of the local environment in the same lattice site, each individual cell has a capacity to undergo random, undirected movement, heritable phenotypic changes and proliferation, that can be adapted to the specific biological application of interest by employing appropriate individual-based rules to describe these changes. Furthermore, we assume that each individual cell can also interact with the surrounding environment, and that the cell’s capacity to impact their local environment depends on the phenotype of the cell.
Considering a one-dimensional spatial domain, we allow the cells and the local environment to be distributed in the region \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x\in [X_{\text {min}}, X_{\text {max}}].$$\end{document} We describe the phenotypic state of each individual cell through a structuring variable \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y\in [Y_{\text {min}}, Y_{\text {max}}].$$\end{document}
In this individual-based model, we discretise the time variable \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t\in \mathbb {R}^{+}$$\end{document} , as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h=h\Delta _t$$\end{document} with \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$h\in \mathbb {N}$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t\in \mathbb {R}^{+}.$$\end{document} We discretise the spatial variable into an integer number of lattice sites \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i = X_{\text {min}} + \Delta _x(i-1)$$\end{document} for \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _x\in \mathbb {R}^{+}$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1.$$\end{document} We discretise the phenotype variable using \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j = Y_{\text {min}}+ \Delta _y(j-1)$$\end{document} for \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _y\in \mathbb {R}^{+}$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$j=1,\dots , N_y+1.$$\end{document} In this case, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t, \Delta _x, \Delta _y\in \mathbb {R}^{+}$$\end{document} are the time-, space- and phenotype-step, respectively.
We introduce the dependent variable \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_i^j(t_h)\in \mathbb {N}_0$$\end{document} to model the number of cells that occupy a position on the lattice \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${x_i} \times {y_j}\in [X_{\text {min}}, X_{\text {max}}]\times [Y_{\text {min}}, Y_{\text {max}}]$$\end{document} at time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h,$$\end{document} where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathbb {N}_0$$\end{document} represents the natural numbers, including zero. Then, we define the total cell number at a spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} at time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h$$\end{document} as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$N_i(t_h)= \sum _{j=1}^{N_y+1}n_i^j(t_h)\in \mathbb {N}_0$$\end{document} and the number of elements of the local environment at spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} at time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h$$\end{document} is denoted by \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$e_i(t_h)\in \mathbb {N}_0.$$\end{document}
Modelling the Dynamics of the Cells
We denote by \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p({\textbf{n}}, {\textbf{e}}, t_h)$$\end{document} the joint probability that the number of cells in spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} in phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} (for \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$j=1,\dots , N_y+1$$\end{document} ) at time \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h$$\end{document} ( \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$h\in \mathbb {R}$$\end{document} ) is given by \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\textbf{n}}=([n_1^1, \dots , n_{N_x+1}^1], \dots , [n_1^{N_y+1}, \dots , n_{N_x+1}^{N_y+1}])$$\end{document} and that the number of discrete, constitutive elements of the local environment in spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} for \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1$$\end{document} is given by \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${\textbf{e}}=[e_1, \dots , e_i, \dots , e_{N_x+1}].$$\end{document}
Between a time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_h$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t_{h+1}$$\end{document} (equivalently described by \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{t_h}}+\Delta _t$$\end{document} ), each cell in phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j\in [Y_{\text {min}}, Y_{\text {max}}]$$\end{document} at position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i\in [X_{\text {min}}, X_{\text {max}}]$$\end{document} can undergo random movement, heritable phenotypic changes and cell proliferation independently of time and according to the following assumptions in this section. We note here that we write \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_i^j(t_h)$$\end{document} as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n_i^j$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$e_i(t_h)$$\end{document} as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$e_i$$\end{document} for simplicity going forward.
Random Cell Movement
We model cell movement in space as an on-lattice, biased random walk between neighbouring lattice sites. The probability of cell movement can depend on a number of factors, such as the local environment or the phenotype of the cell, but it is easy to relax these assumptions to consider other variables of interest. In particular, we introduce the following two changes in state vector that describe movement left or right in physical space of a single cell in phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} into position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_{i\pm 1}$$\end{document} from position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} :
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} L_{i,j}^{\text {m}}&: [n_1^j, \dots , n_{i-1}^j, n_{i}^{j}, \dots , n_{N_x+1}^j] \longrightarrow [n_1^j, \dots , n_{i-1}^j+1, n_{i}^{j}-1, \dots , n_{N_x+1}^j], \\&\quad \text {for} \quad i=2, \dots , N_x+1, \quad j=1,\dots , N_y+1,\\ R_{i,j}^{\text {m}}&: [n_1^j, \dots , n_{i}^j, n_{i+1}^{j}, \dots , n_{N_x+1}^j] \longrightarrow [n_1^j, \dots , n_{i}^j-1, n_{i+1}^{j}+1, \dots , n_{N_x+1}^j], \\&\quad \text {for} \quad i=1, \dots , N_x, \quad j=1,\dots , N_y+1, \end{aligned}$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$L_{i, j}^{\text {m}}, R_{i,j} ^{\text {m}}: \mathbb {N}^{N_x+1}\rightarrow \mathbb {N}^{N_x+1}.$$\end{document} We assume that the probability of cell movement depends on the phenotype of the cell and on the number of cells and elements of the local environment in the target site, rather than the lattice site that they are currently in. As such, we define the probability of movement to the left, to spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_{i-1}$$\end{document} from \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} , during a single time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} , as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \beta _{-}(j, N_{i-1},e_{i-1})\in [0,1], \qquad i=2, \dots , N_x+1, \quad j=1,\dots , N_y+1, \end{aligned}$$\end{document}and the probability of movement to the right, to spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_{i+1}$$\end{document} from \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} , during a single time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} , as described by the change to the state vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$R_{i,j}^{\text {m}}$$\end{document} , as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \beta _{+}(j, N_{i+1},e_{i+1})\in [0,1], \qquad i=1, \dots , N_x, \quad j=1,\dots , N_y+1, \end{aligned}$$\end{document}which depends on the phenotypic state of the cell, j, the number of elements of the local environment and the total number of cells in the target site. In order to ensure that cells cannot move to a physical site “outside of the domain" \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x\in [X_{\text {min}}, X_{\text {max}}]$$\end{document} , we assume that cells cannot move left out of site \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1$$\end{document} , or right out of site \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=N_x+1$$\end{document} , such that \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta _{-}(j, N_{0}, e_{0})=0$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta _{+}(j, N_{N_x+2}, e_{N_x+2})=0.$$\end{document} For \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1, \dots , N_x+1, \; j=1,\dots , N_y+1$$\end{document} , cells remain in their current site (i.e., do not move) with probability
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} 1-\beta _{+}(j,N_{i+1},e_{i+1})-\beta _{-}(j, N_{i-1},e_{i-1})\in [0,1]. \end{aligned}$$\end{document}Cell Proliferation
In order to model cell proliferation, we assume that a dividing cell is instantaneously replaced by two identical cells of equal volume to one another and the parent cell, such that the daughter cells inherit the spatial position and phenotypic state of the parent cell. As such, the corresponding change in state vector during a time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} can be written as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} G_{i, j}&: [n_1^j, \dots , n_{i}^j, \dots , n_{N_x+1}^j] \longrightarrow [n_1^j, \dots , n_{i}^j -1, \dots , n_{N_x+1}^j],\\&\quad \text {for} \quad i=1, \dots , N_x+1, \quad j=1,\dots , N_y+1. \end{aligned}$$\end{document}To represent phenotype-dependent cell proliferation, we assume that the probability of a proliferation event is dependent on the phenotypic state of the cell, and the total number of cells and elements of the local environment in the same physical site as the cell that is dividing. Therefore, we define the probability that a cell in site i with phenotype j proliferates during time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} , as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \gamma (j, N_i,e_i)\in [0,1], \qquad \qquad i=1, \dots , N_x+1, \quad j=1,\dots , N_y+1. \end{aligned}$$\end{document}The probability of a cell not undergoing proliferation during a time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} can then be written as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} 1-\gamma (j, N_i,e_i)\in [0,1], \qquad \qquad i=1, \dots , N_x+1, \quad j=1,\dots , N_y+1. \end{aligned}$$\end{document}Cell Phenotypic Changes
During a single time step, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} , we model transitions in phenotype space from state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_{j\pm 1}$$\end{document} via the following changes in state vectors:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} D_{i,j}^{\text {p}}&: [n_i^1, \dots , n_{i}^{j-1}, n_{i}^{j}, \dots , n_{i}^{N_y+1}] \longrightarrow [n_i^1, \dots , n_{i}^{j-1}+1, n_{i}^{j}-1, \dots , n_{i}^{N_y+1}], \\&\quad \text {for} \quad i=1, \dots , N_x+1,\quad j=1, \dots , N_y+1, \\ U_{i,j}^{\text {p}}&: [n_i^1, \dots , n_{i}^{j}, n_{i}^{j+1}, \dots , n_{i}^{N_y+1}] \longrightarrow [n_i^1, \dots , n_{i}^{j}-1, n_{i}^{j+1}+1, \dots , n_{i}^{N_y+1}], \\&\quad \text {for} \quad i=1, \dots , N_x+1,\quad j=1, \dots , N_y+1, \end{aligned}$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D_{i,j}^{\text {p}}, U_{i,j}^{\text {p}}: \mathbb {N}^{N_y+1}\rightarrow \mathbb {N}^{N_y+1}.$$\end{document} A cell in site i transitions from phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_{j+1}$$\end{document} during time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} with a probability that depends on the phenotypic state of the cell and the total number of cells and elements of the local environment in the site i. Therefore, we can write that this transition, described by the change in state vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$U_{i,j}^{\text {p}}$$\end{document} , occurs with a probability
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \mu _{+}(j, N_i, e_i)\in [0,1], \qquad i=1, \dots , N_x+1, \quad j=1, \dots , N_y+1. \end{aligned}$$\end{document}Similarly, a cell in site i transitions from phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_{j-1}$$\end{document} during time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} with a probability that depends on the phenotypic state of the cell and the total number of cells and elements of the local environment in the site i. Therefore, we can write that this transition, described by the change in state vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D_{i,j}^{\text {p}}$$\end{document} , occurs with a probability
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \mu _{-}(j, N_i, e_i)\in [0,1], \qquad i=1, \dots , N_x+1, \quad j=1, \dots , N_y+1. \end{aligned}$$\end{document}In order to ensure cells cannot transition to phenotypic states “outside of the domain" \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j\in [Y_{\text {min}}, Y_{\text {max}}]$$\end{document} , we implement \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mu _{-}(1, N_i,e_i) = 0$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mu _{+}(N_y+1, N_i, e_i) = 0.$$\end{document} Taking this into consideration, the probability that a cell in phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y_j$$\end{document} and spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} will not change phenotype during a time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} is given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} 1- \mu _{+}(j, N_i, e_i) - \mu _{-}(j, N_i, e_i)\in [0,1], \qquad i=1, \dots , N_x+1, \quad j=1, \dots , N_y+1. \end{aligned}$$\end{document}Modelling the Dynamics of the Local Environment
We model degradation of elements of the local environment through contact with cells in the same physical site. Other cell-environment interactions, such as haptotaxis, or environmental changes such as production by cells, could also be considered here. The same methodology as presented in these sections can be followed to determine the corresponding population-level PDE. In particular, we define the change in state vector \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$H_i: \mathbb {N}^{N_x+1}\rightarrow \mathbb {N}^{N_x+1}$$\end{document} to describe degradation of an element of the local environment in spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} as:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} H_i:[e_1, \dots , e_i, \dots , e_{N_x+1}] \longrightarrow [e_1, \dots , e_i +1, \dots , e_{N_x+1}], \qquad i=1, \dots , N_x+1. \end{aligned}$$\end{document}We assume that the probability of degradation of an element of the local environment during time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} depends on the number of cells in each phenotypic state j in the same spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x_i$$\end{document} . As such, we define the probability of a cell in site i of phenotype j degrading an element of the local environment during a time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \lambda (j, n_i^j)\in [0,1], \qquad i=1, \dots , N_x+1, \quad j=1, \dots , N_y+1,. \end{aligned}$$\end{document}The Corresponding Continuum Model
In order to derive the corresponding continuum model describing the dynamics of the entire population of cells and the local environment over time, we employ a process known as coarse-graining. This procedure is described in full in the Supplementary Information. Assuming that the probability of two or more events occurring in time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t$$\end{document} is sufficiently small that it can be ignored, the master equation, which describes the evolution of the probability density over time, is given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned}&\Delta _t \dfrac{\partial }{\partial t} p({\textbf{n}}, {\textbf{e}}, t_h) + O(\Delta _t^2)\nonumber \\&\quad = \sum _{i=1}^{N_x+1}\sum _{j=1}^{N_y+1}\mu _{-}(j+1, N_i, e_i)\left\{ (n_i^{j+1}+1)p(U_{i,j}^{\text {p}}{\textbf{n}}, {\textbf{e}}, t_h)-n_i^{j+1}p({\textbf{n}}, {\textbf{e}}, t_h)\right\} \nonumber \\&\qquad + \sum _{i=1}^{N_x+1}\sum _{j=1}^{N_y+1}\mu _{+}(j-1, N_i, e_i)\left\{ (n_i^{j-1}+1)p(D_{i,j}^{\text {p}}{\textbf{n}}, {\textbf{e}}, t_h)-n_i^{j-1}p({\textbf{n}}, {\textbf{e}}, t_h)\right\} \nonumber \\&\qquad + \sum _{i=1}^{N_x} \sum _{j=1}^{N_y+1}\beta _{-}(j, {N_i,e_i)}\left\{ (n_{i+1}^{j}+1)p(R_{i,j}^{\text {m}}{\textbf{n}}, {\textbf{e}}, t_h)-n_{i+1}^{j}p({\textbf{n}}, {\textbf{e}}, t_h)\right\} \nonumber \\&\qquad + \sum _{i=2}^{N_x+1} \sum _{j=1}^{N_y+1}\beta _{+}(j, N_i,e_i)\left\{ (n_{i-1}^{j}+1)p(L_{i,j}^{\text {m}}{\textbf{n}}, {\textbf{e}}, t_h)-n_{i-1}^{j}p({\textbf{n}}, {\textbf{e}}, t_h)\right\} \nonumber \\&\qquad + \sum _{i=1}^{N_x+1} \sum _{j=1}^{N_y+1}\left\{ \gamma (j, N_i-1,e_i)(n_i^j-1)p(G_{i,j}{\textbf{n}}, {\textbf{e}}, t_h)-\gamma (j, N_i,e_i)n_i^jp({\textbf{n}}, {\textbf{e}}, t_h)\right\} \nonumber \\&\qquad + \sum _{i=1}^{N_x+1}\sum _{j=1}^{N_y+1} \lambda (j, n_i^j)\left\{ (e_i+1) p({\textbf{n}}, H_i{\textbf{e}}, t_h) - e_ip({\textbf{n}}, {\textbf{e}}, t_h)\right\} . \end{aligned}$$\end{document}Briefly, the first two lines on the right hand side correspond to changes in the phenotypic state of the cell, the second two correspond to changes in the physical position of the cell, the penultimate line describes proliferation of the cell and the final line describes degradation of the local environment.
The Coarse-Grained Model of the Cells
As is standard in the literature, we define the ensemble average for the function, f, of the number of cells at position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1$$\end{document} in state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$j=1,\dots , N_y+1$$\end{document} and number of elements of local environment in lattice site \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1$$\end{document} in the following way:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} {{\langle f(n_i^j, e_i)\rangle = \sum _{\textbf{n}}\sum _{\textbf{e}}f(n_i^j, e_i)p({\textbf{n}}, {\textbf{e}}, t_h).}} \end{aligned}$$\end{document}We can therefore formally derive (as seen in Supplementary Information Sec. S1) the following equation describing the evolution of the mean number of cells in physical site \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$i=1,\dots , N_x+1$$\end{document} and phenotypic state \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$j=1,\dots , N_y+1$$\end{document} based on the rules described in Sec. 2.1:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t} \langle n_i^j\rangle&= \dfrac{1}{\Delta _t}\langle \beta _{+}(j, N_i,e_i)n_{i-1}^j\rangle +\dfrac{1}{\Delta _t} \langle \beta _{-}(j, N_i,e_i)n_{i+1}^j\rangle \nonumber \\&\quad -\dfrac{1}{\Delta _t} \langle \beta _{-}(j, N_{i-1},e_{i-1})n_i^j\rangle -\dfrac{1}{\Delta _t}\langle \beta _{+}(j, N_{i+1},e_{i+1})n_i^j\rangle \nonumber \\&\quad +\dfrac{1}{\Delta _t}\langle \mu _{+}(j-1, N_i,e_i)n_i^{j-1}\rangle +\dfrac{1}{\Delta _t}\langle \mu _{-}(j+1, N_i,e_i)n_i^{j+1}\rangle \nonumber \\&\quad -\dfrac{1}{\Delta _t}\langle \mu _{+}(j, N_i,e_i)n_i^j\rangle -\dfrac{1}{\Delta _t}\langle \mu _{-}(j, N_i,e_i)n_i^j\rangle \nonumber \\&\quad +\dfrac{1}{\Delta _t} \langle \gamma (j, N_i,e_i)n_i^j\rangle . \end{aligned}$$\end{document}We now derive a PDE description of Eq. (3) by taking limits as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _x\rightarrow 0$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _y\rightarrow 0$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t\rightarrow 0$$\end{document} . In order to do this, the discrete values of \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\langle {n}_i^j(t_h)\rangle $$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\langle {e}_i(t_h)\rangle $$\end{document} are written in terms of the continuous variables n(x, y, t) and e(x, t), describing the cell and local environment density, respectively, along with
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \rho (x,t)= \int _{y=Y_{\text {min}}}^{y=Y_{\text {max}}}n(x, y, t) \textrm{d}y, \end{aligned}$$\end{document}describing the total cell density. We find that, correct to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mathcal {O}(\Delta _t)$$\end{document} :
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial n(x, y, t)}{\partial t}&= \dfrac{1}{\Delta _t}\beta _{+}(y, \rho (x, t),e(x, t))n(x-\Delta _x, y, t)\nonumber \\&\quad +\dfrac{1}{\Delta _t} \beta _{-}(y, \rho (x, t),e(x, t))n (x+\Delta _x, y, t) \nonumber \\&\quad -\dfrac{1}{\Delta _t} \beta _{-}(y, \rho (x-\Delta _x, t),e(x-\Delta _x, t))n(x,y,t) \nonumber \\&\quad -\dfrac{1}{\Delta _t}\beta _{+}(y, \rho (x+\Delta _x, t),e(x+\Delta _x, t))n(x,y,t) \nonumber \\&\quad +\dfrac{1}{\Delta _t}\mu _{+}(y-\Delta _y, \rho (x, t),e(x, t))n(x, y-\Delta _y, t)\nonumber \\&\quad +\dfrac{1}{\Delta _t}\mu _{-}(y+\Delta _y, \rho (x, t),e(x, t))n(x, y+\Delta _y, t)\nonumber \\&\quad -\dfrac{1}{\Delta _t}\mu _{+}(y, \rho (x, t), e(x, t))n(x,y,t) \nonumber \\&\quad -\dfrac{1}{\Delta _t}\mu _{-}(y, \rho (x, t),e(x, t))n(x,y,t)\nonumber \\&\quad +\dfrac{1}{\Delta _t} \gamma (y, \rho (x, t),e(x, t))n(x,y,t). \end{aligned}$$\end{document}Employing a Taylor series expansion around (x, y), rearranging and collecting terms, we obtain
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t}n(x,y,t)&=\dfrac{\Delta _x}{\Delta _t}\dfrac{\partial }{\partial x}\Big (\left( \beta _{-}(y, \rho (x,t), e(x,t))-\beta _{+}(y, \rho (x,t), e(x,t))\right) n(x,y,t)\Big ) \\&\quad + \dfrac{\Delta _x^2}{2\Delta _t} \dfrac{\partial }{\partial x}\Bigg (\Big (\beta _{-}\left( y, \rho (x,t), e(x,t)\right) +\beta _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )\dfrac{\partial }{\partial x} n(x,y,t) \\&\quad - n(x,y,t)\dfrac{\partial }{\partial x}\Big (\beta _{-}\left( y, \rho (x,t), e(x,t)\right) +\beta _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )\Bigg ) \\&\quad +\dfrac{\Delta _y}{\Delta _t}\dfrac{\partial }{\partial y} \left( \Big (\mu _{-}\left( y, \rho (x,t), e(x,t)\right) -\mu _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )n(x,y,t)\right) \\&\quad +\dfrac{\Delta _y^2}{2\Delta _t} \dfrac{\partial ^2}{\partial y^2}\left( \Big (\mu _{-}\left( y, \rho (x,t), e(x,t)\right) +\mu _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )n(x,y,t)\right) \\&\quad +\dfrac{1}{\Delta _t}\gamma \left( y, \rho (x,t), e(x,t)\right) n(x,y,t). \end{aligned}$$\end{document}We take the parabolic limit as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _x, \, \Delta _y, \, \Delta _t \rightarrow 0$$\end{document} simultaneously (assuming \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$n(x,y,t)\sim O(1)$$\end{document} ), and define
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \lim _{\Delta _x, \Delta _t\rightarrow 0} \dfrac{\Delta _x}{\Delta _t} \Big (\beta _{-}(y, \rho (x,t), e(x,t))-\beta _{+}(y, \rho (x,t), e(x,t))\Big )&= v^m(y, \rho (x,t), e(x,t)), \\ \lim _{\Delta _x, \Delta _t\rightarrow 0} \dfrac{\Delta _x^2}{2\Delta _t} \Big (\beta _{-}(y, \rho (x,t), e(x,t))+\beta _{+}(y, \rho (x,t), e(x,t))\Big )&= D^m(y, \rho (x,t), e(x,t)), \\ \lim _{\Delta _y, \Delta _t\rightarrow 0} \dfrac{\Delta _y}{\Delta _t} \Big (\mu _{-}(y, \rho (x,t), e(x,t))-\mu _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )&= v^p(y, \rho (x,t), e(x,t)), \\ \lim _{\Delta _y, \Delta _t\rightarrow 0} \dfrac{\Delta _y^2}{2\Delta _t} \Big (\mu _{-}(y, \rho (x,t), e(x,t))+\mu _{+}\left( y, \rho (x,t), e(x,t)\right) \Big )&= D^p(y, \rho (x,t), e(x,t)), \\ \lim _{\Delta _t\rightarrow 0} \dfrac{1}{\Delta _t} \gamma \left( y, \rho (x,t), e(x,t)\right)&= r(y, \rho (x,t), e(x,t)), \end{aligned}$$\end{document}such that the final equation governing the dynamics of the cell population is given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t}n(x,y,t)&= \dfrac{\partial }{\partial x}\Big (v^m(y, \rho (x,t), e(x,t))n(x,y,t)\Big ) \nonumber \\&\quad +\dfrac{\partial }{\partial x}\Bigg (D^m\left( y, \rho (x,t), e(x,t)\right) \dfrac{\partial }{\partial x} n(x,y,t) \nonumber \\&\qquad \qquad \qquad - n(x,y,t)\dfrac{\partial }{\partial x}D^m\left( y, \rho (x,t), e(x,t)\right) \Bigg ) \nonumber \\&\quad +\dfrac{\partial }{\partial y} \Big ( v^p\left( y, \rho (x,t), e(x,t)\right) n(x,y,t)\Big ) \nonumber \\&\quad +\dfrac{\partial ^2}{\partial y^2}\Big ( D^p\left( y, \rho (x,t), e(x,t)\right) n(x,y,t)\Big ) \nonumber \\&\quad +r\left( y, \rho (x,t), e(x,t)\right) n(x,y,t). \end{aligned}$$\end{document}The differential equation governing the cell population evolution over time is complemented with the initial condition
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} n(x,y,0)=n_0(x,y),\end{aligned}$$\end{document}and is subject to zero-flux boundary conditions at \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x=X_{\text {min}}, X_{\text {max}}$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=Y_{\text {min}}, Y_{\text {max}}$$\end{document} , which are derived in Supplementary Information Sec. S1.1.1 and given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned}&v^mn +D^m\dfrac{\partial n}{\partial x}-n\dfrac{\partial D^m}{\partial x} = 0 \qquad \qquad \text {at} \quad x=X_{\text {min}}, \end{aligned}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned}&-v^mn -D^m\dfrac{\partial n}{\partial x}+n\dfrac{\partial D^m}{\partial x} = 0 \qquad \qquad \text {at} \quad x=X_{\text {max}}. \end{aligned}$$\end{document}on the physical domain and
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned}&v^pn +\dfrac{\partial }{\partial y}(D^pn)= 0 \qquad \qquad \text {at} \qquad y=Y_{\text {min}}, \end{aligned}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned}&-v^pn -\dfrac{\partial }{\partial y}(D^pn)= 0 \qquad \qquad \text {at} \qquad y=Y_{\text {max}}, \end{aligned}$$\end{document}at the ends of phenotype space. The differences in the boundary conditions in phenotype and physical space are observed as a result of the varied assumptions underlying the movement probabilities. In physical space, the probability of movement depends on the surrounding number of cells and elements of the local environment in the target site, whereas the probability of movement in phenotype space depends on the number of cells and elements of the local environment in the same site as the cell.
The Coarse-Grained Model of the Local Environment
Using probabilistic approximations of the same form as those underlying Eq. (3), we recover the following equation describing the evolution of elements of the local environment in site i over time:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \Delta _t \dfrac{\partial }{\partial t} \langle e_s\rangle =- \sum _{j=1}^{N_y}\langle \lambda (j, n_s^j)e_s\rangle . \end{aligned}$$\end{document}Defining
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \lim _{\Delta _t\rightarrow 0}\dfrac{1}{\Delta _t} \lambda (y, n(x,y,t))= \nu (y, n(x, y, t), \end{aligned}$$\end{document}which we can substitute into Eq. (11), rearrange and take limits as \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _x, \Delta _y, \Delta _t \rightarrow 0$$\end{document} , to find that the differential equation for the evolution of the density of the local environment, e(x, t), is given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t} e(x,t) = - \int _{y=Y_{\text {min}}}^{y=Y_{\text {max}}} \nu (y, n(x, y, t)) e(x, t) \textrm{d}y. \end{aligned}$$\end{document}The corresponding initial condition is then
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} e(x,0)=e_0(x). \end{aligned}$$\end{document}Now that we have derived the coarse-grained model in full (Eqs. (5)-(10), (12) and (13)), we present a series of applications that demonstrate the utility of this framework through the choice of specific functional forms for the functions \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$v^m\left( y, \rho (x,t), e(x,t)\right) $$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^m\left( y, \rho (x,t), e(x,t)\right) $$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$v^p\left( y, \rho (x,t), e(x,t)\right) $$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^p(y, \rho (x,t), e(x,t))$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$r (y, \rho (x,t), e(x,t))$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\nu (y, n(x,y,t))$$\end{document} . We will assume in this article that all movement in physical space is undirected, and therefore we take \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\beta _{+}(y, \rho (x,t), e(x,t))=\beta _{-}(y, \rho (x,t), e(x,t)$$\end{document} , such that \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$v^m=0$$\end{document} hereon in. Nevertheless, the general form of the governing equations is retained, enabling readers to readily adapt the framework to cases involving directed movement or other specific applications.
Broad Spectrum Applications in Mathematical Biology
In this section, we showcase the versatility of the PDE modelling framework given by Eqs. (5)-(10), (12) and (13) by applying it to several exemplar biological scenarios. These applications demonstrate how the PDE framework effectively captures emergent population-level dynamics across diverse biological contexts. By considering a range of different underlying characteristics and interaction rules (prescribed in Supplementary Information Sec. S2), we showcase the ability of these models to encode complex behaviours while maintaining analytical and computational tractability.
Simulation Methods
The deterministic, continuum counterpart of the individual-based model described in Sec. 2 is given by the PDEs in Eqs. (5) and (12), with boundary conditions given in Eqs. (7)-(10) and initial conditions given in Eqs. (6) and (13). To solve this system numerically, we use an advection-diffusion-reaction (A-DR) scheme that discretises the spatial variable x using a central finite difference stencil modified from previous work (Crossley et al. 2023), employing ghost points to enforce the zero-flux boundary conditions. The full system of discretised equations can be found in the Supplementary Information. In the phenotypic axis, y, we use a finite volume scheme, which divides the axis into \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$N_y+1$$\end{document} sites of equal width. The advective component is controlled using the Koren limiter (Koren 1993). The resulting system of ordinary differential equations are then integrated in time using python’s in-built ordinary differential equation solver scipy.integrate.solve_ivp with the explicit Runge-Kutta integration method of order 5 and time step \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _t=0.1$$\end{document} . The phenotype step is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _y=0.02$$\end{document} and the spatial step is \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\Delta _x=0.1$$\end{document} , both of which were chosen to be sufficiently small to ensure that we observed convergence in the solutions. Where constant speed, constant profile travelling waves are observed, the speed is estimated numerically by saving the solution at each time point, interpolating to find the critical spatial position \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x^*$$\end{document} such that \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\rho (x^{*}, t)=0.1$$\end{document} and then calculating the difference between two sequential critical spatial points and dividing by the time step between them. At each spatial position, the mean phenotype is obtained by computing the density-weighted sum of phenotypes and normalising by the total local density. Code is available for all computations at the following GitHub repository: https://github.com/beckycrossley/cont_phen.
Phenotypic Structuring during Range Expansion
Understanding how cell populations expand and evolve is a fundamental question in biology, particularly in contexts such as tumour growth, microbial colony expansion, and tissue development. A key aspect of these processes is tracking cell lineages to uncover how phenotypic traits propagate and shape population dynamics over time. In this section, we demonstrate how this modelling framework provides a convenient and effective approach for studying these lineage dynamics within an evolving population. Specifically, we consider a phenotypically structured population of homogeneous cells (i.e., cells that share the same underlying behaviour but are distinguishable by a phenotypic marker) to gain deeper insights into how individual lineages contribute to the overall invasion process. By analysing the spatio-temporal evolution of the phenotypic structure as the population spreads, we highlight how this approach enables the systematic tracking of cell lineages during range expansion.
Previous studies, such as those by Marculis et al. (2020), have investigated similar population dynamics using stage-structured integrodifference equations (Marculis and Lewis 2020), with further extensions incorporating trade-offs between reproductive and dispersal abilities (Marculis et al. 2020). While these approaches offer valuable insights into structured population dynamics, they rely on discrete phenotypic stages, which may limit the resolution of evolutionary and ecological interactions.
In contrast, this work provides a more nuanced perspective by modelling the evolution of a continuously structured phenotype, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y\in [0,1]$$\end{document} , over space, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x\ge 0$$\end{document} , and time, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t\ge 0.$$\end{document} This allows for a finer representation of phenotypic variation and subsequent exploration of its role during population expansion. Specifically, we describe the spatio-temporal evolution of the cell population, n(x, y, t), using the following governing equation:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t} n(x,y,t) = \dfrac{\partial ^2}{\partial x^2} n(x,y,t) + r\left( \rho (x,t)\right) n(x,y,t). \end{aligned}$$\end{document}As in Marculis et al. (2020), we study Eq. (14) subject to two different functions describing net cell proliferation:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} r_K(y, \rho (x,t)) = 1-\rho (x,t), \end{aligned}$$\end{document}for Fisher-KPP type invasion (pulled waves) and
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} r_A(y, \rho (x,t)) = (1-\rho (x,t))(\rho (x,t)-p^{*}), \end{aligned}$$\end{document}for the Allee effect, with \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p^{*}\in (0, 1/2)$$\end{document} (corresponding to pushed waves), where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\rho (x,t)=\int _{y=0}^{y=1}n(x,y,t)\textrm{d}y.$$\end{document} The individual-based functions underlying these continuum equations can be found in Supplementary Information Sec. S2.1. We compliment this setup with an initial condition that ensures initial phenotypic structuring of the population, which can then be tracked over time. Specifically, we take
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} u_0(x,y)={\left\{ \begin{array}{ll} 1 \quad \text {if}\;\; {{x=5y}}, \\ 0 \quad \text {otherwise.} \end{array}\right. } \end{aligned}$$\end{document}Fig. 1. Evolution of the phenotypic structure of cells in Eq. (14) subject to various growth terms. (a) The initial distribution of the cells with different phenotypes. (b) The spatial structure of the invading wave subject to the Fisher-KPP growth term (Eq. (15)). Results in (c) and (d) show the spatial structure of the invading wave subject to the Allee effect (Eq. (16))
Recalling that cells in this case are homogeneous, and thus the phenotypic variable \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y\in [0,1]$$\end{document} is used purely to label cells as they evolve, we can see that Fig. 1 shows the phenotypic structure of the population of cells as they invade, subject to the aforementioned growth terms (Eq. (15) and Eq. (16)). Specifically, Fig. 1(b) shows the spatial structure of Eq. (14) with the Fisher-KPP growth term (Eq. (15)). As invasion progresses, the leading edge of the expanding population is dominated by cells that originated from the rightmost part of the initial distribution, with phenotypes closer to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=1$$\end{document} . Over time, the density of these dominant phenotypes increases, and due to diffusion, cells with these traits spread backward, integrating into the bulk of the population.
This is a form of what is known as surfing (Klopfstein et al. 2006)–a phenomenon well-studied in the context of drifting genetic mutations in expanding populations. Surfing occurs when areas of low cell density allow space for increased growth, such as along the invading front (see Fig. 1) (Excoffier et al. 2009).
The structure observed in the case of the Fisher-KPP type growth is often described as a ‘vertical pattern’ (Marculis et al. 2020), which indicates that the total population is composed of different underlying phenotypes at different points in space, demonstrating a high level of spatial structuring. However, we see that even in a continuously structured cell population, it is those cells with the phenotypes that were nearest the front of the initial distribution of cells that dominate during range expansion. The lower phenotypes, which began at the rear of the invading population, primarily remain there and diminish in size over time and increasing space.
Alternatively, if we now consider the case of Allee growth (Eq. (16)) in Eq. (14), then the numerical results in Fig. 1 display a different pattern of invasion. As the cells invade, a much larger proportion of all of the initially present phenotypes remain present in the travelling wave front at later times, and throughout the bulk of the invading population. As in the Fisher-KPP case, the cells in the rightmost portion of the initial population, with phenotypes near 1, contribute the largest portions to the wave. However, with the addition of the Allee effect, there now exist contributions from all initially present phenotypic states throughout the wave. This is because the Allee effect introduces a dependency on the total local population density, which means cells at the leading edge, in areas of low density, have reduced proliferation, preventing them from rapidly outcompeting other phenotypes within the cell bulk. We note that by increasing the strength of the Allee effect, by taking \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$p^{*}$$\end{document} closer to 0.5, the proportion of all of the phenotypes present in the wave becomes closer to one another (equalises). The spatial pattern observed in this case is described as ‘horizontal’ as it does not differ in space, but still shows high phenotypic variation in the front (Roques et al. 2012).
These structural differences at the wave front agree with those observed by Roques et al. (2012) who consider a similar system but with discrete, rather than continuous, phenotypes. These results indicate that the lineage structure of an invading wave could potentially be used to distinguish between the underlying growth mechanisms of the cell populations. It is also notable that the speed of cell invasion subject to the Allee effect (Eq. (16)) is significantly slower than the speed of invasion in the Fisher-KPP case (Eq. (15)). As such, although the Allee effect maintains diversity across the travelling wave front, it also decreases the speed of invasion in doing so, and so a trade-off is observed between diversity maintenance and speed of population invasion, which favours faster invasion for a weaker Allee effect.
A Go-Or-Grow Model of Cells Invading the Extracellular Matrix (ECM)
In this section, we apply the aforementioned system of Eqs. (5)-(10), (12) and (13) to a general model for collective cell migration into the ECM, exploring how individual cell-level properties give rise to emergent population-level behaviours. By examining the interactions between cells and their environment at a population-level, we aim to uncover the underlying individual cell-ECM mechanisms that drive large-scale migration patterns and spatial organization, providing insight into how cell processes shape collective movement in biological systems.
The ECM is a complex network of proteins and carbohydrates that supports and provides structure for migrating cells (Winkler et al. 2020; Crossley et al. 2024a). Its composition varies by location, making its role in collective migration difficult to define. However, a well-agreed notion is that cells need to breakdown the ECM in order to make space in which to invade (Nagase and Woessner 1999; Visse and Nagase 2003; Nagase et al. 2006; Jabłońska-Trypuć et al. 2016).
In this work, we aim to model the fundamental trade-off in energetic costs associated with motility and proliferation, known as the “go-or-grow" hypothesis (Hatzikirou et al. 2012), while also incorporating the role of ECM degradation by migrating cells. Our goal is to use this framework to bridge the gap between individual-cell behaviours and emergent population-level dynamics.
Previous mathematical models have captured this trade-off by considering only two discrete phenotypes (Crossley et al. 2024b), due to limitations in the available mathematical frameworks. However, biological evidence strongly supports the existence of a continuum of phenotypes rather than a simple dichotomy (Bendall and Nolan 2012; Campbell et al. 2021). By extending prior work to a continuously structured phenotypic model, we provide a more biologically realistic representation of go-or-grow dynamics, allowing us to explore how individual-level decision-making translates into large-scale invasion patterns.
We model the cells, denoted n(x, y, t), as able to move, proliferate and degrade the ECM, e(x, t). To model the trade-off between ECM degradation, motility and proliferation, we assume that cells with a larger value of the phenotype variable, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y\in [0,1]$$\end{document} , have a higher proliferative potential but a lower motility and lower ECM degrading potential whilst, in comparison, cells with a lower value of the phenotypic variable y correspond to those with a higher motility and higher ECM degrading potential, but a lower proliferative potential. Therefore, cells with phenotype \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=0$$\end{document} degrade the ECM most rapidly and are the most motile, but they are unable to proliferate. On the other hand, cells with phenotype \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=1$$\end{document} are the most proliferative, but cannot degrade the ECM or move. As in Crossley et al. (2024b), we implement a linear relationship between the phenotype of the cells and the associated ability to degrade the ECM, move and proliferate.
The initial functions describing the probabilities of transitions in the individual-based model underlying these continuum equations can be found in Supplementary Information Sec. S2.2. Hereon in, we focus on the corresponding continuum functions stated below.
Following the volume exclusion principles described by Crossley et al. (2023, 2024b), we assume that the probability of a cell moving randomly in physical space linearly decreases as the occupancy of space increases. As described earlier, we also introduce the assumption that the probability of a cell moving randomly increases as the phenotype of the cell decreases. As such, the function describing movement in physical space can be written as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} D^m(y, \rho (x,t), e(x,t)) = (1-y)\left( 1-\dfrac{\rho (x,t)+e(x,t)}{\kappa }\right) , \end{aligned}$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\kappa >0$$\end{document} is the total available density for cells and ECM, known as the carrying capacity. Similarly, for all cells, the probability of cell proliferation linearly decreases as the space around the cell fills with other cells and ECM, but it also decreases as the phenotype decreases, such that
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} r(y, \rho (x,t), e(x,t)) = y\left( 1-\dfrac{\rho (x,t)+e(x,t)}{\kappa }\right) . \end{aligned}$$\end{document}Furthermore, we assume that the degradation rate of the ECM is proportional to the density of surrounding cells and decreases as the phenotype of the cells increases. We write this as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \nu (y, n(x, y, t)) = (1-y)n(x,y,t). \end{aligned}$$\end{document}One major challenge in understanding the cell phenotype dynamics during invasion is the lack of direct experimental observations, as visualizing phenotypic transitions in real time is extremely difficult. As a result, there is limited guidance in the literature on the appropriate mathematical forms for these transitions, leaving a key gap in the understanding of how phenotype-dependent behaviours shape collective migration.
This highlights the final undetermined functions in Eqs. (5) and (12), that describe the transitions between cell phenotypes. In this section, we systematically investigate the impact of different density-dependent phenotypic transition rules, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mu _{\pm }(y, \rho (x,t), e(x,t))$$\end{document} , along with their associated drift and diffusion terms, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$v^p(y, \rho (x,t), e(x,t))$$\end{document} and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^p(y, \rho (x,t), e(x,t))$$\end{document} , respectively, as summarised in Table 1. By exploring how the invasion dynamics change under different assumptions, we aim to determine whether population-level (and therefore potentially more observable) behaviours can provide insight into the underlying, unobservable phenotypic structures, offering a potential approach for inferring hidden biological mechanisms from macroscopic invasion patterns.Table 1. Table listing the functions employed in Eq. (5) describing the probabilities of transitions up and down in phenotype space, resulting in the phenotypic drift, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{v^p}}(y, \rho (x,t), e(x,t))$$\end{document} , and phenotypic diffusion, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{D^p}}(y, \rho (x,t), e(x,t))$$\end{document} , functions shownPhenotypic drift \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mu _{-}(y, \rho , e)$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\mu _{+}(y, \rho , e)$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$v^p(y, \rho ,e)$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^p(y, \rho , e)$$\end{document} Cell-dependent \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \dfrac{\rho }{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$1-\dfrac{\rho }{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$2\dfrac{\rho }{\kappa }-1$$\end{document} 1ECM-dependent \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \dfrac{e}{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$1-\dfrac{e}{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$2\dfrac{e}{\kappa }-1$$\end{document} 1Space-dependent \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ \dfrac{\rho +e}{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$ 1-\dfrac{\rho +e}{\kappa }$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$2\dfrac{\rho +e}{\kappa }-1$$\end{document} 1
We investigate three phenotypic drift mechanisms influencing cell transitions: firstly, cell-dependent drift, where cells shift toward more motile phenotypes at higher cell densities; next, ECM-dependent drift, where cells adopt more ECM-degrading phenotypes as ECM density increases; and finally, space-dependent drift, where cells become more proliferative as available space increases. Each drift term is bounded between zero and one, which is consistent with the constraints placed on the total cell and ECM density. By comparing these mechanisms for phenotype change, we assess how different environment- and density-dependent phenotypic transitions shape the structure of the migrating cell front.
We simulate this system of Eqs. (5)-(10), (12) and (13) subject to the following initial conditions:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} n_0(x,y)&= \dfrac{{\text {exp}\left( -100(x^2 + y^2)\right) }}{\max \left( \int _{X_{\text {min}}}^{X_\text {max}} {\text {exp}\left( -100(x^2 + y^2)\right) } \, \textrm{d}x \right) }, \end{aligned}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} e_0(x)&={\left\{ \begin{array}{ll} 0 \quad \quad \text {if} \;\; n_0(x,y)>0.001, \\ 0.5 \quad \text {otherwise.} \end{array}\right. } \end{aligned}$$\end{document}Fig. 2. Evolution of the phenotypic structure of cells in Eqs. (5)–(12) subject to various phenotypic drift terms, with the corresponding ECM density shown as a dashed grey line. (a) The initial distribution of the ECM and the cells with different phenotypes. (b) The spatial structure of the invading wave subject to cell-dependent phenotypic drift. (c) The spatial structure of the invading wave subject to ECM-dependent phenotypic drift. Results in (b) and (c) are all plotted at \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t=30$$\end{document} and simulations are carried out with \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\kappa =1$$\end{document} . See Table 1 for explicit forms of the phenotypic drift terms
By examining the simulation results shown in Fig. 2 we can see that for a fully mixed initial population of cells, the phenotypic drift terms considered produce travelling wave solutions with similar, constant speeds of invasion. See Supplementary Information Figs. S1 and S2 for a comparison including space-dependent phenotypic drift, which shows very similar results to cell-dependent drift.
In the case of cell-dependent phenotypic drift, we notice that there is a larger density of cells with lower phenotypes, which correspond to more motile and ECM degrading but less proliferative cells, in the bulk of the wave. At the front, we instead see a higher proportion of more proliferative and immobile cells, which are able to divide into the available space. As such, in the bulk of the wave the mean phenotype remains the same but as x increases, we observe a gradual increase in mean phenotype at the wave front where extremely low cell densities induce cells to switch to a proliferative phenotype. Very similar patterning is observed in the space-dependent phenotypic drift case, without the sharp change in phenotype at the very front of the travelling wave (results in Supplementary Information). In this context, this model predicts that the density of the ECM has minimal impact on the phenotypic structure of the invading wave.
However, when examining ECM-dependent phenotypic drift in Fig. 2(c), we notice that the cells with higher phenotypes, corresponding to less motile and less degrading but more proliferative, now constitute a larger proportion of the population behind the invading front. Compared to cell- or space-dependent phenotypic drift, the mean phenotype of cells in the bulk is significantly higher. However, at the front of the invading wave in the ECM-dependent case, we see a larger proportion of cells with low phenotypes, namely, cells that have a higher ability to degrade the ECM and move into the subsequently available space.
As a result of the phenotypic structures developed when the system is subject to different phenotypic drift functions, the spatial structure of the individual phenotypes within the invading wave could be used to better understand the underlying mechanisms governing phenotypic transitions during collective cell migration into the ECM.
T Cell Exhaustion
In this subsection, we demonstrate the broad applicability of the framework by deriving a population-level PDE model for T cell exhaustion, starting from an individual-based description of the underlying dynamics. This approach systematically coarse-grains the underlying cell processes, ensuring that the resulting PDEs are not merely phenomenological but instead retain a direct mechanistic link to individual cell properties. Specifically, we incorporate a T cell population with varying levels of exhaustion invading into a tumour, and examine the role of phenotype-dependent drift in shaping its exhaustion dynamics. This application highlights how this framework can be adapted to capture complex immune responses while preserving biologically meaningful connections between individual- and population-level behaviour.
T cells are a key component of the immune system, with an important role to play in locating and attacking tumour cells (Weninger et al. 2001). When space is available, T cells will infiltrate into the tumour where they kill malignant cells by releasing cytotoxic enzymes. During the sustained activation of T cells required to combat and restrict further growth of a tumour, T cells will differentiate and eventually “exhaust” (Yi et al. 2010). This occurs as a result of continued exposure to the antigens of the tumour cells and as T cells exhaust, their effector functions reduce (Blank et al. 2019; Chow et al. 2022). Exhaustion results in diminished cytokine production, impaired proliferation and reduced motility in the T cells (Miller et al. 2019). Completely exhausted T cells are no longer able to move or grow (Wherry and Ahmed 2004), and have impaired toxicity, which reduces their ability to kill off tumour cells (Jiang et al. 2015). Furthermore, T cells will die much faster the more exhausted they are (Wherry and Ahmed 2004). Understanding the dynamics of the T cells as they infiltrate a tumour and their exhaustion during this process is crucial to developing treatments for tumours, and so we develop a mathematical model to gain further insights.
As such, after applying the T cell specific individual-based model functions described in the Supplementary Information Sec. S2.3 to the coarse-graining process, we investigate the spatio-temporal evolution of T cell density, denoted T(x, y, t), invading into a population of tumour cells, with density denoted by C(x, t). Similarly to before, we define \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\rho (x,t)$$\end{document} as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \rho (x,t)= \int _{y=Y_{\text {min}}}^{y=Y_{\text {max}}}T(x, y, t) \textrm{d}y. \end{aligned}$$\end{document}In this application, the phenotype of the cells, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y\in [0,1]$$\end{document} , represents the exhaustion of the T cells. As such, T cells with phenotype \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=1$$\end{document} are naïve, and are able to move freely and randomly in physical space, whilst also attacking nearby tumour cells and dividing (Worbs and Förster 2009; Reina-Campos and Goldrath 2019). However, T cells with phenotype \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$y=0$$\end{document} are considered exhausted, or terminally-differentiated memory T cells, which are considered to be in a resting state (Sprent and Surh 2011; van den Broek et al. 2018). The resulting model takes the following form:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t}T(x,y,t)&= \dfrac{\partial }{\partial x}\bigg ({{D^m}}\big (y, \rho (x,t), C(x,t)\big )\dfrac{\partial }{\partial x} T(x,y,t) \nonumber \\&\quad \qquad \qquad - T(x,y,t)\dfrac{\partial }{\partial x}{{D^m}}\big (y, \rho (x,t), C(x,t)\big )\bigg ) \nonumber \\ &\quad +\dfrac{\partial }{\partial y} \bigg ({{v^p}}\big (y, \rho (x,t), C(x,t)\big )T(x,y,t)\bigg )\nonumber \\ &\quad +\dfrac{\partial ^2}{\partial y^2}\bigg ({{D^p}}\big (y, \rho (x,t), C(x,t)\big )T(x,y,t)\bigg )\nonumber \\ &\quad +{{r}}\big (y, \rho (x,t), C(x,t)\big )T(x,y,t), \end{aligned}$$\end{document}where the net proliferation of the T cells, which depends on the exhaustion of the T cells and the available surrounding space for growth, can be described by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} {{r}}(y, \rho (x,t), C(x,t)) = \gamma _1y\left( 1-\frac{\rho (x,t)+C(x,t)}{\kappa }\right) -\gamma _0(1-y), \end{aligned}$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\gamma _1\ge 0$$\end{document} describes the growth rate, and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\gamma _0\ge 0$$\end{document} describes the death rate of the T cells. \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\kappa >0$$\end{document} is the carrying capacity for the cells, as described in Sec. 3.3.
T-cell movement in physical space is assumed to be random and undirected, but it is prevented by the presence of other T cells or tumour cells (in line with the volume-filling assumptions described in Sec. 3.3). As such, diffusion in physical space is given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{D^m}}(y, \rho (x,t), C(x,t)) = y \bigg (1-\dfrac{\rho (x,t)+C(x,t)}{\kappa }\bigg ),$$\end{document}which describes a higher diffusion rate for T cells with a higher phenotype.
Furthermore, we wish to model the phenotypic transitions of the T cells, or how exhausted the T cells become as they move, grow and interact with tumour cells. We have already assumed that the higher the phenotype of a T cell, the higher its probability of moving and growing, and this in turn will exhaust it. We also know that the tumour cells can be killed by the T cells, which we assume will further exhaust the T cells at a rate proportional to the number of interactions they have with the surrounding tumour cells. Therefore, we model the drift in phenotype space as
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{v^p}}(y, \rho (x,t), C(x,t)) = y(k_1+k_2C(x,t)),$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$k_1, k_2 \ge 0$$\end{document} describe the exhaustion rate of the T cells as a result of movement and growth, and as a result of interactions with the tumour cells, respectively. We allow for some small randomness in the exhaustion levels of the T cells by including a diffusive term in phenotype space of the form
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} {{D^p}}(y, \rho (x,t), C(x,t))=\varepsilon \ll 1. \end{aligned}$$\end{document}Now, it is well-known that tumour cells are also mobile and able to grow (Suresh 2007). As such, we can derive an equation similar to Eq. (12) which also includes terms describing random movement and proliferation derived in the same manner as those in Eq. (5). The resulting equation governing the evolution of the density of the tumour cells in space, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$x\ge 0$$\end{document} , and time, \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t\ge 0$$\end{document} , is therefore given by
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} \dfrac{\partial }{\partial t} C(x,t)&= \dfrac{\partial }{\partial x}\bigg ({{D^C}}\big (\rho (x,t), C(x,t)\big )\dfrac{\partial }{\partial x} C(x,t) \nonumber \\&\qquad \qquad \qquad - C(x,t)\dfrac{\partial }{\partial x}{{D^C}}\big (\rho (x,t), C(x,t)\big )\bigg ) \nonumber \\ &\quad -\int _{y=0}^{y=1}{{\nu }}(y, T(x,y,t)) C(x,t) \text {d}y + {{g}}(\rho (x, t), C(x,t))C(x,t). \end{aligned}$$\end{document}We note here that the term \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^C(\rho (x,t), C(x,t))$$\end{document} behaves similarly to \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$D^m(y, \rho (x,t), C(x,t))$$\end{document} and that \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${{g}}(\rho (x,t), C(x,t))$$\end{document} behaves like the growth term in the previous application, but without the phenotype dependence.
Assuming that the motility and proliferation of tumour cells is restricted in regions of high cell density, we take
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} {{g}}(\rho (x,t), C(x,t))&=r_C\left( 1-\dfrac{\rho (x,t)+C(x,t)}{\kappa }\right) , \\ {{D^C}}(\rho (x,t), C(x,t))&=1-\dfrac{\rho (x,t)+C(x,t)}{\kappa }, \end{aligned}$$\end{document}with \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$r_C\ge 0$$\end{document} describing the growth rate of the tumour cells. Finally, T cells with a higher phenotype are less exhausted, and therefore kill tumour cells at a higher rate. As such, we write
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} {{\nu }}(y, T(x,y,t)) = \bar{\lambda }yT(x,y,t), \end{aligned}$$\end{document}where \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\bar{\lambda }\ge 0$$\end{document} describes the rate of degradation of the tumour cells by the T cells, or the toxicity of the T cells on the tumour.
We simulate the system of Eqs. (20)–(21) subject to the following initial conditions:
\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} T_0(x,y)&= \dfrac{\text {exp}\left( -100(x^2+(y-1)^2)\right) }{\max \left( \int _{X_{\text {min}}}^{X_\text {max}} \text {exp}\left( -100(x^2+(y-1)^2)\right) \, \textrm{d}x \right) }, \end{aligned}$$\end{document} \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\begin{aligned} C_0(x)&={\left\{ \begin{array}{ll} 0 \quad \quad \text {if} \;\; n_0(x,y)>0.001, \\ 0.5 \quad \text {otherwise.} \end{array}\right. } \end{aligned}$$\end{document}Examining Fig. 3 it is clear that two main invasion behaviours are exhibited, which depend on the parameters of the system. The first, which can be observed in Fig. 3(b) and Fig. 3(c), shows T cells that attack the tumour cells and produce travelling wave type profiles that invade through the tumour cells into the domain, killing off the tumour as they do so.Fig. 3. Evolution of the phenotypic structure of population of T cells invading into population of tumour cells as described in Eqs. (20)–(21) subject to various exhaustion rates, with the corresponding tumour cell density shown as a dashed grey line. (a) The initial distribution of the cells. Results in (b), (c) and (d) show the spatial structure of the invading wave subject to exhaustion rates 0.1, 0.5 and 1.0, respectively. Solutions are plotted at \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$t=50$$\end{document} , and simulations are carried out with \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\varepsilon =0.01$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\gamma _0=1$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\gamma _1=10$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$r_C=0.1$$\end{document} , \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\kappa =1$$\end{document} , and \documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$\bar{\lambda }=10$$\end{document}
In these simulations, altering the parameters of the system, namely the exhaustion rate of the T cells, leads to a range of different predicted behaviours. The initial population of T cells were naïve. As such, the phenotypic structure of the invading wave of T cells with a lower exhaustion rate consisted of a larger range of phenotypes of cells (see Fig. 3(b)). Consequently, the invading wave retains cells with a high phenotype. Comparatively, by increasing the exhaustion rate of the T cells, a travelling wave of invasion can still be observed (see Fig. 3(c), for example), but with a much more restricted set of phenotypes in the bulk of the wave. The very front of the wave contains T cells with higher phenotypes that are the least exhausted, but the total density of T cells invading into the tumour cells is decreased, and subsequently, so is the invasion speed.
In another scenario, whereby the growth of the tumour cells exceeds the degradation of the tumour cells by the T cells, results similar to those in Fig. 3(d) are found, where the T cells exhaust extremely quickly as a result of a high number of interactions with tumour cells. This continued exposure quickly exhausts the T cells, which in turn increases death and creates available space for subsequent colonization by the tumour cells. In Fig. 3(d), all of the T cells have died and we observe that the tumour cells (plotted as a dashed grey line) are growing to fill the domain far ahead of the location of the initial population of T cells.
Due to the large number of parameters in Eqs. (20)–(21), complete exhaustion and death of the T cells can also be observed by decreasing the diffusion coefficient of the T cells, increasing (decreasing) the death (growth) rate of the T cells, decreasing the toxicity of the T cells or increasing the growth or motility rates of the tumour cells. In all of these cases, the tumour cells will eradicate the T cells and growth of the tumour to fill the available space will be observed. This is an example of competitive exclusion (Strobl et al. 2020). The opposite effects on each of these parameters provides examples of when the T cells are able to either completely eradicate or prevent further growth of the tumour cells. These behaviours have been observed experimentally (Schreiber et al. 2011) and thus the modelling results shown in this work could provide useful insights into developing treatments for tumours in the future, once biologically realistic parameter sets are investigated.
Discussion
In conclusion, numerous biological processes can be described in a simple form by phenotypically structured cell migration. Yet, general frameworks for modelling this, built from vastly adaptable underlying individual-based principles, are largely understudied (Villa et al. 2024). In this article, we have demonstrated how to derive a general model for phenotypically structured cell migration from the underlying individual-based processes, that can be used to reproduce a variety of results in the literature, whilst modelling a continuum of phenotypes.
Whilst we have illustrated that the general modelling framework is easily adaptable and can be applied to a range of biological systems considering spatial invasion of structured populations, we highlight the need for adaptation of the underlying assumptions to the specific modelling question of interest. For instance, the continuum model derived in this work employed distinctly different boundary conditions in the physical and phenotypic domains. These differences arose from the varying assumptions about the processes governing movement in each domain. However, these conditions can be straightforwardly modified through analogous derivations. We therefore stress that this work represents an important first step towards generalising this modelling approach.
In changing the form of the phenotypic drift terms, care must also be taken to ensure that limits taken in moving from the individual-based derivation to the continuum model are satisfied. For reaction-diffusion models with drift terms, the impact of these scalings and quantitative comparisons between the individual-based and resulting continuum models in such limits are well-studied in the literature (Lorenzi et al. 2020; Macfarlane et al. 2022).
The continuum modelling framework presented in this work describes invasion in two dimensions: space and phenotype. We could extend this into higher dimensions, both spatially and phenotypically, such that two or three dimensional experiments, such as those looking at the evolution of tumour spheroids for example, can be more accurately modelled, and the results validated against data. An example of a two-dimensional phenotype space could be the separation of proliferation and motility into two different dimensions, rather than the one-dimensional trade-off discussed in the example in this work.
Beyond this, we have applied this system of Eqs. (5)-(10), (12) and (13) to several biological scenario to demonstrate its versatility and utility. We recognise that these applications are for illustrative purposes only, and thus we employ several biological simplifications. We therefore propose that this framework could provide a base model for continuum modelling of invasion processes derived from underlying individual-based assumptions. The modelling framework presented would therefore benefit from expanding or adapting the forms of the functions to the specific biological application of interest, and the addition of extra details from various sub-models in the literature that may have been validated with experimental data would be needed in order to use this modelling approach to infer specific conclusions about the application of interest. For example, in the go-or-grow application, we have considered the volume-filling effects of both the cells and the ECM. However, if we were to consider modelling a chemoattractant, for example, the volume-filling assumptions underlying this model would no apply to the chemoattractant itself. As such, the derivation of the model would need to be adjusted accordingly, using the same methodology to determine the resulting population-level model.
Additionally, in the case of T cell infiltration into tumour cells, where we interpret the phenotype of the cell as its exhaustion level, we are making a first step into the spatio-temporal modelling of T cell movement with phenotypic structuring, and there remains a large number of questions to be asked. For example, what are the specific functions that most accurately describe the exhaustion of the T cells, or what does it really mean to be exhausted in this context (Blank et al. 2019)?
Overall, when simulation results from a particular biological scenario present vastly different phenotypically structured solutions, this general modelling framework could provide a useful tool for developing understanding of the mechanisms underlying heterogeneity during migration, such as the bet-hedging strategies observed as a result of environmental pressures in Almeida et al. (2024). The framework presented in this work has been derived from descriptions of interactions at an individual-based level and can be easily adapted to investigate a variety of biological applications. As a result, the versatility of this tool could help us understand the role of heterogeneity in a wide range of circumstances and its resulting insights could ultimately be used to help inform subsequent important treatment decisions.
Supplementary Information
Below is the link to the electronic supplementary material.Supplementary file 1 (pdf 761 KB)
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Ardaševa A, Anderson AR, Gatenby RA et al (2020) Comparative study between discrete and continuum models for the evolution of competing phenotype-structured cell populations in dynamical environments. Phys Rev E 102(4):04240410.1103/Phys Rev E.102.042404 PMC 1090097233212726 · doi ↗ · pubmed ↗
- 2Berestycki N, Mouhot C, Raoul G (2015) Existence of self-accelerating fronts for a non-local reaction-diffusion equations. ar Xiv preprint ar Xiv:1512.00903
- 3Byrne H, Drasdo D (2009) Individual-based and continuum models of growing cell populations: a comparison. J Math Biol 58:657–68710.1007/s 00285-008-0212-018841363 · doi ↗ · pubmed ↗
- 4Campbell NR, Rao A, Hunter MV et al (2021) Cooperation between melanoma cell states promotes metastasis through heterotypic cluster formation. Dev Cell 56(20):2808–282510.1016/j.devcel.2021.08.018PMC 855105634529939 · doi ↗ · pubmed ↗
- 5Carrillo JA, Lorenzi T, Macfarlane FR (2024) Spatial segregation across travelling fronts in individual-based and continuum models for the growth of heterogeneous cell populations. ar Xiv preprint ar Xiv:2412.0853510.1007/s 11538-025-01452-y PMC 1208924840388053 · doi ↗ · pubmed ↗
- 6Crossley RM, Painter KJ, Lorenzi T, et al (2024 b) Phenotypic switching mechanisms determine the structure of cell migration into extracellular matrix under the ‘go-or-grow’ hypothesis. Math Biosci pp 10924010.1016/j.mbs.2024.10924038906525 · doi ↗ · pubmed ↗
- 7Marculis NG, Evenden ML, Lewis MA (2020) Modeling the dispersal-reproduction trade-off in an expanding population. Theor Popul Biol 134:147–15910.1016/j.tpb.2020.03.00332209326 · doi ↗ · pubmed ↗
- 8Villa C, Maini PK, Browning AP, et al (2024) Reducing phenotype-structured pde models of cancer evolution to systems of odes: a generalised moment dynamics approach. ar Xiv preprint ar Xiv:2406.0150510.1007/s 00285-025-02246-5PMC 1230406540719870 · doi ↗ · pubmed ↗
