Introduction

Developmental plasticity plays a key role in generating phenotypic variation (Ghalambor et al. 2007; Noble et al. 2018; West-Eberhard 2003). The complex interplay between an individual’s genotype, and the developmental environment in which that genotype finds itself, means that a range of different phenotypes can arise (Monaghan 2008; West-Eberhard 2003). Phenotypic changes resulting from distinct early life experiences can have persistent effects on individual fitness (Monaghan 2008; Noble et al. 2018). For many oviparous (egg-laying) organisms, early life stages are particularly sensitive periods because many species do not provide parental care that would shelter embryos from environmental insults. Changes induced by developmental environments may result in a better match between the adult phenotype and the subsequent selective environment. However, in some cases, maladaptive phenotypes can arise if there is a mismatch between later-life environments and those experienced early in development (Beaman et al. 2016; Ghalambor et al. 2007). Regardless, phenotypic plasticity represents a promising immediate solution for threatened populations by allowing them to better track adaptive optima and persist; providing the population experiences environmental conditions they have experienced in the past (Beldade et al. 2011; Chevin et al., 2010; Noble et al. 2019; West-Eberhard 2003). Understanding the consequences of developmental environments on phenotypes and fitness is therefore critical to predicting how populations will survive in stressful conditions (Botero et al. 2015; Reed et al. 2010).

A population’s capacity to evolve depends not only on the strength of selection but also on the underlying standing genetic variation (Lynch and Walsh 1998). It has long been recognised that both selection and genetic variation change across environments (Falconer and Mackay 1996). As such, a great deal of effort has been put towards understanding the circumstances under which genetic variation may change with the environment and the magnitude of those changes (Charmantier and Garant 2005; Fischer et al. 2021; Hoffmann and Merilä 1999; Noble et al. 2019; Rowiński and Rogell 2017; Wood and Brodie 2015). Genetic variance in novel environments may increase due to the relaxation of selection pressures combined with higher mutation rates (Hoffman and Parsons 1991; Hoffmann and Merilä 1999). An increase in genetic variance is also expected when buffering mechanisms break down, triggering a release of ‘cryptic genetic variation’ (Paaby and Rockman 2014). However, other mechanisms, such as low cross-environment genetic correlations or condition-dependence of gene expression can also affect the amount of genetic variance in different environments (Charmantier and Garant 2005; Coltman et al. 2001). Under the same selection pressure, should genetic variation change with the environment, the speed of evolutionary responses can be impacted making it potentially difficult to predict genetic adaptation.

Comparative studies have shown that the environmental impacts on genetic variance are not straightforward (Charmantier and Garant 2005; Hoffmann and Merilä 1999; Rowiński and Rogell 2017). In lab studies, elevated developmental stress has been shown to increase the heritability of morphological traits (Hoffmann and Merilä 1999), whereas wild, non-domestic populations tend to have higher heritability in favourable environments (Charmantier and Garant 2005). Lack of consensus may be related to increased environmental heterogeneity in wild populations, making them more difficult to compare with lab studies. It has been suggested that responses to different developmental stressors (e.g. heat shock vs. starvation) may be associated with disparate patterns of gene expression, making broad comparisons more variable (Charmantier and Garant 2005; Dahlgaard and Hoffmann 2000). Importantly, environmental comparisons of heritability have been criticised because they mask changes in the relative contributions of non-genetic and genetic variance (Hansen et al. 2011; Rowiński and Rogell 2017). For example, a meta-analysis found that heritability of life history traits, which have been argued to be more important to fitness, did not change between control and stressful conditions (Rowiński and Rogell 2017). The same pattern was observed for morphological traits (Fischer et al. 2021). Upon closer inspection, both the additive genetic and environmental variance of life history traits increased under stressful conditions whereas the opposite was true for morphological traits (Rowiński and Rogell 2017). The expression of genetic variation under different developmental environments can thus influence the evolutionary potential of fitness-related traits.

Body size is fundamental to fitness and is both heritable and environmentally responsive (Noordwijk et al. 1988; Stillwell and Fox 2009). Developmental environments, such as temperature and nutritional stress can drive substantial variation in body size, largely through shifts in how organisms grow (Eyck et al. 2019; Noble et al. 2018). Maternal investment in offspring is also an important source of body size variation (Noble et al. 2014; Wilson and Réale 2006). Variation among mothers in egg investment, nest site selection or timing of birth (Mitchell et al. 2018; Shine and Harlow 1996; Uller and Olsson 2010) are expected to contribute the most to offspring body size early in development (Mousseau and Fox 1998). However, these effects have been shown to decline with age as maternal investment subsides (Krist 2010; Wilson et al. 2005b). In addition, environmental factors such as shared habitats or long-term seasonal effects can also account for a substantial proportion of variability in body size (Kruuk 2004). For example, permanent environmental effects that varied across years explained 26–35% of body size variation in bighorn sheep (Réale et al. 1999). Similarly, 56% of the variation in body mass was attributed to shared nesting environments among sibling blue tit chicks (Charmantier et al. 2004). As such, the various sources that influence body size variation (genetic, environmental, maternal) are predicted to vary across ontogeny and temporal approaches are needed in order to evaluate the age-specific evolutionary potential of body size—higher genetic variation at a given age would imply that, if selection were to operate, it would be more likely to lead to an evolutionary response.

