Skip to main content
Science Advances logoLink to Science Advances
. 2022 Aug 17;8(33):eabq1878. doi: 10.1126/sciadv.abq1878

Cognition contra camouflage: How the brain mediates predator-driven crypsis evolution

Wen Bo Liao 1,2,*, Ying Jiang 1, Da Yong Li 1, Long Jin 1, Mao Jun Zhong 1, Yin Qi 3, Stefan Lüpold 4,, Alexander Kotrschal 5,
PMCID: PMC9385145  PMID: 35977010

Abstract

While crypsis is a prominent antipredator adaptation, the role of the brain in predator-driven evolution remains controversial. Resolving this controversy requires contextualizing the brain with established antipredator traits and predation pressure. We hypothesize that the reduced predation risk through crypsis relaxes predation-driven selection on the brain and provide comparative evidence across 102 Chinese frog species for our hypothesis. Specifically, our phylogenetic path analysis reveals an indirect relationship between predation risk and crypsis that is mediated by brain size. This result suggests that at a low predation risk, frogs can afford to be conspicuous and use their large brain for cognitive predator evasion. This strategy may become less efficient or energetically costlier under higher predation pressure, favoring smaller brains and instead increasing crypsis.


Intensifying predation lowers the potential for cognitive predator evasion, so frogs evolve smaller brains and become cryptic.

INTRODUCTION

The arms race between prey and their predators has driven the evolution of numerous antipredator strategies throughout the animal kingdom, including body armor, flight behavior, unpalatability or poisonousness, mimicry, or crypsis (1, 2). Many animals have evolved multiple defense strategies, such as morphological and behavioral traits, and the environmental context might dictate the relative efficacy of these traits and their response to selection. Hence, antipredator traits are often negatively associated. For example, the ability or need to escape might decline with enhanced investment in protective weaponry (3). Similar arguments could be made for other forms of physical or chemical protection versus predator evasion. However, simultaneous selection on multiple beneficial traits may also generate positive associations between them, possibly at the cost of other, nondefense-related traits (4). To understand predation-driven evolution, it is thus critical to study correlations between multiple traits and put them in the context of extrinsic factors such as the predation pressure itself (5, 6).

Compared to the well-studied morphological and behavioral adaptations to predation, a less explored potential antipredator strategy is the evolution of a larger brain and better cognitive abilities. There is recent, and at least indirect, evidence for potential protective benefits of a larger brain. For instance, within food webs, prey species often have larger brains than their predators (7). Similarly, relatively larger brains lower mortality rates across avian and mammalian species (8, 9), and most mammalian predators have been shown to prefer prey with smaller brains over prey with larger brains (10, 11). Last, guppies (Poecilia reticulata) with a relatively larger brain survive better under predation pressure (12). Hence, to the extent that brain size reflects cognitive abilities (1316), predation pressure seems to select for better cognitive abilities and therefore larger brains. At least in some circumstances, as when the brain’s high metabolic costs (17) start to outweigh its cognitive benefits (18), selection is likely to shift toward other antipredator strategies. One such strategy is crypsis, a widespread and well-established antipredator adaptation, with animals avoiding detection via camouflage, nocturnality, or hidden lifestyle (1). We hypothesize that if cognitive abilities help evade predators but lead to considerable costs related to brain size, well-camouflaged animals should be able to save those costs because of their lower detectability. Here, we present evidence for such an inverse relationship between the level of crypsis and relative brain size across Chinese frogs.

RESULTS AND DISCUSSION

First, we assessed for 49 anuran species (fig. S1) from southwestern China the degree of crypsis as apparent to the human eye. We photographed four male frogs per species in their natural environment and then asked 10 different human observers to score the similarity/difference between environment and body color on the basis of those photos on a scale of 0 to 100. In a phylogenetic regression analysis (see the Supplementary Materials for details) controlling for snout-vent length (SVL) as a proxy of body size, we found these crypsis scores to covary negatively with relative brain size (brain: t46 = −2.66, P = 0.01; SVL: t46 = 8.10, P < 0.01; phylogenetic scaling parameter, λ = 0.46<0.01, <0.01; Fig. 1A). Having established a negative relationship between relative brain size and crypsis in support of our hypothesis, we broadened our study by (i) using more objective crypsis scores, (ii) increasing the number of species, (iii) including females, and (iv) incorporating additional factors (predation pressure, escape ability) that likely affect this trade-off. In the following, we first explore individual trait relationships and then their interdependence and directionality in path analyses.

Fig. 1. Phylogenetic regressions linking predation pressure, relative brain size, crypsis, and body size across frogs and toads.

Fig. 1.

Partial regressions (controlling for body size) show negative relationships between brain volume and crypsis, whether crypsis was estimated by the human eye (A) or by a snake visual model based on reflectance measurements of dorsal coloration (B). Predation pressure (based on local snake density) covaried positively with dorsal crypsis in both sexes (C) but negatively with relative brain size in males [partial regression controlling for body size (D)], and with body size (snout-vent length) in both sexes (E). All variables are log transformed. Males are depicted in blue and females in red, and data of both sexes are overlaid solely for spatial reasons; analyses were conducted separately.

