Introduction

Vector-borne diseases (VBDs) are primarily vectored by ectothermic arthropods, whose life history is sensitive to environmental variation1. Our ability to predict if vector populations can sustain pathogen transmission across the species range requires an understanding of how environmental variation and vector life-history interact2,3. There is now a rich literature exploring the mechanisms through which environmental variation alters vector trait expression, but explicit and delayed mechanisms of individual variation are generally omitted, even in extensively studied systems4. For example, adult mosquitoes experiencing hot, dry summer conditions have a shorter lifespan than adults that are subject to more favourable temperatures5. Short-lived mosquitoes are less likely to survive to complete the extrinsic incubation period and take a subsequent blood meal to transmit the pathogen. Therefore, there is environmentally driven inter-annual and inter-regional variation in the ability of mosquitoes to vector disease6.

Predictions of the relative risk of VBDs, via metrics such as the basic reproduction number, are highly sensitive to traits such as adult longevity. Seasonal and regional variation in this trait is often accounted for by parameterising functions that directly relate the current temperature to the longevity of adult mosquitoes7,8. However, adult longevity has also been shown to vary in response to an individual’s experience of competition and temperature during development. Therefore, the traits expressed by individuals in the population result from complex interactions between past environmental conditions and population states9. By ignoring the role that a vector’s historic environmental experiences have on biological traits critical to disease transmission we implicitly make the mean-field assumption, that all individuals are equally competent vectors regardless of their past experiences of the biotic and abiotic environment10. This mean-field assumption compromises our ability to assess the risk of vector-borne disease in variable environments, where seasonal patterns in environmental variables induce seasonal variation in vector population dynamics. Similarly, mean-field assumptions limit our ability to assess the relative risk of VBDs between climatic zones, such as between tropical and temperate environments, where different patterns of environmental variation occur.

The delayed effect of developmental experience on adult traits is an example of phenotypic plasticity, the ability of organisms expressing the same genotype to express different phenotypes according to the environmental conditions they are subject to11. To demonstrate how mechanisms of delayed phenotypic plasticity can be incorporated into predictions of VBDs we consider the ability of the invasive mosquito species Aedes albopictus to vector dengue virus. We use a recently derived phenotypically explicit mathematical modelling framework to represent how historical biotic and abiotic environmental conditions determine the trait dynamics of vector populations12. Ae. albopictus is a competent vector of dengue virus that is now widely distributed in temperate zones into which dengue is regularly imported13. Dengue is a viral VBD that has seen a recent dramatic increase in cases: in 2000 there were about half a million cases, which has risen to over 4.2 million in 2022, caused by a combination of climate and anthropogenic change14.

Despite predictions of broad suitability for the transmission of dengue virus by Ae. albopictus in temperate climates such as Europe by both statistical and mechanistic modelling approaches, outbreaks in these regions have so far been limited in size and duration15,16. This mismatch between observed and predicted disease incidence motivates the development of modelling approaches that are better able to reflect the currently observed global incidence of dengue. Due to the species' global range (currently between 0 and 52.5 degrees latitude13), Ae. albopictus populations are subject to a diverse range of environmental conditions. Environmental variation has been shown to induce variable trait dynamics in field populations and this may alter the ability of populations in different environments to vector disease17,18. It is our hypothesis that, by accounting for the effect of biotic and abiotic environmental variation on the phenotypic trait structure and population dynamics of Ae. albopictus, both the population dynamics of the species across its range and the current patterns of disease incidence around the globe can be better understood. Further, we propose that omitting mechanisms of phenotypic plasticity limits the ability of models to produce accurate and generalisable predictions of disease incidence.

Results

Model overview and validation

We develop a Susceptible-Exposed-Infected-Resistant (SEIR) model for the transmission of dengue virus by Ae. albopictus that incorporates a system of environmentally driven stage and phenotypically structured delay-differential equations. The model explicitly predicts mosquito population and trait dynamics. This model can represent the instantaneous effects of the current environment (e.g., temperature, precipitation, evaporation, photoperiod, and larval density) on vector traits such as development rate and through-stage survival. In addition, it captures the delayed effect of historic biotic and abiotic environments on these same traits. This allows us to represent how phenotypic plasticity in response to historic biotic and abiotic environmental variation during development alters adult longevity. We explicitly track the number of adult mosquitoes within the population that have experienced specific developmental conditions. This results in a phenotypically structured adult population that directly accounts for the effects of past environments on the ability of mosquitoes to transmit VBDs.

We use this model to consider the infection dynamics of a dengue outbreak, beginning with the introduction of humans, infected with a single serotype of dengue virus, into a completely susceptible population. This simplified representation of the urban dengue virus transmission cycle is most applicable to non-endemic temperate and sub-tropical regions, where the likelihood of multiple serotypes circulating simultaneously is reduced and the population’s prior exposure to dengue virus is limited19. Our model incorporates detailed species-specific processes, such as diapause, quiescence, the water dynamics of developmental habitats, and developmental plasticity that causes adult traits to vary in response to the environmental conditions experienced by juveniles throughout development20,21. We use data from published laboratory experiments to parametrise multi-dimensional reaction norms describing how temperature, larval density, precipitation dynamics, and photoperiod alter the traits of mosquitoes within and across developmental stages. Remotely sensed and climate reanalysis data combined with human population density data are then used to make spatio-temporal predictions of vector dynamics and VBD risk across the globe. A full description of the model is provided in the Methods section and a detailed example of the model outputs can be found in Supplementary Note 1.

We extensively validate the model predictions of mosquito population, wing length, and disease dynamics by comparing them to field surveys of mosquito populations and disease outbreaks across the species range. To validate the population dynamics we use published surveillance data, including life-stage specific population density estimates and average trait data, from 40 locations, across 13 countries and 4 continents (see Supplementary Note 1 for the full set of validations). To validate the model predictions of dengue dynamics we compare them to historical dengue outbreaks, using reports from the outbreak to select a likely introduction scenario for dengue virus into the region and to define an area over which to simulate the model. Validation data was obtained from a comprehensive search of published studies that observed the population dynamics of Ae. albopictus in the field or reported human cases of dengue. The literature search was conducted using a snowball procedure - a systematic search revealed a high number of false positives. Studies were included in our validation if the data was collected with at least a monthly resolution from a region where Aedes aegypti, a closely related vector species was absent. This exclusion criteria is necessary as Ae. aegypti is known to compete with Ae. albopictus for larval resources and is also a vector of dengue virus, factors which we do not account for here. Since substantial variation in case reporting effort through space and time is likely, our predictions of dengue transmission are not rescaled and the validations are intended to demonstrate that the model produces plausible disease dynamics (see also Supplementary Note 2). The comparisons presented in this paper represent the full set of datasets meeting the above criteria that were found in our literature search.