Here we investigated the impact of developmental temperature on growth and mass in an oviparous skink (Lampropholis delicata)—two traits that are critically important to fitness. We also test how developmental environments affect the evolutionary potential of these traits. Growth trajectories (nobservations = 3002) for lizards that hatched from two incubation treatments (nhot = 125, ncold = 136), were measured over the first 16 months of life (lifespan is ~3–4 years). Using 8433 single-nucleotide polymorphic (SNP) markers, we derived a genomic relatedness matrix (GRM) to estimate quantitative genetic parameters. Using these data, we address two key questions: (1) How does developmental temperature affect the rate and shape of growth trajectories (initial mass, growth rate and curvature of growth trajectory)? and (2) How does developmental temperature affect genetic and non-genetic sources of phenotypic variance across age? According to the ‘temperature-size rule’, we expect lizards experiencing cold developmental temperatures to have larger initial masses and slower growth rates—possibly resulting in lizards reaching sexual maturity at a later age compared to lizards experiencing hot developmental temperatures (Angilletta et al. 2017). In addition, we predicted a greater amount of genetic variance under higher developmental temperatures, after controlling for non-genetic sources of variance, as higher temperatures may release ‘cryptic genetic variation’ (Rowiński and Rogell 2017). We expected maternal effects and permanent environmental effects to manifest early in development and dissipate over time.

Materials and methods

Lizard collection and husbandry

We established a breeding colony of adult L. delicata (nfemales = 144, nmales = 50) using wild individuals collected across five sites throughout the Sydney region between August and September 2015. While we collected from five different sites in Sydney, biogeographic data suggests high gene flow across the Sydney region (Chapple et al. 2013). Using a half-sib breeding design, we paired three females with a single male in opaque plastic enclosures measuring 35 cm × 25 cm × 1 5cm (L × W × H). We chose a paternal half-sib design because maternal half-sibs are difficult to generate given that females in our colony only produced a single clutch in a year (see below). Enclosures were kept under UV lights (12L:12D) in a temperature-controlled room set to 24 °C. Lizards were given access to a heat lamp that elevated temperatures to between 28 and 32 °C. Each enclosure was lined with newspaper and lizards had constant access to water. Tree bark was used as a refuge. Adult lizards were fed medium-sized crickets ad libitum (Acheta domestica) dusted with calcium powder and multi-vitamin every 2 days. From the beginning of the egg-laying season (October of each year), we replaced newspaper lining with garden potting mix and placed an opaque plastic box (12 cm × 17.5 cm × 4.3 cm) containing moistened vermiculite in each enclosure for females to oviposit their eggs. During this time, enclosures were sprayed with water every second day to maintain a relatively humid environment. From October to November, egg boxes were checked every day. Tail tissue samples (~1 mm) were taken from adults that were from enclosures producing eggs for DNA extraction (see below). All tissues were stored in 70% ethanol. The animal collection was approved by the New South Wales National Parks and Wildlife Service (SL101549) and all procedures were approved by the Macquarie University Ethics Committee (ARA 2015/015) and University of New South Wales Animal Care and Ethics Committee (ACEC 15/51A).

Developmental temperature manipulations

Eggs were collected between October to March, over two reproductive seasons from 2016 and 2017. As soon as eggs were found, they were weighed using a digital scale to the nearest 0.01 g (Ohaus Scout SKX123). We also measured egg length (distance between the furthest points along the longest axis of the egg) and egg width (distance between the widest points along the axis perpendicular to the longest axis of the egg) using digital callipers to the nearest 0.01 mm. Following measurements, each egg was placed in a plastic cup (80 ml) containing three grams of vermiculite and four grams of water. Each cup was then covered using cling wrap and secured using an elastic band. We used a split-clutch design where eggs from a single clutch were pseudo-randomly assigned to one of two developmental temperature treatments. We used two incubators to precisely control the temperature of eggs (LabWit, ZXSD-R1090). The ‘hot’ treatment was exposed to a mean temperature of 29 °C whereas the ‘cold’ treatment was exposed to a mean temperature of 23 °C. Both incubators fluctuated ±3 °C over a 24-h period around these mean temperatures to simulate natural nest site temperature variability. These treatments represent the temperature extremes of the natural nest (~2 standard deviations above and below the mean −~27 °C) sites for L. delicata (Cheetham et al. 2011), and this species does not have a temperature-sex determination that would possibly bias sex ratios in these two treatments. We chose these temperatures because we expect thermal environments to become more extreme and variable in the future making it of interest to know how the expression of genetic variation is likely to manifest in abnormal thermal conditions. While it is challenging to determine if an environment is ‘stressful’ or not without data on egg mortality (Roelofs et al. 2010), we viewed this as atypical of what is commonly encountered in nature. Egg cups were rotated within each incubator weekly to avoid uneven heat circulation within incubators. Incubators were also checked daily for hatchlings.