We used reflectance measurements and visual modeling across 102 anuran species (fig. S2) to assess their conspicuousness on their specific substrate to different observers, most notably snakes as their main predators (see below). Using a spectrophotometer, we measured the spectral reflectance of the skin of live animals (N = 332 males, 145 females), along with their immediate surrounding substrate (e.g., the leaves, stones, or tree trunks they were sitting on). For each frog, we calculated average reflectance spectra for nine dorsal regions to estimate the degree of crypsis, and for six ventral regions as a control area that may rarely be visible to terrestrial predators. To assess the overall conspicuousness of frogs to potential predators, we calculated both the chromatic and achromatic contrasts created by their body regions against their substrate using the receptor noise–limited model (for more details, see Materials and Methods) (19, 20). This model has been successfully applied to predict behavioral responses to visual cues across several taxa (20, 21). We modeled contrasts of individual body regions in the trichromatic visual system of lizards and snakes (Supplementary Materials). Although all terrestrial vertebrate classes have been described to prey on anurans, snakes account for almost half of those reports (22) and are also considered the primary predators for most species in our dataset (23). As several snakes are visual hunters with well-developed binocular vision (24), the evolution of crypsis in frogs is likely linked to snake predation. Despite a lack of obvious sexual dichromatism in the species studied and correlated crypsis scores between the sexes (all r ≥ 0.30, P ≤ 0.03), we analyzed males and females separately because female data were limited to only 50 species (fig. S2) and males likely face higher predation pressure than females by exposing themselves more during courtship (25). Confirming our previous results and supporting our main hypothesis, phylogenetic regressions revealed an inverse relationship between the degree of crypsis and relative brain size in both males (crypsis: t99 = −2.09, P = 0.04; SVL: t99 = 20.83, P < 0.001; λ = 0.29<0.01, <0.01; Fig. 1B, blue) and females (crypsis: t47 = −2.34, P = 0.02; SVL: t47 = 16.02, P < 0.001; λ = 0.610.02, <0.01; Fig. 1B, red). Given that birds are likely the second-most important predators of the species included in this study, we repeated our visual modeling and phylogenetic regressions for tetrachromatic birds (both violet and ultraviolet sensitive, respectively). As the results were qualitatively similar (table S1), we focused on the snake visual model when broadening our analyses and including factors that we predicted to mediate the link between crypsis and brain size: predation pressure and evasion ability. Note that many of our focal frog species (N = 89) forage and court mainly during dusk and nighttime. We nevertheless focused on “daytime” crypsis scores (i.e., combining chromatic and achromatic contrasts) to account for the chromatic variation in those species with at least partially diurnal activity. Furthermore, even nocturnal species should benefit from effective crypsis during daytime when several of the snake species we recorded are at least occasionally observed hunting (26). Last, compared to the chromatic contrasts (r ≤ 0.21, P ≥ 0.03), the achromatic contrasts were far more tightly correlated with our overall crypsis scores (r ≥ 0.93, P < 0.001), and limiting our analyses to nocturnal detectability yielded qualitatively similar results. The primary activity period (nocturnal versus nocturnal/diurnal) explained no significant variation in anuran traits or predation pressure, except that the nocturnal species were slightly larger on average than the other species (table S2).

Predation is typically most pronounced during the breeding season when anurans aggregate at ponds (27). Consequently, we determined snake density at breeding sites via nightly line-transect counts as a proxy of predation pressure. As most snakes in our sites are more active during the night, nightly censuses allow for a reliable estimate of snake density (28). They are further likely an adequate indicator of crypsis-relevant daytime predation pressure as many of our snakes can also hunt during the day. While predation events may occur mainly during the night, when cryptic coloration likely is a less effective antipredator strategy, we have repeatedly witnessed daytime predation events over our past years of field work such that these events might be frequent enough to select for higher crypsis in anurans. Evolutionary processes are often driven by relatively small selection differences such that even events that may appear rare can be important evolutionary forces (29).

Consistent with theory and other empirical data (3032), we found that higher predation pressure was associated with higher dorsal crypsis scores in both males (t100 = 4.05, P < 0.001, λ = 0.210.03, <0.01; Fig. 1C, blue) and females (t48 = 3.05, P = 0.004, λ < 0.010.35, <0.01; Fig. 1C, red, and table S3). These relationships, however, were not statistically significant for ventral coloration that is less visible to predators (all P > 0.20; table S4), confirming that dorsal crypsis is likely an evolutionary response to predation in these Chinese anurans. In contrast to the prediction that superior cognitive abilities are beneficial in predator evasion, we found relative brain size to be negatively correlated with predation pressure in males (t99 = −7.23, P < 0.001; SVL: t99 = 17.74, P < 0.001; λ = 0.55<0.01, <0.01; Fig. 1D, blue). This relationship was not statistically significant across females (t47 = −1.54, P = 0.13; SVL: t47 = 14.12, P < 0.001; λ = 0.450.08, <0.01; Fig. 1D, red). An inverse relationship between brain size and predation pressure has been documented in some fishes (33, 34), and it has been speculated that the smaller brains in populations with higher predation pressure could result from energy limitations because of impaired foraging opportunities (34, 35). In line with this prediction, we found that predation pressure covaried negatively with both male (t100 = −5.35, P < 0.001, λ = 0.88<0.01, <0.01; Fig. 1E, blue) and female body size (t48 = −4.24, P < 0.001, λ = 0.750.30, <0.01; Fig. 1E, red), a trait known to depend on resource availability in many species. If these energetic considerations indeed apply to our sample of frogs, our findings would not only point toward possible constraints in anuran brain size evolution but also suggest that the energy-saving benefits of smaller brains might outweigh the cognitive benefits of larger brains under high predation pressure.

To better discern whether these interspecific associations reflect correlated evolution between pairs of variables or independent evolutionary processes in the same or opposing direction, we used Pagel’s (36) directional test of trait evolution. With likelihood ratio tests and comparisons of the Akaike information criterion (AIC), we compared models with (i) transitions in the state of one variable being contingent on the state of the other, (ii) evolutionary transitions being mutually codependent between the two variables, or (iii) both variables changing states independently of one another. Since this approach uses binary character states, we coded positive brain size residuals [from a phylogenetic generalized least squares (PGLS) regression against SVL] and above-mean values of predation pressure or crypsis as “high” and the remaining values as “low.” To test for correlated evolution between predation pressure and anuran traits, we restricted the directional models such that the latter evolved in response to predation pressure, but predation pressure was independent of these other traits (e.g., there was no a priori reason to assume that changes in snake populations would hinge on changes in anuran brain size). Between crypsis and relative brain size, however, we considered all single- and double-dependent models of evolution. These analyses indicated that the transitions in relative brain size were dependent on predation pressure (χ22 = 10.20, P = 0.006, ΔAIC = 6.20, AIC weight wAIC = 0.96), with the strongest support for a transition from relatively smaller to relatively larger brains in response to a reduction in predation pressure (Fig. 2A and table S5). For dorsal crypsis, the dependent model also tended to perform slightly better than the independent model, but not statistically significantly so (χ22 = 4.47, P = 0.11, ΔAIC = 1.13, wAIC = 0.64). Despite limited support, the dependent transitions were, if anything, biased toward a reduction in crypsis in response to a relaxed predation pressure and increasing crypsis based on heightened predation pressure (Fig. 2B and table S5). By contrast, changes in ventral crypsis were clearly not contingent on changes in predation pressure (χ22 = 0.39, P = 0.83, ΔAIC = 3.61, wAIC = 0.14). Last, among the four models for the covariance between relative brain size and crypsis, that of independent evolution showed the strongest weight of evidence (wAIC = 0.58; Fig. 2C and table S5), although that with changes in crypsis being dependent on relative brain size was within ΔAIC ≤2 of the top model and so could not be dismissed entirely (ΔAIC = 1.79, wAIC = 0.24). Both remaining models (mutual codependence or changes in relative brain size contingent on crypsis) were not supported (ΔAIC ≥3.31, wAIC ≤ 0.11). The single-dependent model suggested that a decline in brain size was more likely to cause a transition to higher than to lower levels of crypsis, with generally lower and more equal transition rates in response to increasing encephalization.