Across the species global range, the model achieves excellent predictions of the population and trait dynamics of Ae. albopictus (Fig. 1). The model’s predictions hold over a broad range of climatic regions and reflect the differences in population dynamics that are observed between temperate and tropical environments (see Monmouth, New Jersey, USA (2009), R2 = 0.59, and St. Paul, La Réunion (2013), R2 = 0.65 (Supplementary Fig. 47A)22,23. The model accurately predicts detailed within-season dynamics and consistently captures the species’ phenology (see adult numbers in Guangzhou, China (2006–2015), R2 = 0.6 (Supplementary Fig. 45B), and Rimini, Italy (2008), R2 = 0.94 (Supplementary Fig. 9A)24,25. The model additionally captures the inter-annual variation in abundance observed in multi-year data sets (see oviposition activity in Trento, Italy (2010–2020), R2 = 0.71 (Supplementary Fig. 14), and adult numbers in Suffolk, USA (2009–2018), R2 = 0.64 (Supplementary Fig. 40))26,27.

Fig. 1: Validation of predicted population dynamics against field data.
figure 1

Validations of the scaled model predictions against field data for locations around the world. In each case, the x-axis is time in days, and the y-axis is either the scaled abundance of individuals in a specific life stage or an average trait value. Each blue line represents the model’s prediction of the population dynamics at the corresponding location, the orange lines represent field observations from the same location. The colour of the outer box indicates the type of data that is being compared, orange boxes are for oviposition activity, which is the number of eggs predicted to present in an ovitrap, green boxes indicate larval numbers, red boxes indicate adult numbers and purple for average wing length. The location and year of each comparison are indicated below/above each graph, further details of each comparison can be found in Supplementary Note 1. Source data are provided as a Source Data file. A Comparisons for Europe24,25,26,77,159,160,161. B Comparisons for North America17,22,162,163,164,165. C Comparisons for Asia18,27,85,166,167,168.

Our model predictions indicate and confirm the current limited ability of Ae. albopictus to sustain autochthonous transmission in the Alpes-Maritimes Department of France. Predictions show good resemblance to the disease dynamics observed during the multi-year epidemic on the island of Réunion and the large outbreak that occurred in Guangzhou, China (Fig. 2)28,29,30,31,32,33. The reduced resemblance of our predictions to the observed disease dynamics towards the latter half of each outbreak may be explained by the intensification of vector control activities which we do not account for here. For example, in Guangzhou in 2014, a considerable intensification of vector control activities occurred halfway through the outbreak to which, according to previous disease modelling studies, led to a substantial reduction in the final outbreak size and duration28. These validations demonstrate that, through the careful consideration of the mechanisms by which environmental variation acts on the life history of a vector species, broadly generalisable predictions of population and disease dynamics can be achieved.

Fig. 2: Validation of predicted disease dynamics against historical outbreaks.
figure 2

Comparisons of the number of instances of autochthonous transmission detected during historical dengue outbreaks and the model predictions13,30,169,170,171. For each outbreak the x-axis is time in days and the y-axis is the reported number of instances of autochthonous transmission, with the blue lines representing model predictions and the orange lines field observations from that same location. These results are discussed in detail in Supplementary Note 2 and source data are provided as a Source Data file.

The role of phenotypic plasticity in driving disease outbreaks

To examine how phenotypic plasticity contributes to the observed disease dynamics, we examine four of the outbreaks in Fig. 2 in greater detail. During each outbreak, we compare the wing lengths of all mosquitoes within the modelled population to the wing lengths of infected mosquitoes responsible for dengue virus transmission events (Fig. 3). Wing length is a trait that is observable in the field where it is known to seasonally vary in a manner that qualitatively matches with the variation we have observed in populations of Ae. albopictus and other mosquito species17,34,35,36. This variation is highly correlated with variation in adult longevity9. Adult longevity is used in the parametrisation of the model to link larval developmental experience to adult trait expression9. Large mosquitoes are produced as a result of low larval competition and cooler temperatures at the start of the adult season. These large mosquitoes have long lifespans which allows a greater proportion of individuals to survive through the extrinsic incubation period of the virus which is also prolonged when temperatures are low.

Fig. 3: Comparison of trait dynamics during historic dengue outbreaks.
figure 3

AD Comparisons of the distribution of infective wing lengths and population average wing lengths during four historic dengue outbreaks. The central green line indicates the population’s median wing length at a given time with the shaded area indicating the 25th and 75th percentiles of the wing length distribution. The central orange line indicates the 50th percentile of the distribution of wing lengths of infectious individuals with the shaded area indicating the 25th and 75th percentiles. The blue and purple lines indicate the normalised number of dengue cases and adult mosquitoes respectively. Source data are provided as a Source Data file. Comparison for outbreaks in: A Hawai’i (2015–2016); B Réunion (2021); C Alpes-Maritimes, France (2020); D Guangzhou in (2014). E The difference between the average wing length of infective mosquitoes and the population average wing length in four locations before and after the time of peak transmission.

As each outbreak progresses the initial cohort of large mosquitoes begins to die off, being replaced by subsequent cohorts of smaller individuals that developed under higher intraspecific competition and warmer temperatures. Consequently, the wing length distribution of infected mosquitoes becomes increasingly similar to that of the entire population (Fig. 3A–D). This demonstrates that the trait dynamics of uninfected mosquitoes and mosquitoes responsible for infections are distinct, with the relationship between the two evolving through time and between outbreak locations. By considering differences between these wing length distributions we are able to directly examine the effects of phenotypic plasticity in adult longevity on disease dynamics9. For example, in Guangzhou during first quarter of the outbreak, an average of 70% of infections transmitted each day are attributable to the largest 20% of mosquitoes present in the population over this period (equivalently this is 47%, 31%, and 25% of transmission, attributable to the largest 20% of mosquitoes in Alpes-Maritimes, Reunion, and Hawai’i, respectively). More generally, across all of the outbreaks considered here we find that, in the initial stages of each outbreak, the majority of dengue virus transmission can be attributed to mosquitoes with wing lengths that are higher than the population average (Fig. 3E).

In the transmission of dengue, extended longevity is the only advantage that we have assumed that large mosquitoes have over small mosquitoes. The disproportionate amount of disease transmission events caused by large individuals during the initial stage of each outbreak is therefore attributable to the effects of delayed environmental variation on the trait structure of vector populations. This result adds significant nuance to the seminal work of Macdonald37 on malaria transmission, which demonstrated that under equilibrium conditions, adult longevity is an important factor in determining whether a VBD can spread. We show that temporal variation in adult longevity is essential for amplifying pathogen transmission in the early stages of an outbreak.

To test our hypothesis that vector trait dynamics are integral to predicting disease dynamics, we develop a suite of model variants (simplifications of our full model) that make common assumptions about how vector traits respond to environmental variation (see Supplementary Note 3). In the full model, we temporally track the number of mosquitoes within the population that express each wing length, resulting in a temporally evolving trait distribution, induced by delayed phenotypic plasticity. We consider a variant of our full model, where instead all adults are assumed to share the same invariant wing length, an assumption that is common in derivatives of the classical Ross-Macdonald transmission model, from which epidemiological metrics such as the basic reproduction number are routinely derived. We refer to this as the constant wing length model and consider its dynamics for different constant wing lengths4. Under this assumption, the only variation in adult traits occurs due to changes in the instantaneous environmental conditions, and so the effects of previous environments on the expression of traits are omitted. We also consider a model variant that uses the same delayed mechanisms of trait expression as the full model, but that represents this variation through a population average wing length rather than tracking the temporal evolution of the full trait distribution. We refer to this model variant as the unstructured model. Under this assumption, phenotypic plasticity is represented through a mean-field, where although the population's average past experience of development is accounted for, there is no explicit trait structure.

When the constant wing length model is simulated for the outbreak on Reunion (selected as a point of comparison due to its multi-year duration), under the assumption that all mosquitoes express the average wing length predicted by the full model (2.6 mm), we find that the constant wing length model predicts half as many total infections over the duration of the outbreak compared to the full model (see Supplementary Fig. 59). This demonstrates that the inclusion of mechanisms of individual variation not only allows us to attribute a disproportionate number of transmission events to large mosquitoes (Fig. 3), but also shows that the vector population’s trait dynamics have a quantifiable effect on outbreak size, and therefore that phenotypic plasticity alters disease dynamics (see Supplementary Fig. 56 for examples of the constant wing length model for other outbreaks). For the same outbreak, the unstructured model variant predicts twice as many dengue cases as the full model. The mean-field approach, characterised by the unstructured model, does not account for the non-linear effect of adult survival on vector competence, resulting in quantitatively different predictions of outbreak size (Supplementary Fig. 59). These examples show how the delayed response of vector traits to past environments through phenotypic plasticity gives rise to a trait distribution that is integral to understanding the disease dynamics we observe. Further, they show how these disease dynamics cannot be anticipated by mean-field approaches, even when they incorporate all the same mechanisms of delayed phenotypic plasticity.

Global risk

To predict transmission risk over the species global range, we derive an expression for the reproduction number, Rt, which describes the number of infections produced by the introduction of a single infected human into the population (described in the Methods and compared to the simpler model variants in Supplementary Note 3). This formulation of Rt accounts for the effect of phenotypic plasticity in the vector population trait structure, on the ability of that population to transmit disease. It produces predictions that are generalisable between climates (see Methods for details). We compute Rt across the species' global range and report the number of consecutive months per year between 2010−2020 that Rt > 1, in areas with a mean annual relative humidity greater than 55%, conditions that indicate the suitability of a region for the transmission of dengue virus and the survival of adult mosquitoes. In general, we predict less suitability for the autochthonous transmission of dengue vectored by Ae. albopictus than approaches that do not account for the delayed effects of phenotypic plasticity (See Supplementary Note 4 for a comparison between our predictions and those made by a standard formulation of the basic reproduction number R0 that uses similar environmental drivers and reaction norms). Furthermore, by comparing the average period that Rt > 1 to the average density of adult female mosquitoes during the active season (Fig. 4A, C, E) we see that abundance alone does not predict the ability of vector populations to transmit disease. Additional outputs of parameters of interest, such as the time of peak adult density and the first and last days for which transmission is predicted can be found in Supplementary Note 5.

Fig. 4: Geographic variation in mosquito density and suitability for disease transmission.
figure 4

A, C, E The average adult density during the active season of Ae. albopictus in North America, Europe, and Asia respectively between the years 2010−2019. B, D, F The average number of months the reproduction number was greater than one (Rt > 1) in North America, Europe, and Asia respectively between the years 2010−2019. In D the yellow circles are centred on regions within which autochthonous dengue transmission was detected between the years 2010 − 2019 and the red circles indicate the locations of outbreaks after this period. Source data are provided as a Source Data file.

In North America and Europe, regions that currently experience limited autochthonous transmission of dengue virus by Ae. albopictus, our approach predicts that there is currently limited transmission risk from this vector. By comparison, in areas of China where dengue outbreaks vectored by Ae. albopictus are more frequent, our approach predicts longer transmission periods over a wider area, demonstrating that our predictions reflect currently observed regional differences in dengue incidence38. By comparing the locations of historical dengue outbreaks to locations that are predicted to be at risk, we observe that despite our predictions being highly specific, they still encompass locations known to experience autochthonous dengue virus transmission33,39,40. For example, the location of 38 of the 41 clusters of autochthonous dengue transmission in Europe reported by the European Centre for Disease Control since 2010 occurred within regions that we predict are at risk of dengue transmission (Fig. 4D)13. This suggests that over the last 10 years populations of Ae. albopictus in temperate regions have had limited capability to sustain dengue transmission due to environmental constraints despite the species now wide distribution in these regions. Given the changing nature of the climate, understanding when this widely distributed species will be capable of sustaining prolonged transmission cycles in temperate regions is of critical importance that is yet to be resolved, and which is the subject of subsequent modelling work.

Discussion

In a world where the climate is changing rapidly, there is a clear need for accurate models for predicting outbreaks of environmentally sensitive, high-burden vector-borne diseases41. In a departure from the current state-of-the-art we show that stage-phenotypically structured delay differential equations are a practical and effective method for producing such predictions by performing the most comprehensive validation to date of a mechanistic model for the transmission of dengue virus by Ae. albopictus. We show that the delayed expression of phenotypic plasticity in response to previous environments plays a critical part in determining the ability of vector populations to transmit disease. This provides a rigorous theoretical basis to explore the long-theorised importance of phenotypic plasticity in determining disease risk that is widely applicable to other systems of vector-borne disease4. We find that vector trait variation plays a critical role in determining the ability of vector populations to sustain disease transmission and therefore that vector abundance alone is not sufficient to predict transmission risk. In light of our findings, vector traits may need to be better integrated into vector surveillance and research to facilitate more nuanced, robust predictions of population processes and transmission dynamics.

The ability of mechanistic modelling approaches to incorporate detailed vector ecology allows them to produce generalisable predictions of disease risk. However, incorporating these details requires substantial amounts of life-history data that does not yet exist for many vectors, favouring the use of less detailed mechanistic models than we develop here42,43,44. Even for well-studied species such as Ae. albopictus, there are data gaps in our current knowledge. Some of these gaps are life-stage specific, for example, when rearing adults for infection trials it is common to record the combined life-history traits of both larval and pupal life stages using a single generic class for juveniles, data which less detailed mechanistic approaches can readily utilise but that which we cannot. Although there are a sufficient number of studies exploring the effects of competition on larval life history to produce well-parametrised larval reaction norms, there is very little available experimental data describing the life history of pupae which are rarely specifically reared for study. As each life stage may be affected differently to the same environmental stressor, life-stage-specific gaps in our knowledge of vector life history potentially mean that environmental limitations on these life stages are overlooked in our predictions of vector dynamics and consequently disease transmission dynamics. Similarly, although there has been a substantial effort to determine the lower thermal limits of the species’ reaction norms due to the species' northward expansion, there is a more limited amount of life-history data available to describe the species' responses to the extremely high temperatures which are more frequent in the regions where the majority of dengue virus transmission occurs14,45. Although these limitations have not prevented our model from producing accurate predictions of population dynamics in the regions we consider, unless addressed they may limit the generalisability of our predictions of population dynamics to future climates, a factor that could be mitigated through modifications to standard experimental protocols.

When designing vector control campaigns to implement interventions such as the sterile insect technique, gene drive or transgenic control, it is common to rely on mathematical models of vector population dynamics46. These models are used before implementing control measures to inform the required level of population suppression and the intensity of control measures necessary to achieve this target47,48,49. Similarly, after control measures have been implemented, mathematical models are a practical method to assess how effective an intervention has been by predicting how an outbreak would have progressed in the absence of control50. Without this additional analysis field-trials can only directly link the efficacy of their intervention to a reduction in mosquito abundance and not necessarily the reduction in human cases of disease that they aim to achieve, two factors we show here are not necessarily directly linked51,52. The 2014 outbreak of dengue in Guangzhou provides a well-studied example showing the potential of our approach as we and previous models are able to use mathematical models to assess the efficacy of the implemented control measures (see Fig. 2)28,53. However, for the majority of the outbreaks we considered, this sort of retrospective analysis is not possible due to a lack of detail in the reporting of the nature, timing, and intensity of control measures implemented. Further, to make reliable predictions to assist in the design of vector control it is imperative to use models that have been independently validated against real-world data from the target system54. Extensive and independent validation of mathematical models of systems of VBDs is currently not standard, despite the ready availability of surveillance data and is a critical step in ensuring these predictions are robust.

Dengue transmission frequently occurs in regions where Ae. albopictus co-occurs with the primary vector of dengue, Ae. aegpyti, and with which it competes for resources in larval habitats55. This complicates our ability to predict the effect of trait dynamics on transmission efficacy as the relationship between adult wing length, temperature, larval density, and food availability is asymmetrically altered by the degree of interspecific competition that individuals of either species experience56,57,58. Further, in endemic regions co-circulating serotypes and previous exposure to infection complicate transmission dynamics by introducing an immune structure to the human population59. An extension of our model to these areas is possible but would additionally require the development of a comparable model for Ae. aegypti, to quantify the effect that interspecific competition has on the life history of both species and then to extend the disease dynamics to consider multiple co-circulating serotypes of the dengue virus. However, even in these more complex transmission scenarios, the underlying interaction between environmental drivers and vector trait expression is driven by the same mechanisms of phenotypic plasticity that we explore here, as they are a fundamental feature of vector ecology. By developing our understanding of the drivers of disease dynamics that arise in regions with a single vector transmitting a single serotype of dengue virus, we are now well positioned to begin addressing the more complex dynamics underlying patterns of dengue transmission in other regions.

Current state-of-the-art methods for predicting VBD transmission often make implicit mean-field assumptions and assume that vector traits respond instantaneously to the current environment without consideration for the complex biological processes through which traits arise60,61,62,63,64,65,66,67. Trait-based approaches have been long advocated for as a way of producing generalisable predictions of population processes, but to date, there has been a limited application of theory to practice, in part due to insufficient life-history data and due to the increased complexity inherent in such approaches68. To produce robust predictions that reflect how complex systems adapt to climate change requires a fundamental shift in the way we account for the effects of individual variation. We must move away from mean-fields and towards a more complete representation of the mechanisms of phenotypic plasticity through which individuals vary and which drive population dynamics10. Deepening our understanding of the effects of individual variation on populations is critical beyond vector-borne disease since mechanisms of individual variation are also important in determining the outcome of infectious disease dynamics, biological invasions, interspecific competition, and species responses to climate change69,70,71. The advantages of such an approach are clear and have allowed us to gain insights into a highly complex vector-borne disease system, shedding light on the role that phenotypic plasticity plays in shaping the ability of vector populations to spread disease.

Methods

To predict both the trait and population dynamics of Ae. albopictus we apply the model framework developed in Brass et al.12. This framework combines a stage-structured population model of the form described in Nisbet and Gurney (1983) with an additional phenotypic structure that is able to represent the effects of within and between generation plasticity72. The phenotypic structure describes how an individual’s previous experience of its environment during development alters the traits it currently expresses. Individuals with different experiences of the past environment are grouped into different environmental classes which describe how this experience alters the traits they express now. By linking individual-level variation to population response, we are able to predict not only the population’s dynamics but also the population’s trait structure. This approach is flexible and able to incorporate the effect, both instantaneous and delayed, of environmental stressors on multiple traits, making it ideal for accounting for the complex life history of Ae. albopictus.

The model predicts the dynamics of a population of mosquitoes arising from a single water body of fixed dimensions. The model inputs are environmental variables from the location being simulated and the outputs are predictions of population and trait dynamics (Fig. 5). Adult mosquitoes oviposit eggs either onto the surface of the water or around the sides of the habitat, with the proportion of eggs being placed around the side of the habitat increasing as water level decreases73. The eggs placed into or around the water body express either a diapausing or non-diapausing phenotype which is determined by a maternal effect in response to falling temperatures and decreasing photoperiod24. Egg diapause is a form of regular dormancy that allows eggs to withstand cold temperatures and is the primary mechanism by which Ae. albopictus populations persist and overwinter in temperate climates74. Once development is complete, both diapausing and non-diapausing eggs either become quiescent, a form of irregular dormancy that allows persistence through dry periods or immediately hatch into larvae20. Quiescence continues until the dormant egg is inundated by precipitation after which it immediately hatches.

Fig. 5: Schematic of the model used to represent the transmission of dengue virus by Ae. albopictus.
figure 5

We consider a stage-structured model with three explicitly modelled mosquito life stages, eggs, larvae, and adults, with pupae represented implicitly. The model considers the dynamics of a population from a single water body of a fixed dimension with a water level that is dependent solely on precipitation and evaporation. Eggs are divided into three different classes, active eggs Eγ, diapausing eggs ED, and quiescent eggs EQ, depending on the location they are placed in the pool (active/quiescent) and the phenotype they express (diapausing/non-diapausing). After hatching, eggs proceed to the larval class where development depends on temperature, intraspecific density, and the food available per larvae per day which is assumed to relate to the amount of water accumulated in the habitat and the current temperature. Once larval development is complete, larvae transition to the pupal class which is represented implicitly. This means, that although we account for the effect of environmental variation on the life history of pupae, this is accounted for without the need for state equations. Upon maturation to adulthood, each individual’s experience of its environment as a larva determines the survival and fecundity that the individual expresses as an adult through developmental plasticity. To represent this wing length is discretised into m environmental classes, with m sufficiently large to avoid the effects of discretisation. Wing length is correlated with both adult longevity and fecundity and so is used to assign to each environmental class a set of adult traits, with adults in the xth environmental class denoted Ax. Upon infection by biting an infected human, HI, uninfected mosquitoes in environmental class jAj, transition to the corresponding infected mosquito class, Ij. The infection cycle begins when a susceptible human, HS, is bitten by an infected mosquito after which that human has a chance to become infected and move into the infected human class HI. After the recovery period infected humans move into the resistant class, HR, and cannot be infected again. The delay between exposure to infection and becoming infective is accounted for by the delay structure.

In the model we assume that the water body only varies in response to changes in temperature, the accumulation of precipitation, and through evaporation of standing water and is otherwise identical in every respect between locations. We assume that all eggs initially either express the active or diapausing phenotype. All eggs expressing the active phenotype develop at a temperature-dependent rate after which they either hatch or become quiescent according to the water level in the habitat. After completing development, diapause eggs are assumed to remain dormant until a critical temperature and photoperiod is reached after which they immediately hatch or become quiescent24. We place restrictions on both the production of diapause eggs and upon their release from diapause to ensure that they are fully developed when they hatch. The survival of eggs through the egg stage is assumed to be determined solely by temperature with this relationship differing between egg phenotypes75. We assume all eggs in the quiescent egg class are identical regardless of previous phenotype and assume that quiescent eggs hatch when the water level rises.

Larval mosquitoes compete for available resources in the aquatic habitat and are assumed to develop at a rate determined by both the current temperature and the intensity of larval competition9. The ecology of larval mosquitoes is complex, and to produce a coherent model with the data currently available it is necessary to make broad simplifying assumptions about the life history of larvae. We assume that all larvae are functionally identical, regardless of larval instar or previous experience of dormancy during the egg stage. Therefore, we only consider a single larval class76. It is assumed that there is no interspecific competition either for resources or through predation and that the only intraspecific competition is for resources and space77,78. Available resource is assumed to be consumed in its entirety and to be replenished daily, representing the product of temperature-dependent metabolic processes in the larval environment. Once larval development is complete pupation begins with the development of pupae assumed to depend solely on temperature75. The container habitats that Ae. albopictus prefer are generally small and vulnerable to flushing, a process whereby the body of water overflows and individuals are swept away21. We represent flushing by increasing the mortality of larvae and pupae whenever the height of the water in the habitat exceeds the height of the container and rainfall is sufficiently intense. These small containers are also susceptible to drying out, and whenever all water within the container evaporates, all non-quiescent juveniles are assumed to die out.

Adult mosquitoes experience developmental plasticity in response to their experience of temperature and intraspecific competition as larvae79. This is represented by tracking each individual’s experience of the biotic and abiotic environment during development and using this to determine the traits that individuals express as adults. Specifically, each individual’s experience of the average temperature and the average food available per larvae per day over the course of the larval period is used to predict that individual’s wing length. Wing length is then used to determine the fecundity and longevity of that individual as an adult80. Both fecundity and longevity are then further modified by the current temperature meaning that within the model adult traits respond to both current and historic environmental conditions43,75. The adult resources necessary to survive and complete the reproductive cycle, such as sugar and blood meals, are always assumed to be in excess and the model does not represent any effects of competition between adults81. The production of cold resistant diapausing eggs is triggered when falling temperatures and photoperiod reach a critical threshold24.

Model details

The abiotic environment

Abiotic environmental variation is incorporated into the model through temperature, photoperiod, evaporation, and precipitation from the location in which the modelled population is situated. Meteorological data is sourced from the ERA5-land climate reanalysis dataset82. Climatic variables in this dataset are available at a 0.1 × 0.1 resolution at an hourly time interval and are processed to produce a daily mean temperature and the total accumulated precipitation and evaporation each day. For use in the model each environmental variable is extended to continuous time using splines, which were then tested against the climate data to ensure there were no errors in the interpolation. Splines were created using the function Spline1D from version 0.5. 2 of the Dierckx package, a wrapper from the Fortran library of the same name83.

The temperature at time t is denoted T(t), and for simplicity, we assume that the temperature of the larval pool and the air temperature are always the same84. Temperature is used throughout the model to instantaneously alter the traits (survival and development rate) expressed by individuals in each developmental stage. Temperature plays a further role in two instances of delayed phenotypic plasticity represented in the model. The average temperature an individual experiences over the larval period in combination with the average amount of food available per larva per day determines the wing lengths of emerging adults. Also included is a maternal effect where the temperature and the photoperiod at time t, denoted ψ(t), determines the proportion of produced eggs that express a diapausing phenotype. A combination of temperature and photoperiod subsequently determines when diapausing eggs are released from dormancy.

The total precipitation and evaporation each day, denoted ρ(t) and ϵ(t) respectively, are used to simulate the dynamics of the aquatic developmental habitat. The model simulates the dynamics of a single cylindrical water body with a surface area of μ mm2 and maximum volume of V mm3. Throughout the subsequent analysis these parameters are kept constant across the range of locations considered and have been selected to be consistent with productive habitats observed in the field85. Water accumulates in the habitat through precipitation and leaves through both evaporation and overspill. Overspill occurs when the amount of water in the pool exceeds the volume of the pool, at which point any additional precipitation is not added to the pools total volume. If an overspill event happens concurrently with an intense period of precipitation, a spike in mortality of the larval and pupal classes occurs, representing individuals being flushed away21. The total amount of water in the habitat on day t after all precipitation and evaporation can therefore be expressed by the time series

$${W}_{t}=\min \left\{{W}_{t-1}+\mu (\rho (t)-\epsilon (t)),V\right\},$$
(1)

with an initial condition such that the habitat is full at the start of the simulation, i.e., W0 = V. This time series for daily water level is then extended to continuous time using a spline, such that the water level at time t is denoted W(t). Whenever W(t) = 0 the container has dried out and all non-quiescent juvenile stages (active eggs, diapausing eggs, larvae, and pupae) die-off. Habitat water volume, W(t), also governs the proportion of eggs produced that are quiescent and when they are released from dormancy.

Eggs

The number of active, quiescent and diapausing eggs present in the population at time t is denoted by Eγ(t), EQ(t) and ED(t) respectively. Active eggs develop at a temperature-dependent rate, immediately hatching once development is complete if they are at or below the current water level and moving into the quiescent class otherwise75. Quiescent eggs remain dormant until inundated by precipitation after which they immediately hatch20. Hatched eggs enter the larval class. Diapausing eggs are cold resistant and are produced in response to a maternal effect. They remain dormant until a critical temperature and photoperiod threshold is reached after which they either immediately hatch or become quiescent24. In other Aedes species, it has been demonstrated that adult body size is related to egg size and that larger egg sizes increase desiccation resistance86,87. Although weak effects of egg size on survival have been observed in Ae. albopictus, there is insufficient empirical data to justify the inclusion of such a function in this model. Therefore, it is assumed that the only maternal effect is whether an egg is active or diapausing88.

For active eggs, our model includes two state-equations that describe how the stage duration and through-stage survival of active eggs vary through time, which we denote by \({\tau }_{{E}_{\gamma }}(t)\) and \({S}_{{E}_{\gamma }}(t)\), respectively. To describe how these quantities evolve we parametrise two temperature-dependent reaction norms \({g}_{{E}_{\gamma }}(T)\) and \({\hat{S}}_{{E}_{\gamma }}(T)\) which describe the development rate of active eggs and the proportion of active eggs that survive through the stage when held at constant temperature T. Note that \({\hat{S}}_{{E}_{\gamma }}(T)\) is distinct from \({S}_{{E}_{\gamma }}(t)\), the former is a function of temperature describing the reaction norm, the latter is a function of time, describing time-dependent survival. We use a similar notation for survival and reaction norms of the other life stages. From the underlying Nisbet and Gurney (1983) framework we inherit a relationship between the development rate, the probability of through-stage survival and the mortality rate. We therefore use the temperature-dependent reaction norms for development and through-stage survival to define an expression for the temperature-dependent mortality rate of active eggs, \({\delta }_{{E}_{\gamma }}(T)=-\log ({\hat{S}}_{{E}_{\gamma }}(T)){g}_{{E}_{\gamma }}(T)\)72. The forms of the reaction norms used for egg survival and development were selected by fitting function forms that have been used in previous models to life-history data. We trial quadratic and Briere functional forms for the development rates, and quadratic and Gaussian functional forms for through-stage survival with each functional form being truncated at a value close to 08. Functional forms were fitted using a weighted non-linear least squares approach and AIC was used for model selection, using the nls function in R89. The parameter values are reported in Supplementary Note 6, and the data used to perform this parametrisation was taken from a variety of published constant temperature laboratory experiments75,90,91,92,93,94,95,96,97. The best fitting functional form for the development rate of active eggs was a quadratic given by

$${g}_{{E}_{\gamma }}(T)=\max \left\{{\sigma }_{11}{T}^{2}+{\sigma }_{12}T+{\sigma }_{13},0.01\right\}.$$
(2)

The best model for the through-stage survival of active eggs was a Gaussian with a functional form

$${\hat{S}}_{{E}_{\gamma }}(T)=\frac{{\sigma }_{21}}{{\sigma }_{22}\sqrt{2\pi }}\exp \left(-\frac{1}{2}{\left(\frac{T-{\sigma }_{23}}{{\sigma }_{22}}\right)}^{2}\right).$$
(3)

The result of this fitting is provided in Fig. 6A and B respectively.

Fig. 6: Active egg reaction norms.
figure 6

Reaction norms for active eggs, the black line is the fitted model and each point represents the data used to fit the model. Source data are provided as a Source Data file. A Development rate of active eggs at temperature \(T,{g}_{{E}_{\gamma }}(T)\). B Through egg-stage survival of active eggs held at constant temperature \(T,{\hat{S}}_{{E}_{\gamma }}(T)\).

Egg quiescence is a mechanism of irregular dormancy that allows a reservoir of eggs to persist through periods when the habitat has completely dried out20. After maturing out of the active stage, a proportion of eggs are assumed to enter the quiescent egg class dependent upon the water level within the container habitat. Quiescent eggs contain fully developed pharate larvae that remain dormant inside the egg until inundated by water, and therefore within the quiescent egg class, no development occurs. The proportion of eggs that enter the quiescent class at time t is represented by the function Q(t) which is defined by

$$Q(t)=\left\{\begin{array}{ll}\frac{V-W(t)}{V},&\,\text{if}\,\,W(t) \, < \, W(t-1) \\ 0,\hfill &{\rm{otherwise}}. \hfill\end{array}\right.$$
(4)

This function links the proportion of eggs that become quiescent to the height of the water in the container habitat. The condition W(t) < W(t − 1) ensures eggs only become quiescent if the water level on day t is lower than that on day t − 1. This choice of functional form ensures that when the habitat completely dries out, W(t) = 0, all eggs become quiescent upon maturation and so Q(t) = 1. As the water level rises a lower proportion of eggs enter the quiescent class until the habitat is completely filled, W(t) = V, and therefore Q(t) = 0. Within the quiescent egg class, it is assumed that the same temperature-dependent mortality rate used for active eggs is suitable for quiescent eggs.

As egg quiescence is an irregular form of dormancy, maturation out of the quiescent class is triggered by inundation rather than the completion of development. This is represented through the function hQ(t), which describes the rate at which eggs that hatch out of the quiescent class at time t and is defined by

$${h}_{Q}(t)=\left\{\begin{array}{ll}1\times \left(1-\frac{V-W(t)}{V}\right),&\,\text{if}\,\,W(t) \, > \, W(t-1)\\ 0,\hfill &\,\text{otherwise}\,. \hfill\end{array}\right.$$
(5)

When the habitat is completely full, W(t) = V, and so hQ(t) = 1 and all quiescent eggs are inundated and hatch over the course of a day. The condition W(t) > W(t − 1) ensures that no eggs are released from quiescence when the water level at time t is lower than the water level at time t − 1 and therefore no new eggs would become inundated.

Egg diapause is a mechanism of regular dormancy that allows the persistence of populations through cold winter months and is governed by a maternal effect24. This is represented in this model by the diapause function, D(t), which describes the proportion of adults at time t that are producing non-diapause eggs and is defined by

$$D(t)=\left\{\begin{array}{ll}1-\frac{1}{1+15{e}^{\psi (t,l)-\phi (l)}},&\,\text{if}\,\,T(t)\le 18,\,\text{and}\,\,\psi (t)\le \psi (t-1)\\ 1,\hfill &\,\text{otherwise}\, \hfill \end{array}\right.$$
(6)

with the functional form taken from Lacour et al.24 and where ϕ(l) is the critical photoperiod threshold required to induce the production of diapausing eggs in adults at latitude l defined by

$$\phi (l)=0.1| l|+9.5$$
(7)

according to the relationship determined by Armbruster et al.74. The emergence of eggs from diapause is triggered by the current environmental conditions exceeding a critical temperature and photoperiod threshold98. We assume that once the environmental thresholds are reached, all eggs are released from diapause hatch over the course of a day. This is represented by the function hD(t) which is defined by

$${h}_{D}(t)=\left\{\begin{array}{ll}1,&\,\text{if}\,\,T(t)\ge 12.5,\,\text{and}\,\,\psi (t) \, > \, \phi (l),\,\text{and}\,\,\psi (t) \, > \, \psi (t-1)\\ 0,&\,\text{otherwise}\,. \hfill\end{array}\right.$$
(8)

The mortality rate of diapausing eggs is defined by

$${\delta }_{{E}_{D}}(t)=\left\{\begin{array}{ll}0.01,&\,\text{if}\,\,T(t) > -12 \\ 0.1,\hfill &\,\text{otherwise}\,.\hfill\end{array}\right.$$
(9)

This choice of mortality rate allows diapausing eggs to survive exposure to extreme temperatures for short periods45. This ensures that brief periods of intense cold do not kill off the whole population whilst ensuring that sustained low-temperature conditions remain unsuitable.

Larvae

Larval Ae. albopictus consumes a range of bacteria, plants and detritus. Both the time that larvae take to develop and the proportion of individuals that survive through the larval stage is assumed to depend on the intensity of intraspecific competition for resource in addition to temperature9. Predicting how much resource is available for larval Ae. albopictus in a container habitat from climate data alone would be a significant undertaking for even a limited geographical range. Resource dynamics are complex, and the amount of resources available in a container habitat varies with location, micro-climate, and community composition amongst many other factors that are not accounted for here99. Instead, we assume that the amount of food available in the container is temperature-dependent, proportional to the volume of water in the habitat and completely independent of location. The gross primary productivity of the larval habitat is then defined to be

$$F(t)=1{0}^{-6}{\log }_{10}(0.45+0.095T(t))W(t)+{f}_{d}$$
(10)

where the logarithmic term represents the products of respiration following the work of White et al. and the constant term, fd, is a reservoir of nutrition from the decay of detritus100. It is further assumed that larvae divide the available food equally and completely (i. e., scramble competition)101. The amount of food available per larvae per day, α(t), can therefore be expressed by

$$\alpha (t)=\frac{F(t)}{L(t)}.$$
(11)

As with active eggs, we include two state equations that describe how the stage-duration and through-stage survival of larvae changes through time which we denote, τL(t) and SL(t), respectively. The functions used to represent larval life-history processes are comprised of multiple components but are principally constructed from reaction norms for larval development rate, gL(Tα), and through-stage survival independently of hydrological processes for larvae held at constant temperatures and resource densities, \(\hat{{S}_{L}}(T,\alpha )\). To fit the multi-dimensional reaction norms for larvae we use generalised additive mixed effect models (GAMMs) using the R package gamm4 version 0.2. 6102. Both the life-history data used to parametrise these reaction norms and the code to fit the models can be found in the repository89,102. We consider models that include different combinations of temperature, density, and an interaction term between the two variables. As the data used to parametrise these functions are sourced from laboratory experiments that used populations of Ae. albopictus from different origin locations and reared larvae on different diets, these factors are included as random effects. For each life-history trait, the model with the lowest AIC is selected. The results for larval development rate and through-stage survival are shown in Fig. 7. The data used for this fitting was compiled from published laboratory experiments with both constant temperature and constant food provided per larvae per day75,79,90,93,94,95,96,97,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118.

Fig. 7: Larval reaction norms.
figure 7

The 2-dimensional reaction norms used to parametrise the larval stage. Source data are provided as a Source Data file. A The reaction norm linking larval development rate to temperature and the amount of food available per larva per day. B The reaction norm linking through larval stage survival to temperature and the amount of food available per larva per day.

The larval mortality term, δL(T(t), α(t)), accounts for the dynamics of the container habitat and density dependence. The water level of the container habitat varies with evaporation and precipitation. Spikes in larval mortality can therefore either be induced through the habitat drying out or through the flushing of larvae when the habitat overflows. This is represented in the larval mortality rate by setting δL(t) = δd whenever the habitat dries out, (i. e., W(t) = 0) and similarly setting δL(t) = δf whenever the habitat overflows and the intensity of rainfall is sufficient to initiate flushing (i. e., W(t) = V and μρ(t) > 0.5 V). The final component of the larval mortality function is an overcrowding term that increases the mortality of larvae when the larval density exceeds 3 larvae per ml according to a Gompertz function119. High larval densities are unfavourable for survival, and the term is necessary in addition to the reaction norms to ensure that the fluctuating water level does not cause implausibly high larval densities120. Therefore, the expression for the mortality rate of larvae is defined by

$${{\delta }_{L}(t)=\left\{\begin{array}{l}\min \left\{-\log (\hat{{S}_{L}}(T(t),\, \alpha (t))){g}_{L}(T(t),\, \alpha (t))+\exp \left(-\exp \left(\frac{1-L(t)/3}{W(t)/1000}\right)\right),1\right\},\, \\ \text{if}\,\,\,\,\,0 \, < \, W(t)\le V\,\,\,\,\,\text{and}\,\,\,\,\,\mu \rho (t)\le 0.5V,\hfill \quad \\ {\delta }_{d},\,\,\,\,\text{if}\,\,\,\,W(t)=0,\hfill \quad \\ {\delta }_{f},\,\,\,\,\text{if}\,\,\,\,W(t)=V\,\,\,\,\text{and}\,\,\,\,\mu \rho (t) > 0.5V.\hfill\end{array}\right.}$$
(12)

Pupae

The pupal development rate and survival are assumed to depend solely on temperature as there is a lack of experimental data to quantify the effect of developmental plasticity from the larval stage. We include two state equations that describe how the stage duration and through-stage survival of pupae vary, denoted τP(t) and SP(t) respectively. To describe how these quantities vary we once again parametrise reaction norms for the development rate and survival of pupae held at constant temperature T, denoted by gP(T) and \({\hat{S}}_{P}(T)\) respectively with the forms of the reaction norms shown in Fig. 8. These reaction norms are fitted using the same procedure described for the egg stage, with a Briere function best describing the relationship between pupal development rate and temperature with form

$${g}_{P}(T)=\max \left\{{\sigma }_{31}T(T-{\sigma }_{32}){({\sigma }_{33}-T)}^{1/{\sigma }_{34}},0.01\right\}.$$
(13)

A quadratic functional form is chosen for the relationship between through-pupal stage survival and temperature independently of hydrological processes

$${\hat{S}}_{P}(T)=\max \left\{{\sigma }_{41}{T}^{2}+{\sigma }_{42}T+{\sigma }_{43},\, 0.01\right\},$$
(14)

parametrised using data from various sources75,93,95,96,97,106,109,121,122.

Fig. 8: Pupal reaction norms.
figure 8

The reaction norms used to parametrise the pupal stage, the black line is the fitted model and the points represent the data used to fit the model. Source data are provided as a Source Data file. A The reaction norm linking the duration of the pupal stage to temperature. B The reaction norm through-pupal stage survival.

The survival and mortality parameters are modified as in the larval stage to induce mortality when W(t) = 0 and to account for flushing such that

$${\delta }_{P}(t)=\left\{\begin{array}{l}\frac{-\log (\hat{{S}_{P}}(T(t)))}{{\tau }_{P}(T(t))},\,\,\,\,\,\text{if}\,\,\,\,\,0 \, < \, W(t)\le V\,\,\,\,\,\text{and}\,\,\,\,\,\mu \rho (t)\le 0.5V,\\ {\delta }_{d},\,\,\,\,\text{if}\,\,\,\,W(t)=0,\hfill \quad \\ {\delta }_{f},\,\,\,\,\text{if}\,\,\,\,W(t)=V\,\,\,\,\text{and}\,\,\,\,\mu \rho (t) \, > \, 0.5V.\quad \hfill \end{array}\right.$$
(15)

Adults

Ae. albopictus experiences developmental plasticity in response to the temperature, food availability, and conspecific density experienced during juvenile development that contributes towards temperature-dependent mortality and fecundity of adults9,80. This is included in the model by using an individual’s experience of larval competition and temperature through development to predict the wing length that the individual will express as an adult. This wing length is then used along with the current temperature to define the mortality rate of adults and the rate at which eggs are produced. This overlooks a known crowding effect whereby high densities of larvae inhibit development independently of competition for resource79. This choice is necessary as much of the experimental data used to parametrise reaction norms does not control for larval density and food availability simultaneously and therefore this relationship cannot be included in the model. Also omitted are the effects of the availability of adult resources on the production of eggs, and other varied processes demonstrably important in the life history of adults118,123. Using the same GAMM fitting procedure as described for larvae, we fit a 2-dimensional reaction norm for the wing length of emerging adults, \({w}_{L}({T}_{avg}(t),\bar{\alpha }(t))\), as predicted by the average larval temperature and food available per larvae per day over the course of the larval period (Fig. 9A). We also fit the reaction norm for the time until 50% adult mortality, \({\tau }_{{A}_{50}}({w}_{L},T(t))\), as predicted by wing length and temperature (Fig. 9B). The parameterisations are carried out using data from published laboratory data from experiments that used constant temperatures5,9,79,90,91,92,93,94,96,108,109,110,111,113,115,116,117,118,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143.

Fig. 9: Adult reaction norms.
figure 9

The reaction norms used to parametrise the adult stage. Source data are provided as a Source Data file. A The reaction surface linking historical experience of larval competition for food, \(\bar{\alpha }\), and temperature, Tavg, to adult wing length. B, The relationship between adult wing length the current temperature and adult longevity. This is converted into a mortality rate for use in the model.

In the model, the effects of developmental plasticity are represented by assigning each individual to an environmental class that reflects their experience of the environment through development. This is achieved by partitioning the adults into m environmental classes that define the wing length, wL, the adults are predicted to express based upon their experience of temperature and resource availability as larvae. We divide the possible wing lengths an adult could express, \(({w}_{\min },{w}_{\max })\) into m equally spaced subintervals and denote by wj the midpoint of the jth sub-interval. Then define the function g such that g(w) = wj if \(w\in {\mathbb{R}}\) is in the jth subinterval of \(({w}_{\min },{w}_{\max })\).

To determine the average amount of food available for larvae maturing into adulthood at time t, we define

$$\bar{\alpha }(t)=\frac{\mathop{\int}\nolimits_{t-{\tau }_{P}(t)-{\tau }_{L}(t-{\tau }_{P}(t))}^{t-{\tau }_{P}(t)}\frac{F(s)}{L(s)}ds}{{\tau }_{L}(t-{\tau }_{P}(t))}.$$
(16)

Then, we define the transition function, \({w}_{j}({T}_{avg}(t),\bar{\alpha }(t))\)), which determines which adult class a fully developed juvenile is assigned to, with

$${w}_{j}({T}_{avg}(t),\bar{\alpha }(t))=\left\{\begin{array}{ll}1,&\, {\rm{if}}\,\,{\rm{g}}({\rm{w}}({\rm{T}}_{\rm{avg}}{\rm{(t)}},\, \bar{\alpha }){\rm{(t)}})={\rm{w}}_{\rm{j}}\\ 0,&\,\text{otherwise}\,\hfill\end{array}\right.$$

for j 1, . . . , m.

The fecundity of an individual expressing wing length w is then given by

$$q(w)=0.5{\exp }^{{\sigma }_{51}+{\sigma }_{52}w},$$
(17)

noting that a factor of 0.5 is required as only females produce eggs80. The duration of a gonotrophic cycle is assumed to be temperature-dependent and to be the reciprocal of the biting rate. This is parameterised using a Briere function taken from Mordecai et al.8 of the form

$$G(T(t))=\frac{1}{\max \left\{{\sigma }_{61}T(T-{\sigma }_{62}){({\sigma }_{63}-T)}^{\frac{1}{2}},0.01\right\}},$$
(18)

from which the rate at which an individual with wing length w produces eggs at temperature T(t) can be determined. The number of eggs an adult in environmental class j produce eggs over the course of a gonotrophic cycle is defined by

$${q}_{j}=q({w}_{j}).$$
(19)

Similarly, for individuals in environmental class j that express wing length wj the mortality rate of adults is defined to be

$${\delta }_{{A}_{j}}(T(t))=\frac{-\log (0.5)}{{\tau }_{{A}_{50}}({w}_{j},\, T(t))}.$$
(20)

Population model

Following the model framework defined in Brass et al.12, based upon the work of Nisbet and Gurney72, the stage-structured model to predict the population dynamics of Ae. albopictus is

$$\frac{d{E}_{\gamma }(t)}{dt}={R}_{{E}_{\gamma }}(t)-{M}_{{E}_{\gamma }}(t)-{\delta }_{{E}_{\gamma }}(t){E}_{\gamma }(t),$$
(21)
$$\frac{d{E}_{D}(t)}{dt}={R}_{{E}_{D}}(t)-{M}_{{E}_{D}}(t)-{\delta }_{{E}_{D}}(t){E}_{D}(t),$$
(22)
$$\frac{d{E}_{Q}(t)}{dt}={R}_{{E}_{Q}}(t)-{M}_{{E}_{Q}}(t)-{\delta }_{{E}_{Q}}(t){E}_{Q}(t),$$
(23)
$$\frac{dL(t)}{dt}={R}_{L}(t)-{M}_{L}(t)-{\delta }_{L}(t)L(t),$$
(24)
$$\frac{d{A}_{j}(t)}{dt}={R}_{{A}_{j}}(t)-{\delta }_{{A}_{j}}(t){A}_{j}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1,...,m.$$
(25)

The variable developmental delay terms are defined such that

$$\frac{d{\tau }_{{E}_{\gamma }}(t)}{dt}=1-\frac{{g}_{{E}_{\gamma }}(t)}{{g}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))},$$
(26)
$$\frac{d{\tau }_{L}(t)}{dt}=1-\frac{{g}_{L}(t)}{{g}_{L}(t-{\tau }_{L}(t))},$$
(27)
$$\frac{d{\tau }_{P}(t)}{dt}=1-\frac{{g}_{P}(t)}{{g}_{P}(t-{\tau }_{P}(t))}.$$
(28)

The through-stage survival terms are defined such that

$$\frac{d{S}_{{E}_{\gamma }}(t)}{dt}={S}_{{E}_{\gamma }}(t)\left(\frac{{g}_{{E}_{\gamma }}(t){\delta }_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))}{{g}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))}-{\delta }_{{E}_{\gamma }}(t)\right),$$
(29)
$$\frac{d{S}_{L}(t)}{dt}={S}_{L}(t)\left(\frac{{g}_{L}(t){\delta }_{L}(t-{\tau }_{L}(t))}{{g}_{L}(t-{\tau }_{L}(t))}-{\delta }_{L}(t)\right),$$
(30)
$$\frac{d{S}_{P}(t)}{dt}={S}_{P}(t)\left(\frac{{g}_{P}(t){\delta }_{J}(t-{\tau }_{P}(t))}{{g}_{P}(t-{\tau }_{P}(t))}-{\delta }_{P}(t)\right).$$
(31)

Recruitment and maturation terms defined by

$${R}_{{E}_{\gamma }}(t)=D(t)\left(\frac{\mathop{\sum }\nolimits_{j=1}^{m}{q}_{j}{A}_{j}(t)}{G(t)}\right)+{C}_{E}(t),$$
(32)
$${M}_{{E}_{\gamma }}(t)=\frac{{g}_{{E}_{\gamma }}(t)}{{g}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))}{R}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t)){S}_{{E}_{\gamma }}(t),$$
(33)
$${R}_{{E}_{D}}(t)=(1-D(t))\left(\frac{\mathop{\sum }\nolimits_{j=1}^{m}{q}_{j}{A}_{j}(t)}{G(t)}\right),$$
(34)
$${M}_{{E}_{D}}(t)={h}_{D}(t){E}_{D}(t),$$
(35)
$${R}_{{E}_{Q}}(t)=Q(t)({M}_{{E}_{\gamma }}(t)+{M}_{{E}_{D}}(t)),$$
(36)
$${M}_{{E}_{Q}}(t)={h}_{Q}(t){E}_{Q}(t),$$
(37)
$${R}_{L}(t)=(1-Q(t))({M}_{{E}_{\gamma }}(t)+{M}_{{E}_{D}}(t))+{M}_{{E}_{Q}}(t),$$
(38)
$${M}_{L}(t)=\frac{{g}_{L}(t)}{{g}_{L}(t-{\tau }_{L}(t))}{R}_{L}(t-{\tau }_{L}(t)){S}_{L}(t),$$
(39)
$${R}_{{A}_{j}}(t)={w}_{j}({T}_{\!\!avg}(t),\, \bar{\alpha } \, (t))\frac{{g}_{P}(t)}{{g}_{P}(t-{\tau }_{P}(t))}{M}_{L}(t-{\tau }_{P}(t)){S}_{P}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1,\,...,\,m,$$
(40)