Quantifying growth rate

Newly emerged hatchlings were weighed to the nearest 0.01 g and a small tail tip clipping (~2 mm) was taken for genetic analyses. Ventral photographs were taken for digital measurement (Nikon Coolpix A900). For the first 2 months, photographs of hatchlings were taken approximately every 14 days. After which, hatchlings were photographed at approximately a 35-day interval. From 6 months onwards, we manually measured hatchling snout-vent-length (SVL) using a clear ruler to the nearest ~0.5 mm. We also recorded the mass of the individual each time photographs or SVL measurements were taken. Growth measurements continued until we had approximately 16 measures per individual (mean = 11.5, SD = 4.71). By the end of the study, the mean age for hot incubated lizards was 335.82 (range: 0–711) and for cold incubated lizards it was 384.8 (range: 0–707) which is approximately 25–50% of their total lifespan (Chapple et al. 2014). From the photographs, we extracted SVL (from tip of snout to the beginning of the cloaca opening) using ImageJ software (Rueden et al. 2017). For the first initial 9 months, hatchlings were housed individually in opaque plastic enclosures (32.3 cm × 18.5 cm × 6 cm) lined with newspaper. Hatchlings were fed the same number of crickets every second day and had constant access to a tree bark refuge and water. Hatchling enclosures were placed in a temperature control room under the same conditions as described above for the adult colony. For logistical reasons, at approximately 9 months, hatchlings were housed in groups of five in opaque bins with the same measurements as the adult enclosures. We pseudo-randomised individuals to each shared enclosure while maintaining a similar number of individuals from each treatment. Social housing conditions may result in additive genetic and maternal effects becoming more apparent because of competition and social stress that may drive greater variation among individuals. Our modelling approaches estimate changes in variance components across age and should be able to detect any changes brought about by the release of variation (see below).

Genomic relatedness matrix

We derived a GRM using SNP genotypes for all 261 offspring with growth data (132 putative parents; nfemales = 69, nmales = 63). While our half-sib breeding design allowed us to assign parentage to derive a pedigree, high levels of sperm storage and low levels of multiple paternity (94% of offspring within a clutch had been sired by a single male) meant our pedigree had low resolution to effectively estimate additive genetic variation. Recent studies have shown that GRM derived from SNPs have low error rates (<0.3%) and are able to reconstruct pedigree relationships when at least 200 SNP loci are used (Bérénos et al. 2014; Huisman 2017). Moreover, both relatedness and heritability values estimated from a GRM can be very similar to those inferred using a pedigree (Bérénos et al. 2014; Huisman 2017). GRMs may in fact provide more accurate estimates of genetic relatedness among individuals than was is typically assumed from pedigrees. SNP libraries were designed and animals genotyped using DArTseq™ (Diversity Arrays Technology) methods. For more details on DNA extraction and SNP genotyping see ESM.

Prior to deriving our GRM, we filtered our SNPs using the R package dartR (Gruber et al. 2018). We filtered loci based on various metrics in the following order: (1) read depth (8–40); reproducibility (>0.996); call rate by loci (>0.97) and then by individual (>0.80); monomorphic loci; minor allele frequencies (>0.02); Hamming Distance among loci (>0.25) and Hardy Weinberg Equilibrium. This clean-up process resulted in a dataset of 8438 loci with an average call rate of 98.5% (see ESM and provided code). Using these 8438 loci we derived a GRM, which describes the proportion of the genome that is identical by descent (VanRaden 2008). We calculated a GRM for all hatchlings using the snpReady R package (Granato et al. 2018) following methods described by (VanRaden 2008):

$$GRM=\frac{ZZ^{\prime} }{2\sum {p}_{i}(1-{p}_{i})}$$

where Z is the centred squared matrix of SNP genotypes of all individuals. This is calculated from a matrix of where heterozygote SNP genotypes (AT) were coded as 0, homozygote genotypes for the SNP allele (AA) were coded as 1 and homozygotes for the original allele (TT) were coded as −1. pi is the frequency of the second locus at locus position i. The denominator scales the GRM matrix so that the values approximate a relatedness matrix derived from a pedigree.