Fig. 2. A directional test of trait evolution investigating pairwise relationships between predation pressure, relative brain size, and crypsis in frogs.

Fig. 2.

Panels show transition rates between binary states of variables. In (A) and (B), we specifically assumed that the changes in predation pressure (i.e., snake densities) should not be contingent on relative brain size (A) or crypsis (B), as indicated by equal transition rates from low to high predation pressure (or vice versa) regardless of the other trait states. However, relative brain size is most likely to increase (A), and crypsis to decrease (B), in response to a reduction in predation pressure, indicating that evolutionary changes in these traits are contingent on predation pressure. (C) Transitions between relative brain size and crypsis. Although the model of independent evolution between these two traits found the strongest support, it was not significantly different from the model with transitions between low and high crypsis depending on relative brain size (but not vice versa; displayed here). Here, a transition from low to high crypsis is most likely to follow a decline in relative brain size, and the reverse following an increase in relative brain size. Arrow widths are proportional to the corresponding transition rate; semitransparent arrows indicate nonstatistically significant transitions (i.e., P > 0.05 in likelihood ratio tests against a transition rate of 0).

While uncovering correlations between two traits can inform on possible evolutionary links, understanding predation-driven evolution requires studying correlations between multiple relevant traits and placing them in the context of predation pressure itself. To this end, we used a phylogenetically controlled path analysis (37) to investigate how predation pressure may affect the evolution of body size, brain size, and crypsis. Since even cryptic species still need to evade predator attacks at close range, we also included hind leg muscle mass in this analysis. Anurans typically evade predators via energetic thrusts with their hind legs to either leap or swim to safety, such that hind leg muscle mass serves as a proxy of escape ability (38). On the basis of 23 prespecified candidate path models (fig. S3), we conducted a phylogenetic confirmatory path analysis, ranking candidate models by their C-statistic information criterion (CICc) and averaging those with ΔCICc ≤2 from the top model (37). Both brain size and hind leg muscle mass were accounted for allometric effects by including causal links between SVL and these variables in all candidate models. The averaged model (Fig. 3A, table S6, and fig. S4) showed that under high predation pressure, frogs evolve smaller bodies. This is consistent with the individual trait correlations above and with life history theory (39); it may further suggest that snakes preferentially prey on larger animals (40). Also in line with the previous individual trait correlations was the negative effect of predation pressure on relative brain size. As discussed above, we suggest that this may be an energy-saving adaptation to life in dangerous environments. However, a nonmutually exclusive explanation, ultimately also based on resource availability, could be an indirect link via population density. Many of the frog species used here differ considerably in typical population densities (41). Hence, the local snake densities (our estimate of predation pressure) could simply be a consequence of varying frog densities, with food availability for individual frogs being explained by competition among them. However, this scenario seems less likely because neither the snake densities nor the body sizes of our male frogs were associated with species-specific population densities estimated along the same transects as the snakes (|t100| ≤ 0.78, P ≥ 0.44).

Fig. 3. Phylogenetic path analyses relating predation pressure, body size, crypsis, relative brain size, and relative hind leg muscle mass in frogs.

Fig. 3.

Panels show average models using dorsal (A) or ventral (B) crypsis in males, or dorsal crypsis in females (C). Predation pressure reflects the density of snakes where each frog species was sampled. Crypsis estimates are based on contrasts between the mean reflectance of multiple dorsal or ventral skin areas of frogs and the substrate where each individual was collected, adjusted for predicted reptilian trichromatic vision (i.e., snake predator). The causal links between SVL and brain size, and between SVL and hind leg muscles, were included in all candidate models to account for allometric effects. Arrow widths are proportional to the corresponding path coefficients, and arrow colors reflect the direction of associations (olive, negative; blue, positive). Semitransparent arrows indicate nonstatistically significant effects (i.e., 95% CI including 0; fig. S3). (D) Variation in crypsis: Paa boulengeri (high crypsis score, top left), Hyla tsinlingensis (very high crypsis score, bottom left), Odorrana nanjiangensis (medium crypsis score, top right), and Rana omeimontis (low crypsis score, bottom right).

Does the apparent selection for smaller brains by predation pressure mean that outsmarting a predator would play no role in predation-driven brain evolution? We think not, as the suggested causal paths indicate a strong and highly significant effect of brain size on crypsis (Fig. 3A). We interpret this as evidence for a functional trade-off between predator evasion strategies. While this negative association was predicted, its directionality in both the test of correlated evolution and the path analysis counters our prediction based on a scenario in which lower detectability via crypsis would reduce the need for cognitive predator evasion. Rather, our data suggest that changes in relative brain size precede those in crypsis, which is also suggested by our directional model of correlated evolution. If so, this would mean that species that are constrained in brain size (e.g., metabolic constraints), and thus in their cognitive capacity, might be under stronger selection for reduced detectability. Combined with the negative effect of predation on relative brain size, these species may have smaller brains because of experiencing a higher predation risk, potentially reducing the efficiency of cognitive strategies while increasing the benefits of low detectability. In turn, larger-brained species may experience relaxed selection for crypsis if their superior cognitive abilities allow them to behaviorally evade their fewer predators (1316). This general line of reasoning is corroborated by the strong positive effect of relative brain size on relative hind leg muscle mass. A large brain can allow for more adequate risk assessment (42), which may explain why large-brained animals typically initiate flight at a shorter distance to an attacking predator (43). Fleeing only when a predator is within striking distance gives large-brained prey animals more time to feed and court than those with a smaller brain. In frogs, such a “last-minute” thrust away from a predator is facilitated by strong hind legs. However, relatively stronger hind legs in species with relatively larger brains may also simply be associated with higher levels of activity and locomotion, possibly between different substrates, than in those species that rely primarily on staying undetected. The remaining two significant associations in the average path model result from standard allometry, with larger frogs having larger brains and more muscular hind legs. Body size is typically the strongest predictor of body parts across vertebrates, including the brain (44). Hence, the strong positive effect of body size on both brain size and hindlimb muscle mass was expected.