where CE(t) is an impulse function that introduces active eggs to the system at time 0.

The initial conditions are ED(0) = 100, Eγ(0) = EQ(0) = L(0) =Aj(0) = 0 for \(j\in 1,\, ...\,,\, m,\, {S}_{X}(0)=\exp \left\{-{\tau }_{X}(T(0)){\delta }_{X}(T(0))\right\}\) for X ELP. The initial history is for all t ≤ 0 and all simulations are performed with m = 200 unless otherwise noted. The model was simulated in Julia version 1.8 using the package DifferentialEquations144,145.

SEIR Model

The model for the population and trait dynamics of Ae. albopictus is incorporated into a susceptible-exposed-infected-resistant (SEIR) model for dengue virus vectored by Ae. albopictus (Fig. 5). We specifically consider the introduction of a single serotype of dengue virus into a completely susceptible human population. This simplified representation of the urban dengue transmission cycle is most applicable to non-endemic regions, such as Europe, the United States, and eastern Asia, where the likelihood of multiple serotypes circulating simultaneously is reduced and therefore the human population is less likely to develop serious complications19. The human population is partitioned into those susceptible to infection, HS, those infected, HI, and those resistant to infection due to having recovered, HR146. It is assumed that the size of the human population is constant with the exception of the entry of infected humans into the population. Human population density is estimated using the Gridded Population of the World, Version (GPWv4) estimates for 2015147. Ae. albopictus is an opportunistic feeder, and, in the absence of humans, will bite other vertebrate species. These bites cannot propagate dengue virus (outside of the geographically limited sylvatic transmission cycle148), but do allow for egg production and so can maintain the mosquito population. To represent this a population of non-human food sources is included in the model, HB, which is estimated from field observations of rates of anthropophagy and a meta-analysis of mammal densities149,150.