Statistical analyses

All analyses were performed using R (Team RC 2023). We checked the data for potential input errors using histograms, scatterplots, and Cleveland plots. We fitted Bayesian linear mixed-effects models in brms which interfaces with Stan (Bürkner 2017; Gelman et al. 2015). Mass was log-transformed, and age was z-transformed. For all models, we ran 6000 iterations with a burn-in of 1000, sampling from the posterior distribution every 10 iterations. We ensured proper mixing by inspecting trace plots and checked that scale reduction factors were less than 1.01. We report posterior means and 95% credible intervals for all parameters throughout.

Impact of developmental temperature on additive genetic variance and maternal effects across age

First, we tested whether developmental temperature influenced the overall heritability of mass and the relative contributions of additional variance components across age. (i.e., permanent environmental and maternal effect variance). For each treatment group, we fitted intercepts only in the fixed effects with random intercepts for additive genetic variance (G), maternal effects (M) and permanent environmental effects (PE) as we had repeated measures of the same individuals (Wilson et al. 2010). The model also estimated residual variance (R). We included our GRM to estimate additive genetic variation. Overall heritability (h2) of mass at a given age was calculated as follows:

$${h}^{2}=\frac{{G}_{I}}{{V}_{T}}$$

Where VT is the sum of the variance components in the model (which could vary depending on the model best supported). We used model selection to determine the most appropriate random effects structure for our data as we had no a priori knowledge of what (or how) variance components change with age (Wilson and Réale 2006). We fitted models with varying complexity in their random effects and used Leave-One Out (LOO) cross-validation to compare model fit and select the model with the best predictive performance. Using LOO, the expected log pointwise predictive density for a model can be calculated, and these can be used to compare model performance—by calculating the difference between the expected log pointwise predictive density of various models. Differences of less than 4 mean that models are comparable (Sivula et al. 2020). For differences greater than 4, then the standard error (SE) of the differences in expected log pointwise predictive density should be compared. If the SE of the differences is much larger than the point estimate of the difference then the model closer to zero is preferred (Sivula et al. 2020). The difference in LOO between models can be used for model selection, and in our case, gave similar results to model selection using Watanabe–Akaike Information Criterion (WAIC) (Supplementary Table S1). We fitted random intercepts and random slopes by including either a linear age term or both linear and quadratic age terms to partition variance across age. Three models were equally supported, the first included a random linear and quadratic slope for G and M and PE. (Supplementary Table S1) and the second included a random linear and quadratic slope for G and M, respectively, and a random intercept for PE (Supplementary Table S1). To avoid overfitting, we selected the more parsimonious model and used this random effect structure for the remaining analyses unless stated otherwise. The same top model selected was similar no matter whether we used the full data or only the data subset for individuals incubated in cold or hot developmental treatments.

Residual variance may be conflated with estimates of other variance components if it changes over time (heterogenous variance) and is not properly accounted for. We therefore explicitly modelled residual variance to verify if this was the case and compared homogenous and heterogenous residual variance models using WAIC. We fitted two models, both of which had the same fixed and random effects structure as the best supported model described above. The first model had homogenous residual variance whereas in the second model, we modelled residual variance with a linear slope thereby allowing it to vary with age. The model with heterogenous variance was best supported (Supplementary Table S2); we therefore modelled heterogenous variance in all subsequent models unless stated otherwise.

To test for treatment differences in variance components, we subset data for each treatment group and fitted an intercept-only model with our best-supported random effect structure (Model 7 - Supplementary Table S1) and heterogenous residual variance. We estimated a genetic variance-covariance matrix for each treatment (G), where the diagonal elements represent the additive genetic variances for the intercept (GI), slope (GS) and quadratic (GC) parameter estimates across age. The off-diagonal elements are the additive genetic covariances between the growth curve parameters; for example, \(Co{v}_{I,C}\) is the additive genetic variance between the intercept and the quadratic slope.

$$G=\left[\begin{array}{ccc}{G}_{I} & Co{v}_{I,S} & Co{v}_{I,C}\\ Co{v}_{I,S} & {G}_{S} & Co{v}_{S,C}\\ Co{v}_{I,C} & Co{v}_{S,C} & {G}_{C}\end{array}\right]$$

Similarly, the variance-covariance matrix for dams (M) can be decomposed in the same manner as G.

$$M=\left[\begin{array}{ccc}{M}_{I} & Co{v}_{I,S} & Co{v}_{I,C}\\ Co{v}_{I,S} & {M}_{S} & Co{v}_{S,C}\\ Co{v}_{I,C} & Co{v}_{S,C} & {M}_{C}\end{array}\right]$$