To validate our conclusions, we repeated this path analysis using ventral instead of dorsal coloration, and then again for females instead of males. The reasoning for the first reanalysis was that ventral coloration should be rarely visible to terrestrial predators and so under weak predator-driven selection for crypsis. This path analysis still yielded a negative effect of predation on relative brain size, but neither relative brain size nor any other variable was associated with ventral crypsis (Fig. 3B, table S7, and fig. S4). Furthermore, as in the previous analysis, a positive association between relative brain size and relative hind leg muscle mass was apparent, albeit reversed, leaving the directionality (but not coevolution itself) somewhat ambiguous. Next, we replicated both path analyses across females (Fig. 3C, table S8, and fig. S4). Using dorsal crypsis, the general structure of the average model paralleled that across males, including at best an indirect effect of predation on crypsis. Unlike the males, however, the wide 95% confidence intervals (CIs) for the brain size effects on both dorsal crypsis and hindlimb muscle mass included 0 in females, rendering them somewhat inconclusive despite relatively high coefficients. The substantially smaller sample size (N = 50 versus 102 in males) could be one plausible explanation; however, this explanation seems unsatisfactory given that reducing the male dataset to the same 50 species had no qualitative effect on these links (fig. S5 and table S9). A more substantial deviation from the model on male dorsal crypsis was the much weaker and nonstatistically significant direct effect of predation on relative brain size. This difference between sexes was also apparent in the individual regression analyses (above). Here again, lacking statistical power seems a less likely explanation, given that the negative effect of predation on relative brain size in males was also highly significant across the 50 species with female data (t47 = −5.15, P < 0.001; SVL: t47 = 13.36, P < 0.001; λ = 0.53<0.01, <0.01). However, whether this sex difference results from females being less exposed to predators or more energetically constrained in brain evolution (e.g., higher reproductive investments), or devoting more of their cognitive capacity to other functions (e.g., food searching, mate choice), remains to be seen. However, congruent with the male analyses and as predicted, using ventral coloration in females removed any link between crypsis and other variables (table S10 and fig. S4).

All our results combined provide robust evidence for an evolutionary trade-off between an established and a likely antipredator strategy: crypsis and relative brain size. These findings suggest that large-brained animals can “afford” conspicuous coloration, whereas smaller-brained animals that lack sophisticated cognitive antipredator defenses are selected for a cryptic color pattern. Although crypsis itself increased with predation pressure in the individual trait analysis, the context of our path analysis revealed that this effect is indirect via brain size, suggesting a gradual shift from cognitive predator evasion to camouflage with an increasing predation pressure. These links add previously undescribed and important dimensions to our understanding of the costs and benefits of large brains, the evolution of crypsis, and how changes in the predation pressure shape the coevolution of complementary antipredator strategies.

MATERIALS AND METHODS

Sample collection

We collected males (N = 1 to 6; mean: 3.3 per species) of 102 anuran species and females (N = 1 to 5; mean: 2.9 per species) of 50 of these species by hand at night using a flashlight during the breeding season from 2017 to 2020 in China. All individuals per species originated from a single population and were killed by single or double pithing (45, 46) and preserved in 4% phosphate-buffered formalin for tissue fixation. After 2 to 8 weeks of preservation, we measured body size (SVL) to the nearest 0.01 mm with calipers.

Brain size measurements

To measure total brain size, we dissected the brain of each individual and captured digital images of its dorsal, ventral, left, and right sides at ×400 magnification using a Motic Images 3.1 digital camera mounted on a Moticam 2006 light microscope. For dorsal and ventral photographs, we confirmed that the view was horizontal and the brain was symmetrically positioned such that one hemisphere did not appear larger than the other. A single person, blind to species identity, then measured the length (L), width (W), and height (H) of the five brain regions olfactory nerves, olfactory bulbs, telencephalon, optic tectum, and cerebellum, and of the total right half of the brain, using tpsDig v.1.40 (47). We then calculated the volume of each region and of the right brain half on the basis of an ellipsoid model [volume = (L × W × H)π/(6 × 1.43) following (38)], doubled for total volume. This equation for brain volume was originally derived by measurements of water displacement (38). We averaged brain volumes by sex within each species.

Predation pressure

We determined snake density at breeding sites as a proxy of the degree of predation pressure, focusing on one breeding population per species during the breeding season (April to July) between 2017 and 2020. In brief, during three consecutive nights around full moon, we walked 5-m-wide line transects of an average length of 1.3 km (range: 0.4 to 4.6 km) with a 12-V flashlight for each anuran population and recorded the number of snakes encountered. A pilot study with nightly searches for a month in one population for each of 10 frog species revealed that three consecutive nights around full moon were sufficiently representative. The mean snake densities were strongly correlated (r = 0.96, t8 = 9.76, P < 0.001) between the two approaches. We thus used three consecutive nights to estimate the predation pressure for all other anuran species. Among the snakes, we observed primarily Protobothrops jerdonii, Elaphe taeniurus, Ptyas major, Naja atra, Trimeresurus stejnegeri, Bungarus multicinctus, and Dinodon rufozonatum. As an indicator of predation pressure, we calculated the mean number of individual snakes per square kilometer of transect area. For the same transects, we further counted any frogs for an estimate of population density per species. That population densities of anurans vary substantially more between than within species has been shown previously (41). On the basis of 10 species with at least three populations examined in our dataset, we here also confirmed greater variation in associated snake densities between than within our focal anuran species [repeatability = 0.93 (95% CI, 0.81 to 0.97), using the rptR package (48)]. We therefore focused on the same population as frogs were measured for each of the remaining anuran species, prioritizing the number of independent species over the number of populations within them.

Escape ability

Hindlimb muscle mass is an indicator of escaping ability (38) as the robust hindlimbs confer a locomotor advantage in swimming or hopping to escape quickly from predators. To quantify muscle mass, we extracted the four hindlimb muscles (sartorius, plantaris longus, triceps femoris, and gastrocnemius) from each leg of all individuals. We then dried these muscles using a thermostat drier of 60°C for 48 hours before quantifying their dry weight to the nearest 0.1 mg using an electronic balance (49).