Mosquitoes are assumed to bite at a temperature-dependent rate of b(t) bites per mosquito per day that is inversely proportional to the length of the gonotrophic cycle such that b(t) = 1/G(T(t))43. The proportion of uninfected mosquitoes that become infected after biting an infected human is denoted hv(t), a function that takes the form used in Liu-Helmersson et al. (2014)151. After the extrinsic incubation period, τEIP(t), the proportion of bites that successfully transmit an infection from an infected mosquito to an uninfected human is denoted vh(t)43,151. After the intrinsic incubation period, τIIP, the infected human is capable of transmitting the infection to new mosquitoes and recovers from the infection after the recovery period, τREC. Note that these delays implicitly account for the latent period between exposure and infection without the need for the explicit inclusion of an exposed class. In this model, large mosquitoes are assumed to have no direct advantage in the act of transmission over small mosquitoes and do not bite more aggressively nor transmit disease more competently. The only advantage large mosquitoes have over small is in their extended longevity, which allows a greater proportion of mosquitoes contracting an infection to survive to pass that infection on, especially under stressful environmental conditions.

As the population model predicts the number of mosquitoes arising from a single habitat and we now wish to predict the disease transmission dynamics for a human population, it is necessary to reconcile both populations onto the same spatial scale. Mark-recapture studies have demonstrated that adult female Ae. albopictus can disperse up to a kilometre from their release site152. Further, analysis of dengue epidemics has shown that disease dynamics can best be understood in 2 km × 2 km grids153. For these reasons the model is simulated at a spatial scale of 4 km2, using the number of humans per 4 km2 for the human population in combination with an estimate of the number of larval habitats per 4 km2 for the mosquito population which is halved to represent that only female mosquitoes bite. The number of productive larval habitats per 4 km2κ, is assumed to be fixed between locations and within seasons and estimated from field, surveys of larval habitats in Emilia-Romagna, Italy, Hawai’i, USA, and Maryland, USA25,154,155,156.