For each treatment group, we then calculated additive genetic variance at a given age Gx using the random slope terms and their covariances following (Gavrilets and Scheiner 1993; Schielzeth and Nakagawa 2022):

$${G}_{x}={G}_{I}+({x}^{2}\cdot {G}_{S})+({x}^{4}\cdot {G}_{C})+(2x\cdot Co{v}_{I,S})+(2{x}^{2}\cdot Co{v}_{I,C})+(2{x}^{3}\cdot Co{v}_{S,C})$$

where x is a specific age. Age-specific maternal effect Mx was calculated using the same formula but with the relevant variance components from M. Age-specific heritability, \({h}_{x}^{2}\), is thus a ratio of all variance components at a given age x. The proportion of variance explained by maternal effects (m2) is calculated in the same manner.

$${h}_{x}^{2}=\frac{{G}_{x}}{({G}_{x}+{M}_{x}+P{E}_{I}+{R}_{I})}$$

As the mean body mass increases over time, the variance may also increase concurrently due to scale effects and potentially bias estimates of quantitative genetics parameters (Wilson et al. 2005b). We therefore calculated coefficients of variation (CV) across age for each variance component by dividing variance by the predicted mean mass at a given age. Interpretations using CV estimates did not change our overall conclusions for additive genetic variance or maternal effects; we therefore present the raw estimates of each variance component below (see ESM).

The influence of developmental temperature on growth trajectories

To test how developmental temperatures affect average growth trajectories, we also fitted three models that varied in their fixed effect structure to determine how developmental temperatures affect (1) initial mass (intercept of curve), (2) linear rate of growth (linear slope) and (3) curvature of the growth trajectory (quadratic term). We fit mass as the response accounting for the same random effects described above. The first model included the main effect of developmental temperature and the linear and quadratic term for age (Supplementary Table S1). The other two models differed in their interaction terms between developmental temperature with age and age2 (Table 2 and Supplementary Table S3). We then compared WAIC values to select the best model for our data that explained changes in mass across age between the two developmental temperature treatments (Table 1).

Table 1 Comparisons of LOOIC values of four models (nobs = 2926) with different combinations of treatment interactions with age parameters.

Results

Over 2 years, we collected 3002 observations of mass data for a total of 261 individuals (nhot = 125, ncold = 136). On average, the incubation period for the ‘hot’ treatment was 29.36 days (SD = 2.17, range = 15–49) days and 48.48 days (SD = 4.18, range = 25–56) for the ‘cold’ treatment. The average age for hot incubated lizards was 335.82 (range: 0–711) and for cold incubated lizards it was 384.8 (range: 0–707). On average, a lizard had 11.5 measurements (SD = 4.71).

The influence of developmental temperature on genetic and non-genetic variance across age

Models that included random slopes (linear and quadratic) of age for G and M were far more superior than models without (Supplementary Table S1). Treatment groups did not differ in how the relative contributions of G and M changed with age as their 95% credible intervals overlapped (Fig. 1). Additive genetic variance remained relatively low and constant upon emergence until approximately 9 months of age, after which it increased rapidly (Fig. 1). Maternal effects decreased sharply upon hatching and dropped to the minimum at approximately 6 months before it increased again (Fig. 2). There were some differences among developmental treatments in how residual variance changed with age (Fig. 1). Residual variance in cold incubated lizards had a much lower intercept compared to hot incubated lizard however their residual variance converged by 8 months of age (Fig. 1).

Fig. 1: Scatterplot showing how additive genetic variance (G), maternal effects (M), residual variance changed with age for the hot developmental treatment (nlizards = 125, red) and the cold developmental treatment (n = 136, blue).
Fig. 1: Scatterplot showing how additive genetic variance (G), maternal effects (M), residual variance changed with age for the hot developmental treatment (nlizards = 125, red) and the cold developmental treatment (n = 136, blue).
Full size image

Points represent posterior means, thin lines represent the 95% credible intervals, thick lines represent the mean for each treatment group.

Fig. 2: Changes in heritability and maternal effects across age.
Fig. 2: Changes in heritability and maternal effects across age.
Full size image

Heritability (h2, A) and the proportion of total variance explained by maternal effect variance (M2, B) across age (days) for the hot developmental treatment (nlizards = 125, red) and the cold developmental treatment (nlizards = 136, blue). Points represent estimates generated from the posterior distribution of the variance-covariance matrix, thin lines represent the 95% credible intervals, thick lines represent the mean for each treatment group.

We investigated whether increases in average mass over time affected variance estimates due to scaling effects between the mean and variance. However, we found that the CV of G and M similar changes across age to raw variance estimates suggesting that changes in variance were not the result of increasing mean body mass with age (Supplementary Figs. S1 and S2).