Crypsis estimates

We used two approaches to determine the degree of crypsis of frogs in their environment.

Human eye approach

In a pilot study from 2015 to 2017, we obtained information on the degree of crypsis as apparent to the human eye for 49 anurans species (N = 307 individuals). To this end, we photographed frogs in their natural environment with a Nikon 5700 Coolpix camera and standardized their size to one-sixth of the total image area. We used a standard color chart to standardize the camera measurements for comparability of all values across species. We then asked 10 different observers (blind to the aim of the study) to evaluate the difference between body color and environment on a scale from 0 to 100, with higher scores indicating higher similarity between body color and environment (i.e., crypsis). The repeatability between human scorers was high (R = 0.96). When relating these crypsis scores to relative brain size data (collected in 2015 to 2017 as described above) in a phylogenetic regression (see below), we found a significant negative correlation (see Fig. 1). This prompted us to use more objective methods of scoring crypsis in a larger number of species.

Reflectance measurements and visual modeling

For the main study, we conducted field work between April 2018 and July 2020 in 102 species of frogs in southwestern China. We took reflectance measurements to assess the conspicuousness of the frogs on their specific substrate for conspecific and several heterospecific observers. On two or three different days per species during the time of highest activity (20:00 to 01:00 hours), we measured the spectral reflectance of the skin of a total 332 male and 145 female frogs, respectively, and of the specific substrate (e.g., leaves, trunks) where each individual was located. We quantified reflectance spectra of skin and substrate at 2-mm distance using an Ocean Optics HR2000+ Spectrometer fitted with an Ocean Optics bifurcal optic fiber (QP400-7-UV-VIS) with a fixed outer sleeve (to control for the 2-mm distance) and a deuterium-tungsten lamp (HL-2000-CAL). To account for lamp drift, we calibrated the measurements with a white standard (WS-1) every other frog. We measured illumination of the habitat (irradiance) using an optic fiber (QP400-2-VIS-NIR) with an Ocean Optics cosine adaptor-head (CC-3UV), accounting for lamp drift between individuals using Spectralon white standard measurements.

We calculated average reflectance spectra for dorsal and ventral regions of each frog. For dorsal reflectance spectra, we averaged nine reflectance measurements (one of which taken on the head between the eyes, six in the middle of the dorsum, and two behind the dorsum). For ventral coloration, we averaged six reflectance measurements on the belly (one taken on throat region, three in the middle of the belly, and two behind the belly). There is no general sexual dichromatism in the species we used. However, predation pressure likely differs between males and females. As we obtained females for only half of the species because of both practical (females are more difficult to find) and ethical-conservation (females have a higher reproductive potential) reasons, we analyzed males and females separately.

To assess the overall conspicuousness of frogs to potential viewers, we calculated the chromatic and achromatic contrasts created by the body regions of a frog against its substrate in three representative visual systems using the receptor-noise limited model (20). This model has the advantage of including a discrimination threshold based on the observation that an animal’s ability to discriminate between stimuli is limited by total receptor noise. In this model, chromatic and achromatic discrimination thresholds are expressed as just noticeable differences (JNDs), whereby 1 JND represents the difference between two stimuli that equal 1 SD of receptor noise (20). The model is limited, however, by not incorporating cognitive mechanisms that may affect color discrimination, such as spatial and temporal summation (50). However, it has been successfully applied to predict behavioral responses to visual cues in several species across several taxa (21). To explore how frogs may appear to their predators, we modeled contrasts of individual body regions in the visual system of three representative predator groups: (i) average snake (trichromat), (ii) average ultraviolet-sensitive avian (tetrachromat), and (iii) average violet-sensitive avian (tetrachromat).

We conducted all models using the package pavo v.2.1.0 (51) in R v.3.6 (R Core Team 2019), processing smoothed curves (span = 0.2) via vismodel (with “avg.uv,” “avg.v,” “bluetit,” and “ctenophorus”) and coldist functions. For these animal observers, we calculated achromatic contrast (ΔL) and chromatic contrast (ΔS) for each anuran species on its specific substrate. Brightness contrast yields negative results if frogs are darker than their specific background. Since we were more interested in their conspicuousness (i.e., their contrast to their substrate) than whether they were brighter or darker than their substrate, we used the absolute values of brightness contrasts. Last, we estimated the dorsal and ventral overall conspicuousness of the frogs on their substrates for the visual models of different observers. We calculated the overall conspicuousness (OC) between frogs and their background as the Euclidean distance (OC2 = ΔL2 + ΔS2) based on the mean color and brightness contrasts for each species, as proposed by Cummings and Crothers (52), and used its inverse (i.e., 1/OC) as our measure of crypsis.

Phylogenetic reconstruction

To reconstruct the phylogeny, we obtained the sequences of nine nuclear, mitochondrial, and mitochondrial ribosome genes from GenBank (for GenBank accession numbers and sequence coverage, see the Supplementary Materials). The three nuclear genes included the recombination-activating gene 1 (RAG1), rhodopsin (RHOD), and tyrosinase (TYR). The six mitochondrial genes were cytochrome b (CYTB), cytochrome oxidase subunit I (COI), NADH (reduced form of nicotinamide adenine dinucleotide) dehydrogenase subunits 2 and 4 (ND2 and ND4), and the large and small subunits of the mitochondrial ribosome genes (12S/16S; omitting the adjacent tRNAs as they were difficult to align and represented only a small amount of data). We aligned the sequences using multisequence alignment (MUSCLE) in MEGA v.6.0.6 (53). The best nucleotide substitution model, as determined in jModelTest v.2.1.7 (54) based on the AIC, was general time-reversible (GTR) + Γ + I for all genes except RHOD, for which Hasegawa-Kishino-Yano (HKY) + Γ + I had stronger support.