The structured human population is represented by

$$\frac{d{H}_{S}(t)}{dt}=-{R}_{H}(t)$$
(41)
$$\frac{d{H}_{I}(t)}{dt}={R}_{H}(t-{\tau }_{{\rm{IIP}}})-{R}_{H}(t-{\tau }_{{\rm{IIP}}}-{\tau }_{{\rm{REC}}})+{C}_{I}(t)-{C}_{I}(t-{\tau }_{{\rm{REC}}})$$
(42)
$$\frac{d{H}_{R}(t)}{dt}={R}_{H}(t-{\tau }_{{\rm{IIP}}}-{\tau }_{{\rm{REC}}})+{C}_{I}(t-{\tau }_{{\rm{REC}}})$$
(43)

where

$${R}_{H}(t)={v}_{h}(t)b(t)2\kappa \mathop{\sum }\limits_{j=1}^{m}{I}_{j}\frac{{H}_{S}(t)}{{H}_{T}(t)}$$
(44)

and HT(t) = HS(t) + HI(t) + HR(t) + HB and CI(t) is an impulse defined as in the mosquito population model that initiates the transmission cycle through the introduction of infectious humans at a predetermined time that varies from outbreak to outbreak. Note that the inclusion of non-human food sources introduces a dilution effect, as when HB is large in relation to HS(t) the value of RH(t) will be low. This means that when the human population size is small, and therefore most bloodmeals are assumed to come from hosts that cannot become infected with dengue virus, the model predicts that only a low number of total bites by infected mosquitoes result in susceptible humans becoming infected. The omission of an explicit state-equation for humans who have been exposed to infection, but who are not yet infectious is a consequence of the intrinsic incubation period being implicitly accounted for in the delay structure through the inclusion of the term τIIP.

