Thomas Williams1 James M. McCaw1,2 and James M. Osborne1
(1School of Mathematics and Statistics, University of Melbourne, Australia, 2Centre for Epidemiology and Biostatistics, Melbourne School of Population and Global Health, University of Melbourne, Australia)
Abstract
Increasingly, mathematical models of viral infections have come to recognise the important role of spatial structure in infection dynamics. Almost invariably, spatial models of viral infections make use of a wide, flat computational domain which is assumed to be representative of the entire affected tissue. Implicit in this assumption is that either the tissue being modelled is largely wide and homogeneous, or that the topology of the tissue has little influence on the dynamics of the system. This assumption fails to take into account the distinctive geometry of the lung. The lung is characterised by a tubular, highly branching structure, and moreover is spatially heterogeneous: deeper regions of the lung are composed of far narrower airways and are associated with more severe infection. Here, we extend a typical multicellular model of viral dynamics to account for two essential features of the geometry of the lung: the tubular structure of airways, and the branching process between airway generations. We show that, with this more realistic tissue geometry, the dynamics of infection are substantially changed compared to the standard approach, and that the resulting model is equipped to tackle important biological phenomena that are not well–addressed with existing models, including viral lineage dynamics in the lung, and heterogeneity in immune responses to infection in different regions of the respiratory tree.
Keywords: Lung, Mathematical model, Multicellular model, Viral dynamics, Influenza, SARS–CoV–2.
1 Introduction
Respiratory viruses represent a widespread and ongoing threat to global public health, both through seasonal epidemics of viruses like influenza or respiratory syncytial virus (RSV), and pandemic viruses like SARS–CoV–2 and newly emergent influenza strains. Within the host, viral infections of the lung can have highly varied patterns of progression, and can lead to marked differences in pathogenicity. In general, milder illnesses tend to arise from infections in the upper airways, such as the nasopharynx and trachea, whereas more severe and potentially life–threatening illnesses typically involve infection of the lower airways and alveolar spaces of the deep lung [20, 31, 15, 28]. Mathematical models of viral infections within the host have offered important insights into the dynamics of respiratory viruses, including how these infections spread in space [27, 15, 2]. However, traditional approaches to modelling the spatial dynamics of viral infections — including infections of the lung — do not consider the specific geometry of the tissue. Instead, models typically assume a square tissue with either periodic or no-flux boundary conditions, on the assumption that the model domain represents a small, typical patch of the overall tissue [26, 21, 29]. Implicit in this setup is the assumption that the overall tissue is reasonably wide and homogeneous, at least compared to the size of the patch. However, this is not necessarily true of the lung. The lung is an extremely structurally complex organ, comprising 24 generations of branching airways ranging in circumference from centimetres in diameter to fractions of millimetres in the alveolar ducts [9, 22]. The epithelial lining of the respiratory tree — targeted by respiratory viruses — therefore occupies an extremely large, intricately–structured surface area within a highly compact volume [9, 28]. As such, while a flat, square model tissue may offer a reasonable approximation of the structure of the upper airways, it fails to represent the extremely narrow, highly branched structure of the lower airways, which are primarily targeted by more highly pathogenic viruses [15, 20].
Two recent studies have attempted to address this limitation by using mathematical models of infection spread in space which explicitly represent structural features of the lung. Chen and colleagues studied viral infection dynamics on individual airways from different generations of the lung [9]. Their model explicitly included the mucus layer lining the susceptible tissue as the principal medium in which virions spread, and incorporated experimental measurements of its velocity at different depths in the lung. Their modelling work suggested that, based on the properties of the mucus, there was a pronounced heterogeneity in the likelihood of an infection being established in different generations of the lung. Another study by Moses and coworkers compared the dynamics of SARS–CoV–2 infection on a large two–dimensional sheet of cell to the dynamics on a full, three-dimensional computational model of the entire human lung [24]. The authors found that infection on the lung geometry was notably accelerated compared to infection of the two–dimensional tissue, and resulted in an enhanced virion production. These two works hint at the heterogeneity between the dynamics of different regions of the lung, and suggest that there are important distinctions between the dynamics of infection on tissue with realistic, lung–like geometry, and more standard, flat model tissues. However, due to the complexity of both models, it is not clear how the tissue geometry influences the dynamics of the infection, or what predictive capacity this may confer to the model. There is therefore a need for a more detailed analysis of the role of the structure of the lung in spatial models of respiratory viral infections.
In this work, we seek to explore how the two main features of lung geometry — the tubular and branching tissue structure — influence the dynamics of a multicellular model of viral infection. We simulate our model on computational tissues in varying lung–like geometries to explore the role that different structural properties play in influencing infection dynamics. Our results pinpoint the dynamics possible on tissue geometries which more accurately reflect the lung, and demonstrate applications of this new model to important biological questions on the dynamics of respiratory viral infections in vivo.
2 Methods
In this work, we extend a relatively simple and established agent-based model based on one which we and others have used in earlier works [30, 5, 11]. This model couples a grid of discrete, spatially–explicit cells to a viral density surface. We assume that, at a given time, cells are in one of the following states: susceptible to infection (target), infected but not yet infectious (eclipse), productively infectious (infected), or dead (dead). Infection can arise from either cell–free virions at rate — secreted by productively infectious cells at rate — or from direct cell–to–cell infection between susceptible and productively infectious cells at rate . Latently infected cells undergo an eclipse phase of gamma–distributed duration with mean and shape parameter . In line with experimental observations for SARS–CoV–2, we assume that the cell-to–cell infection mechanism is the dominant mode of infection and tune our model parameters such that approximately 90% of infections arise from this mechanism; the other parameters are taken from fitting an equivalent ODE model to experimental data. For full details on parameter selection, refer to Supplementary Section S2. Extracellular viral density diffuses across the tissue according to linear diffusion with coefficient and uniformly decays in the environment at rate . We show a schematic of this model setup in Figure 1(a). For full details of the model and its implementation, refer to the Supplementary Information.
We simulate our model in either tubular or branching geometries. In each case, the unrolled tissue is a 2D, hexagonally–packed grid of cells (consistent with the packing of real epithelial monolayers [18, 3, 5]), where the geometry is implemented in the boundary conditions of the sheet. For the tube geometry, we impose periodic boundary conditions on the top and bottom edges with zero–flux boundary conditions on the left and right edges of the tissue, which we show in Figure 1(b). Tissues with branching geometry are essentially an ensemble of tubes of varying dimensions. We assume that the tissue undergoes even, binary division at a sequence of branching points along the horizontal. Each offspring tube has periodic boundary conditions on its top and bottom edge and is assumed to be half the width (circumference) of its parent, which we show in Figure 1(c). This ensures that the overall shape of the unrolled branching tree maintains constant width. We impose zero–flux boundaries on the overall branching tree. For full details of the implementation of the tissue geometries, refer to Supplementary Sections S3 and S5.
3 Results
3.1 Diffusion of extracellular virions strongly influences viral dynamics on tubular tissues
In the literature on spatial viral dynamics, an assumption is sometimes made that the extracellular viral density is approximately uniform across the tissue, or, equivalently, that free viral transport is sufficiently fast as to be effectively instantaneous [5, 30, 17]. We tested whether, for a given model cell population size and diffusion coefficient, this assumption would be equally applicable to tube-shaped tissue geometries as it is to more typical square geometries. We began by constructing model tissues in a tubular geometry with a fixed number of cells but varying aspect ratio. Throughout this experiment, we use tissues of cells with tube circumference of cells and a length of cells such that the aspect ratio of the tissue is . Note that aspect ratio is defined based on cell numbers in each dimension and not the actual size of the tissue. Here, and throughout this work, we define tissues in tube geometry as rectangular grids of hexagonal cells with periodic boundary conditions on the upper and lower edges of the sheet and no–flux boundary conditions on the left and right ends of the tube. For this experiment, we initiate infection with four infected cells randomly placed on the left edge of the tissue. We illustrate this setup and present simulations in Figure 2. Figure 2(a) shows the topology of the tube, and Figure 2(b) shows the unrolled representation of the tube with the experimental setup. For full details of the implementation, refer to Section 2 and the Supplementary Information.
In Figure 2(c) we plot tissue snapshots from a representative simulation, in this case with an aspect ratio of 0.25 and diffusion coefficient (where CD is a cell diameter, here taken to be 10m as the size of a typical epithelial cell in the respiratory tract [10]). Figure 2(c) shows typical dynamics of the model. Infection begins on the left end of the tube. It is initially sluggish, but eventually accelerates and invades deeper into the tube. These snapshots show the formation of a wide infection front moving from left to right, followed by a region of dead cells. We observe the formation of distinct, tightly clustered infection foci beyond the infection front. These distal foci are caused by extracellular viral diffusion away from the infected front, which predominantly spreads via cell–to–cell infection in accordance with our parameter selections.
In Figure 2(d), we plot the cumulative proportion of infected cells in the tissue as a time series for a range of choices of the extracellular virus diffusion coefficient , ranging from zero to infinity. Tissue aspect ratio is fixed here at 0.25, and we plot ten trajectories for each value of . Figure 2(d) shows cumulative infected proportion growing approximately linearly with time, but with a dramatic dependence on the value of . Simulations with zero diffusion (i.e., where infection can only progress through cell–to–cell infection, shown in dark green) and those where diffusion is infinite (i.e., where viral concentration is uniform, yellow) exhibit extremely different time scales of infection. Intermediate values of diffusion give rise to relatively evenly spaced trajectories between these extremes.
As a metric of sensitivity to diffusion for a given choice of tissue aspect ratio, we compute the ratio between the time taken to (almost) completely infect the tissue with no diffusion and the time taken with infinite diffusion. We use the notation for the mean time taken to infect 95% of the cell sheet when the diffusion coefficient is . We report the time until 95% infection instead of total infection due to the high degree of noise associated with the latter. In Figure 2(e) we plot for varying tissue aspect ratios in orange. Figure 2(e) shows that sensitivity to the diffusion coefficient is dramatically increased when the tissue aspect ratio shrinks, that is, when the tube becomes increasingly narrow and elongated. Figure 2(e) demonstrates that, compared to standard tissue geometries (where the aspect ratio is approximately 1), the value of the diffusion coefficient () imposes a far greater difference on system dynamics when the tissue geometry is tubular, representing the respiratory airways. We found that if the circumference and the length of the tube were equal (1:1), the infection time was approximately five–fold faster in the infinite diffusion case compared to the zero diffusion case, whereas when the aspect ratio was much smaller (1:256), this infinite diffusion case was around 80 times faster. We also compared the ratio of the time to 95% infection for the case — which we use in the remainder of this work — compared to the infinite diffusion case, and show these results on the same axes in purple. While this curve shows closer agreement with the infinite diffusion infection time compared to the zero–diffusion case, there is nonetheless a more than six–fold difference in infection time in the most elongated geometry, and even when the aspect ratio is 0.25, the case is still around 25% slower than the infinite diffusion case. Hence, even with this fairly large diffusion coefficient, we still obtain significantly different dynamics compared to when diffusion is infinite. As such, the assumption that viral diffusion can be ignored and approximated as infinite — sometimes justified on square tissue geometries [5, 30, 17] — does not apply to infections on more realistic, tubular geometries.
3.2 Lung branching structure imposes directionality of infection
To investigate the role that the branching structure of the lung imposes on viral dynamics, we constructed a simple tissue geometry which serves as an approximation of a segment of the airway tree, and perform simulations which are presented in Figure 3. An illustration of this construction is shown in Figure 3(b). Figure 3(b) shows, from left to right, a single tube of tissue which splits into two offspring tubes at each of a sequence of branching points. The regions of tissue between branching points are the generations of the branching tree. We will make the simplifying assumption throughout this work that each tube division is even and binary — that is, if the circumference of tubes in Generation is , then the circumference of tubes in Generation is — and moreover, that each generation is of equal length. We briefly note that, in reality, measurements of the anatomy of the human respiratory tree suggest that airways in subsequent generations tend to only shrink by around 20%, and as such, the sum of circumferences in subsequent generations increases substantially [22, 9]. In choosing to keep this quantity fixed, our model geometry should therefore be considered a caricature of the structure of the lung, instead of an exact representation of the biological reality. This approach, however, enables us to focus our results specifically on the presence of branching structure within the model tissue, and the presence of wider and narrower regions of tissue — both of which certainly are found in the lung — without the conflating effects of a domain which grows in overall width from left to right. Moreover, this geometry allows for the airway tree to be represented as a two-dimensional grid of cells with judiciously placed periodic boundaries, ensuring computational tractability and avoiding mathematical complications near generation splits. We show a schematic of the unrolled branching tissue in Figure 3(a), which shows the pairs of periodic boundaries lining either side of each branch of tissue within a given generation, defining the structure of the branching tree. Throughout this work, we model five tissue generations of length 100 cells each, where the circumference of the Generation 1 tube is 64 cells and the Generation 5 tubes therefore have circumference 4 cells. As with the tube, we place no–flux boundary conditions on the left and right edges of the branching tree. For full details of implementation, refer to Section 2 and the Supplementary Information.
We simulated viral infection of the branching tree by initiating infection with a single infected cell, where the seed cell was placed randomly on the left edge of a given tissue generation. We carried out ten simulations for each source generation and show the resulting infected proportion time series in Figure 3(c). Figure 3(c) shows the time series of each individual simulation along with the mean trajectory (excluding simulations where the infection quickly died out). This plot shows that, with the exception of the infection seeded in Generation 1, the dynamics form a clear peak of infection, and are generally delayed the deeper into the tree the infection is seeded. In the Generation 1 case, by contrast, the infection appears to be delayed compared to the Generation 2 case, and moreover forms a plateau in infected cell proportion with no clear peak of infection.
To probe these observations further, for each of the simulations in Figure 3(c) we plotted the time series for infected proportion in each tissue generation, along with the overall time series, which we show in Figure 3(d). To track how the infection peaks seen in Figure 3(c) is affected by source generation, we indicate the mean time of the infection peak at each source generation, for which we write . As an alternative metric of the time course of infection, we also show the mean time to 50% infection, . Figure 3(d) confirms the observation made above that the peak of infection is delayed the deeper into the branching tree the infection is seeded. Furthermore, it shows that the simulations seeded in Generation 1 have the special property that the individual time series for each tissue generation are tightly peaked and non-overlapping, meaning the overall infected proportion time series is therefore fairly flat. In each other case, the dynamics in individual tissue generations form multiple peaks and overlap substantially. However, in each of these cases, the orange curve — representing the infected proportion dynamics in Generation 1 — always forms a single peak which correlates with the overall infected proportion peak. Taken together, these observations reveal that local availability of target cells governs the rate of infection spread. Since the spread of infection is spatially limited by the diffusion of extracellular virus and cell–to–cell infection, infection is faster in regions of the branching tree with the shortest path to the largest number of susceptible cells, which is Generation 1. Here, the infection spreads at its fastest and reaches its peak. Infection spread is likewise initially sluggish when seeded in deeper tissue generations, where the narrowness of the tube restricts the number of susceptible cells within a given distance of the infection. Infections do not reach a single peak in deeper tissue generations, since the infection must travel substantial distances to spread between the branches of a given tissue generation. The upper– and lowermost branches of Generation 5, for example, are only connected via the top of the tree in Generation 1. Infections seeded in Generation 1, however, have the unique property that, as the infection front spreads down the branching tree, it reaches all the branches of each tissue generation more or less simultaneously. As such, there is little difference in the dynamics of infection in each tissue generation and the overall dynamics are relatively flat.
This finding explains the shape and position of the peak of the infected proportion time series, but does not account for why infections seeded on the left edge of Generation 1 should be slower than those seeded in Generation 2. To explore this in more depth, we ran more simulations where the single initially infected cell was placed at different depths (counting from left to right) along the branching tree in finer resolution. We report the time of the peak infected proportion along with the time to 50% infection for the ten simulations in each case along with the means, and plot our results in Figure 4. Figure 4 confirms an overall increasing trend in both the time to the infected peak and the time to 50% infection as the depth of the seed cell increases from Generation 2 onwards, however, it also shows that infections seeded further left of this reach a peak significantly later. In this case, the infection is seeded close to the top of the tree where we have imposed a no–flux boundary. The infection front, therefore, can effectively only spread in one direction (down the tree), slowing the rate of infection. We note that while estimates of the time to 50% infection are very consistent between iterations of the model regardless of the seed cell position, the time of the infection peak is subject to considerable noise when seeded close to the top of the tree. This is because in these cases as the infection front progresses down the tree, there is little variation in the target cell availability near the front, hence the infected proportion time series is flat and the peak is subject to substantial noise. These two metrics also substantially diverge for seed cell positions in the first two tissue generations, indicating that in these cases, the infected proportion time series is significantly biased. Here, the infection reaches a peak early (as the infection front spreads through Generation 1), then slows down as it spreads through the remainder of the branching tree, reaching 50% infection of the tissue later.
3.3 Tissue geometry and aspect ratio influence the fate of competing viral lineages
Recent genetic surveys of the within-host viral populations of individuals infected with influenza have shown a remarkably low degree of genetic diversity [23]. The same study also found that single nucleotide variants — the majority of which were synonymous — from early samples were very likely to be absent from samples taken later in infection. These findings suggest that genetic diversity of the within–host influenza virus population is rapidly lost, and dominated by stochastic rather than evolutionary processes. We sought to use our model to explore the dynamics of competing viral lineages within the tissue. We did so by introducing multiple, colour–coded viral populations. We used this approach — which was inspired by experimental work by Fukuyama and colleagues, who studied mice co–infected with a suite of differently-coloured influenza reporter viruses [14] — in an earlier work, as it has the additional benefit of aiding in visualising the spread of infection from multiple foci [30]. This method was implemented by seeding infection with several cells, each infected with viruses of different lineages, and determining the lineage associated with each newly-infected cell by tracking the viral and cell population associated with each lineage. All lineages were assumed to follow the same mechanics and have the same parameters. For full details of implementation, refer to Section 2.
As a starting point, we sought to compare the lineage dynamics on tubes of varying circumferences. We did so by constructing tubes of length 500 cells and different choices of circumference . As in an earlier result, we ran simulations of our model by seeding infection with four initially infected cells randomly placed on the left edge of the tube, with the exception that these cells are now assumed to be infected by different viral lineages. As a control, we also compared each case with a “naive” approach, where we constructed an approximately square tissue with the same number of cells, and applied toroidal periodic boundary conditions. Note that we define a tissue as “square” by having equally many cells in width as in length, however, due to the hexagonal packing of the cells, the physical dimensions of the sheet are rectangular. In the absence of tissue edges in this case, the four seed cells were placed randomly in the toroid. This control case is representative of the standard modelling approach in the literature where the geometry of the lung is not considered. Schematics and simulations on different geometries are presented in Figure 5. We show schematics of the tube and toroid geometries in Figure 5(a)–(b). We compare the results obtained for a narrow tube (with a circumference of 8 cells) to those obtained for a wide tube (circumference of 64 cells) — along with their corresponding toroids — in Figure 5(c)–(j).
In Figure 5(c)–(d), we plot the infected proportion time series for ten simulations on the narrow and wide tube and their corresponding toroids. We also indicate the time taken to reach 50% infection of the sheet. Note that we use this metric as opposed to the time to infection peak due to the very flat and noisy trajectories of the tube time series. Figure 5(c)–(d) show that, compared to the toroid, infection of the tube is substantially slower, and the proportion of cells infected at any given time is significantly lower. Also, while infection of the larger toroid (corresponding to the tube) is much slower than for the smaller one (corresponding to the tube) — owing to the proportionally smaller initial infected population — the time scale of infection on the narrow and wide tubes is very similar (within 1%). This is despite the fact that there are eight times more cells in the wide tube case. This finding suggests that the rate of infection along the tube depends primarily on the length of the tube, and that spread along the circumference of the tube is comparatively fast (at least for circumferences up to 64 cells).
In order to visualise the spatial structure of infected cell populations of different viral lineages, we took snapshots of the final state of the tissue for different simulations and coloured each cell by the viral lineage that infected it. In Figure 5(e)–(f) we show representative snapshots of the unrolled tube tissue for the narrow and wide tubes respectively, and in Figure 5(g)–(h) we show representative snapshots of the corresponding toroids. Collectively, Figure 5(e)–(h) show that, while there is qualitatively little difference in the structure of infected populations in the toroid instances, there is a sharp difference between the two tube snapshots. In the snapshot of the narrow tube, the lineages are well-mixed near the left edge of the tube (where infection was seeded) but the orange and green populations rapidly disappear, and the purple cells also become more sparse and are also lost approximately halfway down the tube, leaving only the yellow population. In the wide tube case, however, while the green lineage is only found in the first third of the tube, all other lineages are found throughout the tube, albeit in unequal proportions. By comparison, in both toroid cases, all four viral lineages coexist in relatively similar amounts.
In order to quantify these observations, we ran 100 simulations on both the narrow and wide tube and their corresponding toroids and reported the distribution of proportions of the tissue infected by each lineage. We show these results as histograms in Figure 5(i)–(j). Figure 5(i)–(j) shows two key results. Firstly, the distributions for the toroids and tubes are qualitatively completely different. For the tubes, lineages are by far most likely to infect <10% of the tissue, with higher proportions markedly less likely, demonstrating dominance by a single lineage (or a small number of lineages). By contrast, for the toroids, density is centred at 20–30%, corresponding to a relatively even split of the tissue between the four lineages. This distribution is more tightly peaked for the larger toroid due to the larger cell population. This finding suggests that taking the typical approach to multicellular modelling, that is, in taking the cell sheet to be approximately square and with toroidal boundaries, is insufficient for capturing the lineage dynamics seen on more realistic lung tissue geometry. Figure 5(i)–(j) also show a small but not insignificant probability of a single lineage dominating the cell population (>80%) in the narrower tube. This is not observed for the wide tube.
3.4 Branching of lung tissue promotes loss of within-host viral diversity and spatial isolation of viral lineages
Having established the results in the previous section for a single tube, we next sought to explore how viral lineage dynamics were impacted by the inclusion of branching structure in the tissue geometry. To do so, we first explored how the lineage dynamics on the branching tree were impacted based on whether the infection started in the upper or lower branches. We conducted a set of 100 simulations on a branching tree where, as with the tubes, infection was initiated with four infected cells of different lineages, randomly placed on the left, open edge of the tree (left edge of Generation 1). Then, for comparison, we also carried out 100 simulations where the seed cells were randomly placed within a single branch on the right, branching edge of the tree (right edge of Generation 5). These two scenarios are chosen to represent, in an abstract way, infections of the upper and lower respiratory tract, respectively. As in Section 3.3, we again use a branching tree with maximum circumference of 64 cells and five generations of length 100 cells, such that the overall dimensions of the tissue are the same as that of the wide tube, as previously defined.Simulations on tube and branching geometries and analyses are shown in Figure 6.
We constructed a histogram of the proportion of the tissue infected by each lineage across many simulations, shown in Figure 6(a). Figure 6(a) shows a marked difference in the outcomes of viral lineages for the two different source scenarios. While the distribution for the case where the seed cells are placed on the open edge qualitatively resembles that of the wide tube in Figure 5(j), the distribution for the case where infection is seeded on the branching edge resembles a far more extreme version of that of the narrow tube (Figure 5(i)). When infection is seeded on the branching edge, lineages are fated to either infect virtually none (0–10%) or virtually all (90–100%) of the tissue.
In Figure 6(e)–(f) we show representative snapshots of the unrolled branching tissue for both cases of the source cell positions, along with the tube snapshots from the previous section for comparison (Figure 6(c)–(d)). Figure 6(b) gives a schematic of these simulations. Figure 6(e)–(f) provide clear visual evidence for the sharp contrast between the lineage dynamics of infection on the branching tree starting in the upper or lower branches. These snapshots also suggest that the tissue is more likely to be dominated by a single lineage in the branching tree case (seeded on the branching edge) compared to the narrow tube case due to the larger overall cell population. As can be seen in Figure 6(f), by the time the infection spreads the length of the tree and reaches Generation 1, there is essentially only one lineage left but the entire upper half of the tree remaining to be infected, resulting in that lineage infecting a far greater overall proportion of the total cell population.
As another descriptive tool for analysing the lineage dynamics of infections on varying tissue geometries, we next developed a notion of lineage “extinction” if a lineage is not found beyond some specified cut-off depth into the tissue (we use a cut-off of 300 cells). We denote by the probability that, in a given geometry, a given lineage will go extinct. Figure 6(b) shows a schematic of this construction. Clearly, extinction as we have described it relies on a single direction of viral invasion, and is therefore not well defined for infection of the branching tube from the branched edge. In the narrow tube, we computed , meaning that a given lineage was more likely than not to go extinct, whereas for the wide tube, we found , meaning extinction only occurred around 25% of the time. Interestingly, on the branching tree (with source on the open edge), the probability of extinction was slightly reduced at , despite containing the same number of cells as the wide tube but with the inclusion of narrow branches within its geometry. This finding results from the fact that the branching structure acts to keep lineages separate, which slightly reduces the chance of their being crowded out. This can be seen in the lineage structure at the right end of both the wide tube and the branching tube (with source on the open edge). While in the tube case the remaining lineages are well mixed across the tube’s circumference, in the branching case, each of the narrow terminal branches is almost entirely uniform in lineage. When infection is seeded in these narrow branches, however, the branching structure does not act to separate and protect lineages since, as was observed in the narrow tube (Figure 6(c)), lineages are rapidly crowded out before they have a chance to be separated and lineage diversity is quickly lost.
To further quantify the difference in lineage structure on the branching tree (seeded on the open edge) and the wide tube, we analysed properties of the lineage dynamics along the depth of the tissue. To do so, for a given depth cells along the tissue, we examined the band of cells with depth to (where is the bandwidth, taken to be 10 cells). We sketch this computation process in Figure 7(a). For each band of cells analysed, we computed both the number of lineages found in the band, and a clustering metric, , as a measure of the extent to which lineages are clustered together. This metric, which is similar to one which we developed elsewhere [30], is computed on a cell population after an infection is complete and simply reports the mean proportion of a cell’s neighbours which are of the same lineage as the cell. We show a schematic of this calculation in Figure Figure 7(b). We plot both the number of lineages and the clustering metric as a function of band depth in Figure 7(c)–(d). In both cases we indicate the mean along with the 10th and 90th percentiles. Figure 7(c)–(d) both show that for the first approximately 200 cells of depth, the two geometries are relatively indistinguishable, and the difference in the final number of lineages remaining is not substantial compared to the noise of the system. However, for , we observe that, as well as there being a notable divergence in the means for the branching tree and tube case, there is also a substantial difference in the amount of variation in each case. While is an extremely noisy metric towards the right end of the tissue, it is very consistently close to 1 for the branching tube. This confirms our observation from the snapshots that while lineages are somewhat mixed in the tube case, the branches in Generation 5 of the branching geometry generally contain only a single lineage. Note that the reason for the small range of values (around [0.7,1]) is a result of the high proportion of infections arising from cell–to–cell infection, leading to a high probability of same-lineage neighbour cells. For a different ratio of cell–to–cell to cell-free infections, it is possible that the difference in trajectories for the branching tree and tube geometries would be more pronounced.
3.5 Immune response depends on the location of infection within a branching structure
Our simulations so far have not explicitly considered the role of the immune response. Resolution of infection in our model is controlled only by the availability of the susceptible cell population, a defining feature of target cell–limited models. However, actual respiratory infections in vivo do not result in the destruction of the entire lung epithelium. Instead, only reasonably localised regions are affected, such as the upper airways or the alveolar passages, before the host immune response or drug intervention results in the clearing of infection [15]. We sought to investigate the behaviour of a basic model of immune activity, and how it might interact with infections seeded in different regions of the branching tree geometry.
We introduce the following simple model for the immune response, which is presented and investigated in Figure 8. We assume some threshold proportion, , such that, once the cumulative infected proportion of the tissue reaches , the host immune response is triggered. At this point, there is a delay of hours while the immune response activates, then, once the response is active, we assume that the infection is immediately and totally cleared. At this point, we compute the final cumulative infected proportion as a measure of the cumulative damage to the tissue. We show a schematic of this construction in Figure 8(a).
As in the previous result, we sought to apply our simple model of the immune response to infections of the branching tree beginning from either the open left edge of Generation 1, or from the highly branched right edge of Generation 5. We recall that these two scenarios are chosen to represent upper– and lower–respiratory infections in vivo, respectively. In each scenario, as in Figure 3, we initiate infection with a single infected cell randomly placed on the specified edge of the tissue. We plot representative behaviour of both infection scenarios in Figure 8(b). Figure 8(b) shows the cumulative infected proportion over time for infections seeded on either the open or the branched edge. In each case we plot ten representative trajectories and the mean trajectory. The dynamics of infections progressing from either end of the tissue geometry are substantially different from each other. For infections initiated on the open edge, the cumulative infected proportion grows roughly linearly throughout, whereas for infections spreading from the branched edge, initial growth is slow and exponential, followed by a change in convexity at a cumulative infected proportion of around 0.7. There is little variation between individual simulations of the model.
We began by testing the final cumulative damage to the tissue, , for each of these infection seed positions for varying values of the detection threshold, . We ran 100 simulations of the model for infections of the branching tree seeded either on the open or the branched edge, and applied our immune model for a range of values between 0.1 and 0.5. Here, we have kept fixed at 30h. We constructed violin plots for the distribution of values at each value, and annotated these with the mean value. We compared this to the computed on the mean trajectory for both source positions, which we also show on the same axes. That is, we compare the mean of the on the individual trajectories and compare this to the on the mean trajectory. We show these results for both the open and branched edge source in Figure 8(c) and (d), respectively. Figure 8(c)–(d) show that cumulative damage increases roughly linearly on this range of detection thresholds for the open edge case, while for the branched edge case, damage increases at a sublinear rate. This corresponds to the different curvature in the cumulative infected curves for the two scenarios up to around 70% infected. Infections seeded on the branched edge are also subject to greater variation in the final damage to the tissue between iterations of the model, especially when takes a value around 0.2. Finally, we also note that while the mean and the of the mean trajectory agree well for the open edge source case, where the overall variation in final cumulative damage is minimal, there is a notable difference between the two for the branched edge source case. Here, especially for , the mean trajectory sustains a substantially lower final proportion of damage compared to the average damage in the individual runs. This difference in suggests that stochastic effects in individual runs of the model have a substantial effect on the outcome of the immune response, according to our model, and that averaged, deterministic models (as others have used in spatial viral dynamics [7, 6]) may not fully capture the observed dynamics.
Next, we decided to examine how the interplay of the two immune parameters, and , would influence the final cumulative damage to the two infection seed positions. To do this, we computed the final infected proportion, , on each of the 100 simulations mentioned above over a wide range of values for and . As a control, we applied the same method to infections on tubes the same length as the branching tree and with the same circumference as either the widest branch (64 cells) or the narrowest branch (4 cells) of the tree. These tissues represent a geometry where the tube that the infection started in continues out to the length of the full branching tree, but without any of the branching structure (a tube of circumference either 64 cells on the open edge, or 4 cells on the branched edge). We show a schematic of this setup in Figure 9(a)–(b).
In Figure 9(c)–(d) we show a heatmap of values on a range of values for and . We also display the contour in both cases, which we use as a rough threshold for whether the host survives the infection. Figure 9(c)–(d) show that, predictably, when the immune response is both sensitive and quick to activate, very little damage is sustained, whereas when the immune response requires a higher threshold of detection and more time to become active, the tissue is mostly destroyed. The two cases differ in the shape of the contours between these extremes.
In order to compare these two scenarios, we plotted the contours from both cases on the same axes in Figure 9(e). We also include the contours on the same region of parameter space for the wide and narrow tubes as defined above (that is, tubes of the same length as the branching tree and circumference equal to that of the widest or narrowest branch of the tree respectively). Figure 9(e) shows that the curves for the two source positions on the branching tree intersect, enclosing two distinct regions. This overlap is not a special property of the contour; other contours exhibit similar patterns (see Figure 9 and Supplementary Figure S2). In Region I of Figure 9(e), the immune response is triggered only at a high threshold, but activates quickly. In this case, infections seeded in Generation 1 (upper respiratory) are more effectively cleared by the immune response. In Region II, where the immune detection threshold is very low but there is a substantial lag in its activation, infections seeded in Generation 5 (lower respiratory) are more effectively targeted. In the curves for the two control cases — the wide and narrow tubes — we do not observe this overlap, indicating that this is a unique property of the branching tree. Our results indicate that even with an extremely simple immune response, we see heterogeneous responses to infections in the upper and lower regions of the branching tree based on the parameters of the immune response.
4 Discussion
In this work, we have explored how the characteristic geometry of the lung can influence how respiratory viruses like influenza and SARS–CoV–2 spread through lung tissue. Here, we extended a standard multicellular model of viral infection to account for two key features of lung geometry — the tubular structure of airways, and the branching process between airway generations — and studied the role these considerations play in the dynamics of the model.
Our work showed that imposing this geometry on the model tissue results in the emergence of key aspects of infection dynamics which do not arise on more standard tissue geometries. For one, we showed that when a cell population of fixed size is arranged in a tubular geometry of a given aspect ratio, the model dynamics are more sensitive to the value of the extracellular viral diffusion coefficient when the tube is narrower and longer. This demonstrates that diffusion of extracellular virus is a key element of viral invasion of tubular tissues, and that diffusion is far more important in models of infection on tubular tissues than it is on more standard, square tissue geometries.
We also observed that, for infections of a tissue structured as a branching tree, the dynamics of infection were influenced by the site of the source of infection. We found that infections seeded in deeper, more highly–branched regions of the tree took longer to infect the tissue, and discovered that this was a property of the abundance of target cells local to the infection front. At least for the parameter values used in this work, we observed infections forming well–defined fronts of infection. As such, on the branching tree, the point at which infection progressed fastest — and the point of the highest infected cell load — was when the infection front reached the unbranched edge of the tree (the “top” of the tree) where the number of susceptible cells near the front was maximised. Lower on the tree, the branching structure meant that infection fronts were more constrained to only spread along one dimension and therefore had less access to nearby target cells.
We showed that multicellular models equipped with realistic tissue geometry for the lung offer insights into important biological questions. We studied the fate of competing viral lineages within the tissue to explore the role that tissue structure may play in fostering or hindering the spread of viral mutants within the host. Using our model, we observed complex lineage dynamics, and found that, if infection is seeded concurrently by multiple competing viral lineages on the edge of a tube of cells, the likelihood that at least one lineage would be rendered extinct by stochastic effects was greatly increased over the same length of tube when the tube was narrow. This might indicate a mechanism for the very low viral genetic diversity observed within individuals infected with influenza, for example [23]. The stochastic extinction of lineages on narrow, crowded geometries is a known phenomenon in the ecological literature, called an “embolism effect” [4, 12]. A very similar extinction effect is also well–studied in cellular systems such the colorectal crypt or cancer growth under the name “neutral drift” [25, 19]. We have shown the potential presence of this behaviour in infections of the lung. We note that mathematical modelling of such dynamics is only possible with a model that considers tube geometry explicitly: a naive “control case” using a more typical modelling setup for the same experiment failed to capture relevant competition dynamics. Interestingly, we found that the branching structure complicates this behaviour, with the presence of branching appearing to protect the cohabitation of multiple viral lineages, and hinting at complexities in the way in which viral lineages develop and are compartmentalised within the lung. This is another observation which mathematical models — equipped with realistic lung geometry — are capable of addressing. Such models may moreover have applications to the emergence of viral variants within the host for influenza or SARS–CoV–2.
We also saw that infections of a branching tissue interacted very differently with a simple immune response model based on whether infection progressed from the open, unbranched end, or from the deeper, highly branched end, of the tree. Importantly, we also observed that when the immune response was slow to detect the infection but had a rapid activation time, it more efficiently cleared infections seeded on the open end of the tree, whereas when the immune response was highly sensitive but sluggish to activate, it more efficiently targeted infections seeded on the branched edge of the tree. We showed that this transition in infection outcomes was specifically a property of the branching geometry: on tubular tissues, wider tissues always sustained more damage following clearance of infection. The infection sources on the open and branched edges of the branching tree are analogous to upper and lower respiratory infections, which are well known to result in widely different host immune responses and pathogenicity [20, 31, 15, 28]. Our results suggest that geometry alone may provide an explanation for a difference in immune interaction with the two infections scenarios, and moreover indicates that multicellular models which incorporate branching tissue geometry offer an important tool to model the different disease outcomes associated with infection in these locations.
There are some important limitations to the approach we have applied here. Clearly the model of the respiratory tree we have presented is highly idealised, and future work will consider greater biological realism. For instance, the distribution of cell types in regions of the respiratory tree are varied and therefore so is the distribution of cellular receptors specific to a given virus, meaning that uniform infectivity is not observed throughout the lung [15, 16, 13]. Moreover, in this work we have considered extracellular viral transport to be isotropic and ignored the effects of the mucociliary escalator or the movement of air in the respiratory lumen. The properties of these flows have been shown to vary along the depth of the respiratory tree and could potentially influence the dynamics of spreading viral infections in the lung [16, 1]. We anticipate that these heterogeneities will be of greater importance over the entire 24 branching generations of the respiratory tree as opposed to the only five considered in this work [22].
We have also in this work presented only a simple sketch of immune activity. Future work will improve the realism of this mechanism, especially in considering its inherently spatial mode of action: imaging of the lungs of individuals with influenza or SARS–CoV–2 infection reveal diffuse regions of inflammation and infection alongside focal lesions of of concentrated immune activity at sites of infection [8, 28]. Nonetheless, our results show that the geometry of the tissue alone is sufficient to lead to complex and varied interactions with even a basic model of the immune response, suggesting that this may play a role in the different disease outcomes for upper and lower respiratory infections.
In our construction of a branching tree geometry, we have made the strong assumption that tissue generations are of equal length and that branching is an equal, binary process, such that the sum of circumferences of the branches of a given tissue generation is fixed. We have already discussed how this does not reflect the actual dimensions of actual respiratory trees in vivo. In reality, the sum of circumferences of consecutive generations of the lung tend to expand to fill space, especially in the terminal airways. We show what unrolled tissues would look like using experimental measurements for the dimensions in Figure 3 and Supplementary Figure S3, with the same colour scheme for generation as we have used in the main body of this work. We show that, in reality, the sum of circumferences of consecutive generations of the lung expand to fill space, especially in the terminal airways. An investigation of the influence of a more complex and biologically accurate tissue geometry is an important avenue for future work.
We have explored how explicitly including the geometry of the respiratory tree can improve the predictive abilities of spatial models of respiratory viral infections. Compared to traditional approaches to modelling the spatial spread of viral infections in the lungs — which use flat, square grids of cells — we have shown that models which incorporate the tubular and branching structure of the respiratory tree offer distinct model behaviour. Such models are also able to account for the complex dynamics of competition between viral lineages within the host, which might offer an important tool for studying the emergence and extinction of genetic variants. We moreover showed that infection spread in upper and lower regions of the branching tree generate distinct dynamics. This suggests that the difference in tissue geometry alone may influence the varying dynamics of upper and lower respiratory infections.
Declaration of competing interest
The authors declare no competing interests.
Code availability
All code is freely available on the GitHub repository https://github.com/thomaswilliams23/lung_structure_virus_dynamics.
Acknowledgments
TW’s research is is supported by an Australian Government Research Training Program (RTP) scholarship. JMM’s research is support by the ARC (DP210101920). JMO’s research is supported by the ARC (DP230100380, FT230100352). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- Asgharian etal., [2001]Asgharian, B., Hofmann, W., and Miller, F.J. (2001).Mucociliary clearance of insoluble particles from thetracheobronchial airways of the human lung.Journal of Aerosol Science, 32(6):817–832.
- Bauer etal., [2009]Bauer, A.L., Beauchemin, C. A.A., and Perelson, A.S. (2009).Agent-based modeling of host–pathogen systems: The successes andchallenges.Information Sciences (New York), 179(10):1379–1389.
- Beauchemin etal., [2006]Beauchemin, C., Forrest, S., and Koster, F.T. (2006).Modeling influenza viral dynamics in tissue.In Bersini, H. and Carneiro, J., editors, Artificial ImmuneSystems, pages 23–36, Berlin, Heidelberg. Springer Berlin Heidelberg.
- Bialozyt etal., [2006]Bialozyt, R., Ziegenhagen, B., and Petit, R.J. (2006).Contrasting effects of long distance seed dispersal on geneticdiversity during range expansion.Journal of Evolutionary Biology, 19(1):12–20.
- Blahut etal., [2021]Blahut, K., Quirouette, C., Feld, J.J., Iwami, S., and Beauchemin, C. A.A.(2021).Quantifying the relative contribution of free virus and cell-to-celltransmission routes to the propagation of hepatitis C virus infections invitro using an agent-based model [pre-print].arXiv, page 2102.05531.
- Bocharov etal., [2016]Bocharov, G., Meyerhans, A., Bessonov, N., Trofimchuk, S., and Volpert, V.(2016).Spatiotemporal dynamics of virus infection spreading in tissues.PLOS ONE, 11(12):1–27.
- Bocharov etal., [2019]Bocharov, G., Meyerhans, A., Bessonov, N., Trofimchuk, S., and Volpert, V.(2019).Modelling the dynamics of virus infection and immune response inspace and time.International Journal of Parallel, Emergent and DistributedSystems, 34(4):341–355.
- Camp etal., [2015]Camp, J.V., Bagci, U., Chu, Y.-K., Squier, B., Fraig, M., Uriarte, S.M., Guo,H., Mollura, D.J., and Jonsson, C.B. (2015).Lower respiratory tract infection of the ferret by 2009 H1N1pandemic influenza A virus triggers biphasic, systemic, and localrecruitment of neutrophils.Journal of Virology, 89(17):8733–8748.
- Chen etal., [2022]Chen, A., Wessler, T., Daftari, K., Hinton, K., Boucher, R.C., Pickles, R.,Freeman, R., Lai, S.K., and Forest, M.G. (2022).Modeling insights into SARS-CoV-2 respiratory tract infectionsprior to immune protection.Biophysical Journal, 121(9):1619–1631.
- Devalia etal., [1990]Devalia, J.L., Sapsford, R.J., Wells, C.W., Richman, P., and Davies, R.J.(1990).Culture and comparison of human bronchial and nasal epithelial cellsin vitro.Respiratory Medicine, 84(4):303–312.
- Durso-Cain etal., [2021]Durso-Cain, K., Kumberger, P., Schälte, Y., Fink, T., Dahari, H.,Hasenauer, J., Uprichard, S.L., and Graw, F. (2021).HCV spread kinetics reveal varying contributions of transmissionmodes to infection dynamics.Viruses, 13(7).
- Fayard etal., [2009]Fayard, J., Klein, E.K., and Lefèvre, F. (2009).Long distance dispersal and the fate of a gene from the colonizationfront.Journal of Evolutionary Biology, 22(11):2171–2182.
- Fiege etal., [2021]Fiege, J.K., Thiede, J.M., Nanda, H.A., Matchett, W.E., Moore, P.J.,Montanari, N.R., Thielen, B.K., Daniel, J., Stanley, E., Hunter, R.C.,Menachery, V.D., Shen, S.S., Bold, T.D., and Langlois, R.A. (2021).Single cell resolution of SARS-CoV-2 tropism, antiviral responses,and susceptibility to therapies in primary human airway epithelium.PLOS Pathogens, 17(1):1–15.
- Fukuyama etal., [2015]Fukuyama, S., Katsura, H., Zhao, D., Ozawa, M., Ando, T., Shoemaker, J.E.,Ishikawa, I., Yamada, S., Neumann, G., Watanabe, S., Kitano, H., and Kawaoka,Y. (2015).Multi-spectral fluorescent reporter influenza viruses (color-flu) aspowerful tools for in vivo studies.Nature Communications, 6(1):6600.
- Gallagher etal., [2018]Gallagher, M.E., Brooke, C.B., Ke, R., and Koelle, K. (2018).Causes and consequences of spatial within-host viral spread.Viruses, 10(11):627.
- Gizurarson, [2012]Gizurarson, S. (2012).Anatomical and histological factors affecting intranasal drug andvaccine delivery.Current Drug Delivery, 9(6):566–582.
- Goyal and Murray, [2016]Goyal, A. and Murray, J.M. (2016).Modelling the impact of cell-to-cell transmission in hepatitis Bvirus.PLOS ONE, 11(8):1–22.
- Holder etal., [2011]Holder, B.P., Liao, L.E., Simon, P., Boivin, G., and Beauchemin, C. A.A.(2011).Design considerations in building in silico equivalents of commonexperimental influenza virus assays.Autoimmunity, 44(4):282–293.
- Huels etal., [2018]Huels, D.J., Bruens, L., Hodder, M.C., Cammareri, P., Campbell, A.D.,Ridgway, R.A., Gay, D.M., Solar-Abboud, M., Faller, W.J., Nixon, C.,Zeiger, L.B., McLaughlin, M.E., Morrissey, E., Winton, D.J., Snippert,H.J., VanRheenen, J., and Sansom, O.J. (2018).Wnt ligands influence tumour initiation by controlling the number ofintestinal stem cells.Nature Communications, 9(1).
- Ke etal., [2020]Ke, R., Zitzmann, C., Ribeiro, R.M., and Perelson, A.S. (2020).Kinetics of SARS-CoV-2 infection in the human upper and lowerrespiratory tracts and their relationship with infectiousness [pre-print].medRxiv, page 2020.09.25.20201772.
- Levin etal., [2016]Levin, D., Forrest, S., Banerjee, S., Clay, C., Cannon, J., Moses, M., andKoster, F. (2016).A spatial model of the efficiency of T cell search in theinfluenza-infected lung.Journal of Theoretical Biology, 398:52–63.
- Makevnina, [2018]Makevnina, V.V. (2018).Solid-state modeling of human tracheobronchial tree for 23generations of airways.Journal of Physics: Conference Series, 1124(3):031002.
- McCrone etal., [2018]McCrone, J.T., Woods, R.J., Martin, E.T., Malosh, R.E., Monto, A.S.,Lauring, A.S., and Neher, R.A. (2018).Stochastic processes constrain the within and between host evolutionof influenza virus.eLife, 7:e35962.
- Moses etal., [2021]Moses, M.E., Hofmeyr, S., Cannon, J.L., Andrews, A., Gridley, R., Hinga, M.,Leyba, K., Pribisova, A., Surjadidjaja, V., Tasnim, H., and Forrest, S.(2021).Spatially distributed infection increases viral load in acomputational model of SARS-CoV-2 lung infection.PLOS Computational Biology, 17(12):e1009735–.
- Romijn etal., [2020]Romijn, L.B., Almet, A.A., Tan, C.W., and Osborne, J.M. (2020).Modelling the effect of subcellular mutations on the migration ofcells in the colorectal crypt.BMC Bioinformatics, 21(1).
- Sego etal., [2020]Sego, T.J., Aponte-Serrano, J.O., Gianlupi, J.F., Heaps, S.R., Breithaupt,K., Brusch, L., Crawshaw, J., Osborne, J.M., Quardokus, E.M., Plemper,R.K., and Glazier, J.A. (2020).A modular framework for multiscale, multicellular, spatiotemporalmodeling of acute primary viral infection and immune response in epithelialtissues and its application to drug therapy timing and effectiveness.PLOS Computational Biology, 16(12):e1008451.
- Smith and Perelson, [2011]Smith, A.M. and Perelson, A.S. (2011).Influenza A virus infection kinetics: quantitative data and models.Wiley Interdisciplinary Reviews: Systems Biology and Medicine,3(4):429–445.
- Taubenberger and Morens, [2008]Taubenberger, J.K. and Morens, D.M. (2008).The pathology of influenza virus infections.Annual Reviews in Pathology, 3:499–522.
- Whitman etal., [2020]Whitman, J., Dhanji, A., Hayot, F., Sealfon, S.C., and Jayaprakash, C. (2020).Spatio-temporal dynamics of host-virus competition: A model study ofinfluenza A.Journal of Theoretical Biology, 484:110026.
- Williams etal., [2024]Williams, T., McCaw, J.M., and Osborne, J.M. (2024).Spatial information allows inference of the prevalence of directcell–to–cell viral infection.PLOS Computational Biology, 20(7):1–35.
- Wölfel etal., [2020]Wölfel, R., Corman, V.M., Guggemos, W., Seilmaier, M., Zange, S.,Müller, M.A., Niemeyer, D., Jones, T.C., Vollmar, P., Rothe, C.,Hoelscher, M., Bleicker, T., Brünink, S., Schneider, J., Ehmann, R.,Zwirglmaier, K., Drosten, C., and Wendtner, C. (2020).Virological assessment of hospitalized patients with COVID-2019.Nature, 581(7809):465–469.