Using BEAUTi and BEAST v.1.8.3 (55), we then constructed both the phylogeny with unlinked substitution models, a relaxed uncorrelated log-normal clock, and a Yule speciation process. We omitted time calibration because of lack of fossil dates. Using the BEAST implementation in the CIPRES Science Gateway (http://phylo.org), we ran the Markov Chain Monte Carlo simulation for 100 million generations while sampling every 10,000th tree. The effective sample size values exceeded 200 for all tree statistics in the program Tracer v.1.6.0 (56), indicating satisfying convergence of the Bayesian chain and adequate model mixing. Last, we generated maximum clade credibility trees with mean node heights and a 10% burn-in using TreeAnnotator v.1.8.3 (55), presented in fig. S1.

Ethics

The reported experiments comply with the current laws of China concerning animal experimentation, and permit to collect amphibians from the Ethical Committee for Animal Experiments in China Council on Animal Care was on hand at the time of sampling. The Animal Ethics Committee at China West Normal University approved the euthanasia of animals.

Statistical analyses

We conducted all statistical analyses in R v.4.1.2 (R Core Team 2021) using log-transformed data to improve data distributions.

Phylogenetic regression models

To account for nonindependence in regression models due to common ancestry, we used PGLS models (57, 58) as implemented in the R package caper (59). We used a maximum-likelihood approach to estimate the phylogenetic scaling parameter λ, with values close to 0 indicating phylogenetic independence and values near 1 reflecting high phylogenetic dependence. We tested these models with estimated λ values against models with λ fixed at either 0 or 1 to determine the degree of deviation of λ from these null models based on likelihood ratio tests. We report the P values of these tests as superscripts following the λ values.

Models of correlated evolution

To test whether trait covariance was the result of correlated evolution, we performed Pagel’s (36) directional test of trait evolution, using the fitPagel function in the phytools package (60), with “fitDiscrete” as the optimization method and allowing all rates to differ (i.e., “ARD” model). Using (the weight of) the AIC and likelihood ratio tests, in which the test statistic is asymptotically χ2 distributed with df = 2 or 4 depending on rate parameters between models, we compared substitution models with (i) transitions in one trait being constrained on the other trait (but not vice versa; i.e., six rate parameters estimated), (ii) transitions being mutually constrained on one another (eight rate parameters), or (iii) transitions being constrained to be independent (four rate parameters). Since this approach is based on transitions between binary character states, we coded positive brain size residuals (from a PGLS against SVL) and above-mean values of predation pressure or crypsis as “high” and the remaining values as “low.” These directional tests are most powerful if ancestral traits are estimated a priori, as this provides insights into the likely evolutionary pathways between ancestral and derived states. We thus first estimated ancestral trait values using a maximum-likelihood approach using the fastAnc function in phytools (60); nodes near the root of our tree indicated relatively high predation pressure, relatively small brains, and relatively high crypsis scores; and all variables changed directions several times across lineages. These replicated evolutionary changes, albeit still somewhat limited in number, should strengthen inferences about correlated evolution (61). To test for correlated evolution between predation pressure and anuran traits, we restricted the directional models to the latter evolving in response to predation pressure, but not the reverse. Between crypsis and brain size, however, we compared for all single- and double-dependent models of evolution as, in principle, each trait could influence the evolution of the other trait. Last, to determine whether any given transition was likely to occur, we tested its rate against the null hypothesis of no transition. To this end, we performed a likelihood ratio test for each state change (test statistic asymptotically χ2 distributed with df = 1), comparing the corresponding dependent model with the same model after setting the target transition to 0.

Phylogenetic path analyses

To disentangle the links of the relative brain volume with predation pressure, crypsis, and hind leg muscle mass, we further performed phylogenetic confirmatory path analyses (37) based on predefined candidate path models. For each candidate model, we defined a set of d-separation statements (62) that linked all involved variables based on a hypothesis expressed in a directed acyclic graph (fig. S3). We predicted that crypsis could be influenced indirectly by predation pressure via body size (with larger frogs being selected against if easily detectable or generally preferred by predators, or selected for if more difficult to capture), relative brain size (cognitive predator evasion), or hind leg muscle mass (escape ability). Alternatively, crypsis could directly respond to predation pressure and secondarily affect relative brain size and/or hind leg muscle mass. Similarly, relative brain size (either cognitive benefits or metabolic costs) and hind leg muscle mass (escape ability) could both also be directly influenced by predation pressure or indirectly via the other trait and/or via crypsis. Last, we included body size as an independent response to predation pressure, as a mediator between predation pressure and other variables, or only to account for allometric effects with no link to predation. To address the importance of allometry in all candidate models, we always causally linked SVL to both brain size and hind leg muscle mass such that any association of brain size or hind leg muscle mass with other variables was accounted for SVL analogous to a multiple regression with body size as a covariate (63, 64). We explored 23 simpler to more complex models, which clearly did not exhaust the possible model space but were predicted to include all most likely scenarios of parallel and sequential dependencies between traits. Using the R package phylopath (64), we examined the conditional independence of each model in a PGLS framework, ranking all candidate models on the basis of their CICc and averaging those with CICc <2 from the top model (37, 64).

Acknowledgments

We thank all volunteers who visually scored anuran crypsis in the pilot study, and two anonymous reviewers for constructive comments.

Funding: This work was funded by the National Natural Sciences Foundation of China (31772451 and 31970393) (W.B.L.), the Key Project of Natural Sciences Foundation of Sichuan Province (22NSFSC0011), Swiss National Science Foundation (PP00P3_170669) (S.L.), and Swedish Research Council (2017-04957) (A.K.).

Author contributions: Conceptualization: W.B.L. and A.K. Investigation: W.B.L., Y.J., D.Y.L., L.J., M.J.Z., Y.Q., S.L., and A.K. Formal analysis: S.L. Writing–original draft: W.B.L., S.L., and A.K. Writing–review and editing: W.B.L., S.L., and A.K.

Competing interests: The authors declare that they have no competing interests.

Data and materials availability: All data needed to evaluate the conclusions in the paper are present in the paper and/or the Supplementary Materials, as well as on the Figshare Data Repository (doi:10.6084/m9.figshare.20157125).

Supplementary Materials

This PDF file includes:

Figs. S1 to S5

Tables S1 to S10

REFERENCES AND NOTES

  • 1.M. Edmunds, Defence in Animals: A Survey of Anti-Predator Defences (Longman, 1974). [Google Scholar]
  • 2.Dawkins R., Krebs J. R., Arms races between and within species. Proc. R. Soc. B 205, 489–511 (1979). [DOI] [PubMed] [Google Scholar]
  • 3.Matsumura K., Yumise K., Fujii Y., Hayashi T., Miyatake T., Anti-predator behaviour depends on male weapon size. Biol. Lett. 16, 20200601 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Roff D. A., Mostowy S., Fairbairn D. J., The evolution of trade-offs: Testing predictions on response to selection and environmental variation. Evolution 56, 84–95 (2002). [DOI] [PubMed] [Google Scholar]
  • 5.Brodie E. D. III, Correlational selection for color pattern and antipredator behavior in the garter snake Thamnophis ordinoides. Evolution 46, 1284–1298 (1992). [DOI] [PubMed] [Google Scholar]
  • 6.Dewitt T. J., Sih A., Hucko J. A., Trait compensation and cospecialization in a freshwater snail: Size, shape and antipredator behaviour. Anim. Behav. 58, 397–407 (1999). [DOI] [PubMed] [Google Scholar]
  • 7.Kondoh M., Linking learning adaptation to trophic interactions: A brain size-based approach. Funct. Ecol. 24, 35–43 (2010). [Google Scholar]
  • 8.Sol D., Székely T., Liker A., Lefebvre L., Big-brained birds survive better in nature. Proc. R. Soc. B 274, 763–769 (2007). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Sol D., Bacher S., Reader S. M., Lefebvre L., Brain size predicts the success of mammal species introduced into novel environments. Am. Nat. 172, S63–S71 (2008). [DOI] [PubMed] [Google Scholar]
  • 10.Shultz S., Dunbar R. I. M., Chimpanzee and felid diet composition is influenced by prey brain size. Biol. Lett. 2, 505–508 (2006). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Shultz S., Finlayson L. V., Large body and small brain and group sizes are associated with predator preferences for mammalian prey. Behav. Ecol. 21, 1073–1079 (2010). [Google Scholar]
  • 12.Kotrschal A., Buechel S. D., Zala S. M., Corral-Lopez A., Penn D. J., Kolm N., Brain size affects female but not male survival under predation threat. Ecol. Lett. 18, 646–652 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Kotrschal A., Rogell B., Bundsen A., Svensson B., Zajitschek S., Brännström I., Immler S., Maklakov A. A., Kolm N., Artificial selection on relative brain size in the guppy reveals costs and benefits of evolving a larger brain. Curr. Biol. 23, 168–171 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Benson-Amram S., Dantzer B., Stricker G., Swanson E. M., Holekamp K. E., Brain size predicts problem-solving ability in mammalian carnivores. Proc. Natl. Acad. Sci. U.S.A. 113, 2532–2537 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Lee J. J., McGue M., Iacono W. G., Michael A. M., Chabris C. F., The causal influence of brain size on human intelligence: Evidence from within-family phenotypic associations and GWAS modeling. Intelligence 75, 48–58 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Kotrschal A., Corral-Lopez A., Amcoff M., Kolm N., A larger brain confers a benefit in a spatial mate search learning task in male guppies. Behav. Ecol. 26, 527–532 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Niven J. E., Laughlin S. B., Energy limitation as a selective pressure on the evolution of sensory systems. J. Exp. Biol. 211, 1792–1804 (2008). [DOI] [PubMed] [Google Scholar]
  • 18.Buechel S. D., Boussard A., Kotrschal A., van der Bijl W., Kolm N., Brain size affects performance in a reversal-learning test. Proc. R. Soc. B 285, 20172031 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Vorobyev M., Osorio D., Receptor noise as a determinant of colour thresholds. Proc. R. Soc. B 265, 351–358 (1998). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Vorobyev M., Marshall J., Osorio D., Hempel de Ibarra N., Menzel R., Colourful objects through animal eyes. Color Res. Appl. 26, S214–S217 (2001). [Google Scholar]
  • 21.Schultz T. D., Fincke O. M., Lost in the crowd or hidden in the grass: Signal apparency of female polymorphic damselflies in alternative habitats. Anim. Behav. 86, 923–931 (2013). [Google Scholar]
  • 22.Toledo L. F., Ribeiro R. S., Haddad C. F. B., Anurans as prey: An exploratory analysis and size relationships between predators and their prey. J. Zool. 271, 170–177 (2007). [Google Scholar]
  • 23.Zhong M. J., Yu X., Liao W. B., A review for life-history traits variation in frogs especially for anurans in China. Asian Herpetol. Res. 9, 165–174 (2018). [Google Scholar]
  • 24.G. L. Walls, The Vertebrate Eye and Its Adaptive Radiation (Cranbrook Institute of Science, 1942). [Google Scholar]
  • 25.Marchisin A., Anderson J. D., Strategies employed by frogs and toads (Amphibia, Anura) to avoid predation by snakes (Reptilia, Serpentes). J. Herpetol. 12, 151–155 (1978). [Google Scholar]
  • 26.Hirai T., Dietary shifts of frog eating snakes in response to seasonal changes in prey availability. J. Herpetol. 38, 455–460 (2004). [Google Scholar]
  • 27.Magnhagen C., Predation risk as a cost of reproduction. Trends Ecol. Evol. 6, 183–186 (1991). [DOI] [PubMed] [Google Scholar]
  • 28.Brown G. P., Shine R., Influence of weather conditions on activity of tropical snakes. Austral Ecol. 27, 596–605 (2002). [Google Scholar]
  • 29.Mousseau T. A., Roff D. A., Natural selection and the heritability of fitness components. Heredity 59, 181–197 (1987). [DOI] [PubMed] [Google Scholar]
  • 30.Götmark F., Post P., Olsson J., Himmelmann D., Natural selection and sexual dimorphism: Sex-biased sparrowhawk predation favours crypsis in female chaffinches. Oikos 80, 540–548 (1997). [Google Scholar]
  • 31.Endler J. A., A predator’s view of animal color patterns. Evol. Biol. 11, 319–364 (1978). [Google Scholar]
  • 32.J. A. Endler, Natural Selection in the Wild (Princeton Univ. Press, 1986). [Google Scholar]
  • 33.Gonda A., Herczeg G., Merilä J., Population variation in brain size of nine-spined sticklebacks (Pungitius pungitius) - Local adaptation or environmentally induced variation? BMC Evol. Biol. 11, 75 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Walsh M. R., Broyles W., Beston S. M., Munch S. B., Predator-driven brain size evolution in natural populations of Trinidadian killifish (Rivulus hartii). Proc. R. Soc. B 283, 20161075 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.R. Vega-Trejo, C. Vila-Pouca, D. J. Mitchell, A. Kotrschal, Predation impacts brain allometry in female guppies (Poecilia reticulata). Evol. Ecol. 10.1007/s10682-022-10191-8 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Pagel M., Detecting correlated evolution on phylogenies: A general method for the comparative analysis of discrete characters. Proc. R. Soc. B 255, 37–45 (1994). [Google Scholar]
  • 37.von Hardenberg A., Gonzalez-Voyer A., Disentangling evolutionary cause-effect relationships with phylogenetic confirmatory path analysis. Evolution 67, 378–387 (2013). [DOI] [PubMed] [Google Scholar]
  • 38.Liao W. B., Lou S. L., Zeng Y., Merilä J., Evolution of anuran brains: Disentangling ecological and phylogenetic sources of variation. J. Evol. Biol. 28, 1986–1996 (2015). [DOI] [PubMed] [Google Scholar]
  • 39.S. C. Stearns, The Evolution of Life Histories (Oxford Univ. Press, 1992). [Google Scholar]
  • 40.B. Charlesworth, Evolution in Age-Structured Populations (Cambridge Studies in Mathematical Biology, Cambridge Univ. Press, ed. 2, 1994; https://cambridge.org/core/books/evolution-in-agestructured-populations/48C9E8DE72A6FAD03938E586641BA620).
  • 41.Lüpold S., Jin L., Liao W. B., Population density and structure drive differential investment in pre- and postmating sexual traits in frogs. Evolution 71, 1686–1699 (2017). [DOI] [PubMed] [Google Scholar]
  • 42.van der Bijl W., Thyselius M., Kotrschal A., Kolm N., Brain size affects the behavioural response to predators in female guppies (Poecilia reticulata). Proc. R. Soc. B 282, 20151132 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Møller A. P., Erritzøe J., Predator–prey interactions, flight initiation distance and brain size. J. Evol. Biol. 27, 34–42 (2014). [DOI] [PubMed] [Google Scholar]
  • 44.G. F. Striedter, Principles of Brain Evolution (Oxford Univ. Press, 2004). [Google Scholar]
  • 45.Jin L., Zhao L., Liu W. C., Zeng Y., Liao W. B., Evidence for the expensive-tissue hypothesis in the Omei Wood Frog (Rana omeimontis). Herpetol. J. 25, 127–130 (2015). [Google Scholar]
  • 46.Yu X., Zhong M. J., Li D. Y., Jin L., Liao W. B., Kotrschal A., Large-brained frogs mature later and live longer. Evolution 72, 1174–1183 (2018). [DOI] [PubMed] [Google Scholar]
  • 47.F. J. Rohlf, tpsDig, Digitize Landmarks and Outlines, Version 2.05 (Department of Ecology and Evolution, State University of New York, Stony Brook, NY, 2006). [Google Scholar]
  • 48.Stoffel M. A., Nakagawa S., Schielzeth H., rptR: Repeatability estimation and variance decomposition by generalized linear mixed-effects models. Methods Ecol. Evol. 8, 1639–1644 (2017). [Google Scholar]
  • 49.Liao W. B., Liao Y. M., Xiao W. M., Chen W., Mi Z. P., Li C., Sexual dimorphism in hind limb muscle mass of the Andrew’s Toad (Bufo andrewsi) in relation to sexual selection. North-West. J. Zool. 8, 252–256 (2012). [Google Scholar]
  • 50.Dyer A. G., Neumeyer C., Simultaneous and successive colour discrimination in the honeybee (Apis mellifera). J. Comp. Physiol. A Neuroethol. Sens. Neural Behav. Physiol. 191, 547–557 (2005). [DOI] [PubMed] [Google Scholar]
  • 51.Maia R., Gruson H., Endler J. A., White T. E., pavo 2: New tools for the spectral and spatial analysis of colour in R. Methods Ecol. Evol. 10, 1097–1107 (2019). [Google Scholar]
  • 52.Cummings M. E., Crothers L. R., Interacting selection diversifies warning signals in a polytypic frog: An examination with the strawberry poison frog. Evol. Ecol. 27, 693–710 (2013). [Google Scholar]
  • 53.Tamura K., Stecher G., Peterson D., Filipski A., Kumar S., MEGA6: Molecular evolutionary genetics analysis version 6.0. Mol. Biol. Evol. 30, 2725–2729 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Darriba D., Taboada G. L., Doallo R., Posada D., jModelTest 2: More models, new heuristics and parallel computing. Nat. Methods 9, 772–772 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Drummond A. J., Suchard M. A., Xie D., Rambaut A., Bayesian phylogenetics with BEAUti and the BEAST 1.7. Mol. Biol. Evol. 29, 1969–1973 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Rambaut A., Drummond A. J., Xie D., Baele G., Suchard M. A., Posterior summarization in Bayesian phylogenetics using Tracer 1.7. Syst. Biol. 67, 901–904 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Pagel M., Inferring the historical patterns of biological evolution. Nature 401, 877–884 (1999). [DOI] [PubMed] [Google Scholar]
  • 58.Freckleton R. P., Harvey P. H., Pagel M., Phylogenetic analysis and comparative data: A test and review of evidence. Am. Nat. 160, 712–726 (2002). [DOI] [PubMed] [Google Scholar]
  • 59.C. D. L. Orme, R. P. Freckleton, G. H. Thomas, T. Petzoldt, S. A. Fritz, caper: Comparative analyses of phylogenetics and evolution in R (2012); http://R-Forge.R-project.org/projects/caper/.
  • 60.Revell L. J., phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol. 3, 217–223 (2012). [Google Scholar]
  • 61.Maddison W. P., FitzJohn R. G., The unsolved challenge to phylogenetic correlation tests for categorical characters. Syst. Biol. 64, 127–136 (2015). [DOI] [PubMed] [Google Scholar]
  • 62.Shipley B., Confirmatory path analysis in a generalized multilevel context. Ecology 90, 363–368 (2009). [DOI] [PubMed] [Google Scholar]
  • 63.Gonzalez-Voyer A., González-Suárez M., Vilà C., Revilla E., Larger brain size indirectly increases vulnerability to extinction in mammals. Evolution 70, 1364–1375 (2016). [DOI] [PubMed] [Google Scholar]
  • 64.van der Bijl W., phylopath: Easy phylogenetic path analysis in R. PeerJ. 6, e4718 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Figs. S1 to S5

Tables S1 to S10


Articles from Science Advances are provided here courtesy of American Association for the Advancement of Science

RESOURCES