To represent infections in the mosquito population, infectious adult classes are added, one for each environmental class, denoted Ij(t). The number of mosquitoes in environmental class j that become infected at time t is denoted \({R}_{{I}_{j}}(t)\), and defined by

$${R}_{{I}_{j}}(t)={h}_{v}(t)b(t){A}_{j}(t)\frac{{H}_{I}(t)}{{H}_{T}(t)},$$
(45)

and the number of mosquitoes in environmental class j that become infectious at time t is denoted \({M}_{{A}_{j}}(t)\) and defined by

$${M}_{{A}_{j}}(t)=\frac{{g}_{{\rm{EIP}}}(t)}{{g}_{{\rm{EIP}}}(t-{\tau }_{{\rm{EIP}}}(t))}{R}_{{I}_{j}}(t-{\tau }_{{\rm{EIP}}}(t)){S}_{{{\rm{EIP}}}_{j}}(t),$$
(46)

where \({S}_{{{\rm{EIP}}}_{j}}(t)\) is the proportion of individuals in environmental class j that survive the infectious period.

The dynamics of infectious mosquitoes can therefore be described by

$$\frac{d{I}_{j}(t)}{dt}={M}_{{A}_{j}}(t)-{\delta }_{{I}_{j}}(t){I}_{j}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1,\, ... \,,\, m$$
(47)
$$\frac{d{\tau }_{{\rm{EIP}}}(t)}{dt}=1-\frac{{g}_{{\rm{EIP}}}(t)}{{g}_{{\rm{EIP}}}(t-{\tau }_{{\rm{EIP}}}(t))}$$
(48)
$$\frac{d{S}_{{{\rm{EIP}}}_{j}}(t)}{dt}={S}_{{{\rm{EIP}}}_{j}}(t)\left(\frac{{g}_{{\rm{EIP}}}(t){\delta }_{{A}_{j}}(t-{\tau }_{{\rm{EIP}}}(t))}{{g}_{{\rm{EIP}}}(t-{\tau }_{{\rm{EIP}}}(t))}-{\delta }_{{A}_{j}}(t)\right),\quad \,\text{for}\,\,j\in 1 \,,...,\, m,$$
(49)