After accounting for heterogenous residual variance, we found no treatment differences in heritability, or the proportion of variance explained by maternal effects (M2) (Fig. 2). Heritability was moderate to low during early growth in L. delicata and only began increasing at around 120 days and stayed around an h2 ~0.15 (95% CI: 0.06–0.28, although it decreased slightly between 240 and 360 days; Fig. 2). As predicted M2 was a significant contributor to variance in mass (M2 ~0.72, 95% CI: 0.50–0.88) and decreased soon after hatching; however, it increased again from 6 months of age (Fig. 2). The G and M matrices for each treatment group are presented in Supplementary Tables S4 and S5.

Developmental plasticity in growth trajectories in response to temperature

While the model containing an interaction between treatment and quadratic age was best supported, the improvement in LOO value was marginal (Table 1), with the top model explaining a substantial amount of variation in mass (R2 = 0.95, 95% CI: 0.94–0.95). Mass increased significantly over age with growth not differing significantly between the temperature treatments (both for the linear and curvature parameters in the growth curve, see the full model in Table 2). Irrespective of treatment, lizard mass increased by 1.65 g for every 1 SD unit increase in age.

Table 2 Coefficient estimates from full model testing the effects of developmental treatment on mass and how mass changes with age.

Developmental temperature did influence hatching mass (Table 2 and Fig. 3). Lizards from the ‘cold’ treatment were on average 0.03 g (0.011–0.051 g) heavier compared to lizards from the ‘hot’ treatment (Table 2). G and M matrices from this model, along with other variance components, are presented in Supplementary Table S6.

Fig. 3: Model predictions of log-transformed mass over age from the two developmental temperatures.
Fig. 3: Model predictions of log-transformed mass over age from the two developmental temperatures.
Full size image

We randomly subset 40 lizards (20 from each treatment) to plot their individual growth curves. Points represent mean estimates for each lizard from the hot developmental treatment (hot) and the cold developmental treatment (blue). Thick lines represent average growth curve for each treatment. Faint grey lines are each individual’s growth curve. Model predictions were generated from the full model where interaction terms between treatment and both the linear component and quadratic component were included.

Discussion

Early development at hot temperatures resulted in smaller body sizes compared to development at cold temperatures. Growth trajectories, however, were not significantly impacted by early thermal environments—lizards from both temperatures grew at the same rate despite cold animals remaining larger throughout life. We found low to moderate heritability (h2 ~0.15) and high maternal effects (M2 ~0.70) with both varying across age. As we predicted, maternal effects on offspring mass declined in the first few months, presumably because maternal non-genetic contributions were less influential on mass over time. Unexpectedly, maternal effects increased again at approximately 6 months possibly from maternal genetic factors affecting mass. In contrast, heritability increased with age, peaking around 130–180 days before decreasing slightly. Part of these changes reflected differences in the residual variance that changed across age.

Thermal developmental plasticity in growth

In ectotherms, temperature plays a pervasive role in phenotypic development (Eyck et al. 2019; Noble et al. 2018; O’Dea et al. 2019; While et al. 2018). While we found that hot lizards were smaller than cold incubated lizards at hatching, we did not show that growth rates differed between developmental temperatures. Some studies have reported increases in growth at higher incubation temperatures (De Jong et al. 2023; Elphick and Shine 1999; Hare et al. 2004; Verdú‐Ricoy et al. 2014), while others have found either the opposite result or no differences at all (Andrews et al. 2000; Goodman 2008). The directionality of change is highly variable, even among studies of the same species (e.g., Bassiana dupreyi; Elphick and Shine 1998, 1999; Flatt et al. 2001; Telemeco et al. 2010), and we had more data across life compared with many other studies. Lack of generality may be related to how growth is statistically modelled (e.g., polynomial regression versus Von Bertalanffy growth models). In addition, very few studies account for individual variation in hatching mass or growth trajectories. We emphasise the importance of partitioning confounding sources of variance such as individual or clutch effects as they can misconstrue conclusions about developmental impacts on later-life phenotypes. Moreover, future studies should make use of all repeated measures of mass instead of averaging across individuals as the former approach not only increases statistical power but also provides more accurate estimates of growth.