where gEIP(t) is defined as in Brady et al.43. The equation for the rate of change of adults in environmental class j is modified to include a term representing mosquitoes becoming exposed to infected humans and thus leaving the uninfected adult classes such that

$$\frac{d{A}_{j}(t)}{dt}={R}_{{A}_{j}}(t)-{M}_{{A}_{j}}(t)-{\delta }_{{A}_{j}}(t){A}_{j}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1 \,,\, ...,\, m.$$
(50)

Where \({M}_{{A}_{j}}(t)\) describes the rate that adults become infective. The mosquito dynamics of the SEIR model are therefore given by

$$\frac{d{E}_{\gamma }(t)}{dt}={R}_{{E}_{\gamma }}(t)-{M}_{{E}_{\gamma }}(t)-{\delta }_{{E}_{\gamma }}(t){E}_{\gamma }(t),$$
(51)
$$\frac{d{E}_{D}(t)}{dt}={R}_{{E}_{D}}(t)-{M}_{{E}_{D}}(t)-{\delta }_{{E}_{D}}(t){E}_{D}(t),$$
(52)
$$\frac{d{E}_{Q}(t)}{dt}={R}_{{E}_{Q}}(t)-{M}_{{E}_{Q}}(t)-{\delta }_{{E}_{Q}}(t){E}_{Q}(t),$$
(53)
$$\frac{dL(t)}{dt}={R}_{L}(t)-{M}_{L}(t)-{\delta }_{L}(t)L(t),$$
(54)
$$\frac{d{A}_{j}(t)}{dt}={R}_{{A}_{j}}(t)-{M}_{{A}_{j}}(t)-{\delta }_{{A}_{j}}(t){A}_{j}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1,\, ...,\, m$$
(55)
$$\frac{d{I}_{j}(t)}{dt}={M}_{{A}_{j}}(t)-{\delta }_{{I}_{j}}(t){I}_{j}(t),\,\,\,\,\text{for}\,\,\,\,j\in 1,\, ...,\, m.$$
(56)

The variable delay terms satisfy

$$\frac{d{\tau }_{{E}_{\gamma }}(t)}{dt}=1-\frac{{g}_{{E}_{\gamma }}(t)}{{g}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))},$$
(57)
$$\frac{d{\tau }_{L}(t)}{dt}=1-\frac{{g}_{L}(t)}{{g}_{L}(t-{\tau }_{L}(t))},$$
(58)
$$\frac{d{\tau }_{P}(t)}{dt}=1-\frac{{g}_{P}(t)}{{g}_{P}(t-{\tau }_{P}(t))},$$
(59)
$$\frac{d{\tau }_{{\rm{EIP}}}(t)}{dt}=1-\frac{{g}_{{\rm{EIP}}}(t)}{{g}_{{\rm{EIP}}}(t-{\tau }_{{\rm{EIP}}}(t))}.$$
(60)

The through-stage survival terms satisfy

$$\frac{d{S}_{{E}_{\gamma }}(t)}{dt}={S}_{{E}_{\gamma }}(t)\left(\frac{{g}_{{E}_{\gamma }}(t){\delta }_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))}{{g}_{{E}_{\gamma }}(t-{\tau }_{{E}_{\gamma }}(t))}-{\delta }_{{E}_{\gamma }}(t)\right),$$
(61)
$$\frac{d{S}_{L}(t)}{dt}={S}_{L}(t)\left(\frac{{g}_{L}(t){\delta }_{L}(t-{\tau }_{L}(t))}{{g}_{L}(t-{\tau }_{L}(t))}-{\delta }_{L}(t)\right),$$
(62)
$$\frac{d{S}_{P}(t)}{dt}={S}_{P}(t)\left(\frac{{g}_{P}(t){\delta }_{P}(t-{\tau }_{P}(t))}{{g}_{P}(t-{\tau }_{P}(t))}-{\delta }_{P}(t)\right),$$
(63)
$$\frac{d{S}_{{{\rm{EIP}}}_{j}}(t)}{dt}={S}_{{{\rm{EIP}}}_{j}}(t)\left(\frac{{g}_{{\rm{EIP}}}(t){\delta }_{{A}_{j}}(t-{\tau }_{{\rm{EIP}}}(t))}{{g}_{{\rm{EIP}}}(t-{\tau }_{{\rm{EIP}}}(t))}-{\delta }_{{A}_{j}}(t)\right),\quad \,\text{for}\,\,j\in 1 \,,...,\, m.$$
(64)

The initial conditions are the same as those for the disease free mosquito model, with the additional history HI(0) = HR(0) = 0 for t ≤ 0 and HS(0) is the initial human population density as estimated from the Gridded Population of the World, Version (GPWv4) for 2015147. The mosquito population is assumed to be initially entirely uninfected and mosquitoes are introduced to the system as described in Equation (32). Refer to the table in Supplementary Note 6 for an overview of all parameters and notation.

R t derivation

To quantify how disease risk changes between regions we derive an expression for the case reproduction number Rt for the phenotypic stage-structured model157. The case reproduction number is distinct from the basic reproduction number as it reflects how transmission risk varies as the outbreak progresses, accounting for how changes in the infection structure of the population alter the potential for the outbreak to continue as time passes158. We assume that a single infected human is introduced precisely at the end of the intrinsic incubation period and so can be bitten for the full duration of the infectious period. We note that for a mosquito to become infectious at time t the infecting bite must have occurred at time t − τEIP(t). Therefore, the number of mosquitoes that become infectious at time t per day per 4 km2 can be expressed as

$$\mathop{\sum }\limits_{j=1}^{m}\frac{\frac{{g}_{{\rm{EIP}}}(s)}{{g}_{{\rm{EIP}}}(s-{\tau }_{{\rm{EIP}}}(s))}b(t-{\tau }_{{\rm{EIP}}}(t)){h}_{v}(t-{\tau }_{{\rm{EIP}}}(t))2\kappa {A}_{j}(t-{\tau }_{{\rm{EIP}}}(t)){S}_{{{\rm{EIP}}}_{j}}(t)}{{H}_{T}}.$$
(65)

The infected human is assumed to remain infectious for τREC days, and so the total number mosquitoes per 4 km2 that become infected as a result of the introduction of an infected human at time t − τEIP(t) is the case reproduction number for human to mosquito transmission and can be expressed as

$${\mathop{\sum }\limits_{j=1}^{m}\mathop{\int}\nolimits_{\!\!\!\!t}^{t+{\tau }_{{\rm{REC}}}}\frac{\frac{{g}_{{\rm{EIP}}}(s)}{{g}_{{\rm{EIP}}}(s-{\tau }_{{\rm{EIP}}}(s))}b(s-{\tau }_{{\rm{EIP}}}(s)){h}_{v}(s-{\tau }_{{\rm{EIP}}}(s))2\kappa {A}_{j}(s-{\tau }_{{\rm{EIP}}}(s)){S}_{{{\rm{EIP}}}_{j}}(s)}{{H}_{T}}ds.}$$
(66)

The number of susceptible humans that a single infectious mosquito bites per day at time t can be expressed as

$$\frac{b(t){v}_{h}(t){H}_{S}(t)}{{H}_{T}},$$
(67)

and we can therefore approximate the mosquito to human case reproduction number, the total number of new human infections caused by a mosquito that became infectious at time t, by

$$\mathop{\int}\nolimits_{\!\!\!\!t}^{t+1/{\delta }_{{A}_{j}(t)}}\frac{b(s){v}_{h}(s){H}_{S}(s)}{{H}_{T}}ds.$$
(68)

Note that this is only an approximation as the lifespan of the infectious mosquito, \(1/{\delta }_{{A}_{j}}(t)\), is determined by the environment at time t and does not account for any temperature-induced changes in adult mortality that occur between times t and \(t+1/{\delta }_{{A}_{j}}(t)\).

The human-to-human case reproduction number is the square root of the product of the human-to-mosquito and mosquito-to-human case reproduction numbers157. Hence, the number of new infections caused by the introduction of a single infectious human at time t − τEIP(t) can be approximated by

$$\begin{array}{rcl}{R}_{t-{\tau }_{{\rm{EIP}}}(t)}&=&\left[\mathop{\sum }\limits_{j=1}^{m}\left(\mathop{\int}\nolimits_{t}^{t+{\tau }_{{\rm{REC}}}}\frac{\frac{{g}_{{\rm{EIP}}}(s)}{{g}_{{\rm{EIP}}}(s-{\tau }_{{\rm{EIP}}}(s))}b(s-{\tau }_{{\rm{EIP}}}(s)){h}_{v}(s-{\tau }_{{\rm{EIP}}}(s))2\kappa {A}_{j}(s-{\tau }_{{\rm{EIP}}}(s)){S}_{{{\rm{EIP}}}_{j}}(s)}{{H}_{T}}\right.\right.\\ &\times &{\left.\left.\left(\mathop{\int}\nolimits_{s}^{s+1/{\delta }_{{A}_{j}}(s)}\frac{b(u){v}_{h}(u){H}_{s}(u)}{{H}_{T}}du\right)ds\right)\right]}^{\frac{1}{2}}.\hfill\end{array}$$
(69)

From Equation (69), we can compute \({R}_{{t}^{{\prime} }}\), where \({t}^{{\prime} }=t-{\tau }_{{\rm{EIP}}}(t)\), directly from the numerical output. We note that in Equation (69) the mosquito-to-human case reproduction number appears inside the integral for the human-to-mosquito case reproduction number. This accounts for the fact that depending on the human population and environmental conditions at the time a mosquito becomes infected, the resultant number of mosquito-to-human cases will vary. We test the validity of this approximation in two ways. In Supplementary Note 4 we demonstrate that for a population held at constant temperature when Rt = 1 − ϵ case numbers decrease and that when Rt = 1 + ϵ case numbers increase for a suitable ϵ. Further, Supplementary Fig. 70 shows the average total annual number of dengue cases over the same spatial region and temporal extent that is considered in Fig. 4.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.