Consistent with other squamates, we found that lizards from the cold incubation treatment attained higher hatching mass compared to their hot counterparts because they were born heavier (Dayananda et al. 2016; Downes and Shine 1999; Flatt et al. 2001; Goodman et al. 2013). These results support the temperature-size-rule whereby organisms reared in cold temperatures tend to have larger body sizes (Angilletta et al. 2017). Larger hatching size can be achieved through prolonged development at cooler temperatures during embryonic stages (Forster and Hirst 2012). It is well known that cold developmental temperatures result in longer incubation periods in many reptiles (Booth 2006; Dayananda et al. 2016; Downes and Shine 1999; Elphick and Shine 1998; Goodman 2008). Longer developmental time may allow embryos to assimilate yolk nutrients more efficiently thus increasing mass at hatching (Storm and Angilletta 2007). Indeed, turtle embryos exposed to high temperatures have enhanced mitochondrial metabolism and metabolic enzymic activity which constrained developmental time and reduced overall hatching size (Ji et al. 2003; Sun et al. 2015). Thermal plasticity in embryonic development may be adaptive for lizards born late in the season when nest temperatures are generally colder (Warner and Shine 2008; While et al. 2015). Indeed, female L. delicata have an extended oviposition period (September to February in our population) and nest temperatures during this time can be highly variable in the wild (Cheetham et al. 2011). Heavier weight at emergence may result in hatchlings that are in better condition to compete with lizards that hatched earlier or have sufficient body reserves to survive harsher conditions in more seasonal environments (Downes and Shine 1999; Gifford et al. 2017; Qualls and Shine 2000). Understanding how body mass affects survival will be necessary to elucidate the adaptative potential of developmentally plastic responses in the wild.

Thermal developmental environments and the evolutionary potential of body mass

Adaptative evolutionary responses depend not only on the amount of selection operating on a trait but also on its underlying additive genetic variance (Falconer 1952; Ghalambor et al. 2007; Hoffmann and Merilä 1999). Stressful developmental environments are hypothesised to lead to the release of ‘cryptic’ genetic variation (Fischer et al. 2021; Noble et al. 2019; Rowiński and Rogell 2017; Wood and Brodie 2015), possibly increasing the evolutionary potential of a given trait. Higher genetic variation, combined with stronger selection may facilitate rapid evolutionary responses that may allow populations to adapt to novel environments (Falconer and Mackay 1996; Hoffmann and Merilä 1999). Contrary to these hypotheses, we found no statistical differences in additive genetic variance for mass between our developmental temperature treatments. In fact, heritability for mass across age in L delicata was generally low (ranging between 0.04 and 0.36), echoing heritability values for mass in various animal systems [e.g., bighorn sheep—0.03 to 0.31 (Réale et al. 1999), macaques—0.39 (Kimock et al. 2019) lizards—0–0.54 (Martins et al. 2019; Noble et al. 2014), red squirrels—0.10, (McAdam et al. 2002)]. It should be noted that decoupling additive genetic variances from other non-genetic variance such as maternal effects requires considerable paternal links in the study design and pedigree (Kruuk 2004). Indeed, when this variance partitioning is done accordingly, heritability estimates are often low (Noble et al. 2014).

The lack of difference in genetic variation between developmental temperatures and environments supports the findings from recent meta-analyses. Fischer et al. (2021) assessed the degree to which stressful thermal environments result in the release of genetic variation. They found that these effects manifested in only a third of the studied cases—in mainly clonal organisms (Fischer et al. 2021). Furthermore, of the 25 cases where genetic variance changed across thermal environments there was no consistent direction (i.e., 11 increased and 14 decreased under thermal stress). Noble et al. (2019) also showed that the release of ‘cryptic’ genetic variation depends on the study design—studies not able to partition out non-genetic sources of variation supported a release of genetic variation whereas studies that did show the opposite pattern. As a caveat, defining an environment as stressful or novel is a difficult task which requires detailed knowledge of a given species’ past environmental exposure—information that is often unknown (Roelofs et al. 2010). While our incubation temperatures were selected based on temperature extremes of naturally occurring L. delicata nests (Cheetham et al. 2011), it is nonetheless possible they were not ‘stressful’ from an evolutionary perspective. Indeed, egg mortality did not differ across incubation treatments, which suggests that lizards from both treatments experienced a similar level of thermal stress as embryos (the estimate of treatment difference: 0.80 [–0.04 to 1.73]). Furthermore, treatment differences may be harder to detect under realistic fluctuating temperature regimes. As such, lizards were not exposed to extreme temperatures over extended periods which might be more important in orchestrating changes in genetic variation (Bonamour et al. 2019). Overall, our results suggest that the thermal extremes experienced by natural nest sites do not modify the evolutionary potential of mass. However, this should be interpreted with caution as estimates of quantitative parameters from laboratory studies can differ from wild populations (Sgrò and Hoffmann 2004; Weigensberg and Roff 1996).

Ontogenetic changes in genetic and non-genetic contributions to body mass

Genetic contributions to body size are expected to vary throughout ontogeny (Lynch and Walsh 1998). Selection pressures on body size are likely to increase at critical life stages, such as at birth or at sexual maturation, thereby reducing genetic variance at certain ages (Rollinson and Rowe 2015). On the contrary, we found that additive genetic variance of mass was very low upon hatching but slowly increased to a maximum around 120–180 days before stabilising around ~0.15 by the end of the first year. Changes in heritability across age that we observed parallel similar findings seen in bighorn sheep (Réale et al. 1999), Soay sheep (Wilson et al. 2007) and ladybird beetles (Dmitriew et al. 2010). While the underlying cause of changes in heritability in mass in our lizards is not well established, it coincided with changes in the social environment (shared housing). This suggests that perhaps competition for resources (basking sites or food) may orchestrate changes in genetic variation (Dmitriew et al. 2010; Hoffmann and Merilä 1999).

Maternal non-genetic contributions to offspring body size are expected to be highest during early life stages and decline as offspring mature, particularly in precocial species (Cheverud 1984; Wilson et al. 2005b). In accordance with other studies, maternal effects did in fact decline after hatching (Dmitriew et al. 2010; Lindholm et al. 2006; Pick et al. 2016; Wilson et al. 2005a, b). Maternal investment, such as investment in clutch number or egg quality, has been shown to influence hatching size in lizards (Brown and Shine 2009; Noble et al. 2014; Warner and Lovern 2014); however, as predicted these effects dissipated post-hatching (Pick et al. 2016; Réale et al. 1999). Interestingly, maternal contributions increased at a later age and remained moderately low for the remainder of the study. The cause of the resurgence in maternal effect variance is unclear. It could be related to intraspecific competition triggering an effect on body size in relation to previously unknown experiences of mothers when offspring were transferred into social housing conditions. Changes in maternal effects across life stages resulting from past maternal experiences have been documented in other taxa (e.g., Marshall 2008). Alternatively, this pattern may indicate other maternally inherited components such as maternal genetic effects (e.g., mitochondrial genetic variation) that promote variation in body size (Pick et al. 2016). Indeed, variation in mitochondrial function has been linked to an individual’s metabolic rate and growth—explaining as much as ~50% of the variation in food intake and growth (Salin et al. 2016, 2019). Therefore, it is likely an important driver of body size variability. Similar to additive genetic variance, the resurgence of maternal effects also cooccurred with changes in the shared environment (housing conditions), suggesting that maternal effects on offspring body size are likely to be environmentally driven.

Traits under strong selection are expected to show low evolutionary potential as selection acts to remove genetic variation. While low evolutionary potential is at least in part due to reduced levels of additive genetic variance, it is also a result of larger proportions of environmental variance that can impact upon heritability, slowing evolutionary responses (Charmantier and Garant 2005). In our study, the environmental component of the phenotype accounted for over 80% of the variation in body mass which is in line with values reported in great tits (53–74%) and Soay sheep (70–96%) (Noordwijk et al. 1988; Wilson et al. 2007). Interestingly, cool developmental temperatures increased the amount of environmental variance attributed to body mass at an early age. Variation in developmental period between developmental temperatures may explain these differences. In many ectotherms, developmental time exhibits a nonlinear reaction norm with temperature (Marshall et al. 2020; Noble et al. 2018). This means that developmental time decelerates with temperature following a negative exponential function. As a result, hot incubated lizards are more comparable in their development time compared to lizards that were reared at a cooler temperature. In fact, the cold developmental temperature treatment had a much greater variance in incubation duration. With a longer incubation period, embryos can maximise the yolk resources left by their mothers, which can vary considerably within clutches (Wallace et al. 2007). Our results suggest that thermodynamic effects of development time can give rise to greater environmental heterogeneity in hatching mass and may affect the potential for evolution at early life stages.

Conclusion

Our work illustrates the pervasive role of developmental temperature on phenotypic variation. The impact of developmental temperature on body mass manifested early and persisted through life (Monaghan 2008). This has profound implications as developmentally induced variation in body mass may drive life history differences within populations and alter their vulnerability to environmental change (Botero et al. 2015; Marshall et al. 2020; Reed et al. 2010). Body size is known to impact survival in lizards with larger animals usually having a survival advantage (Sorci and Clobert 1999; Warner and Andrews 2002). As such, environmentally driven changes in body size could have population-wide consequences on recruitment. In contrast, the genetic variance of body mass was robust to thermal extremes experienced by natural nests and suggests that the potential to genetically adapt to a warming climate may be limited. However, more stressful incubation temperatures are needed to elucidate the capacity of this species to reveal new genetic material for selection to act on. Non-genetic sources of variance were responsible for most of the variability in body mass, and their dynamics with age means that the effectiveness of evolution is everchanging. Understanding the complexities of adaptive evolution in response to climate change may require intensive long-term studies in wild populations.