Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2023 Mar 1.
Published in final edited form as: Mol Ecol. 2022 Jan 28;31(6):1666–1681. doi: 10.1111/mec.16350

Genetic isolation by distance underlies colour pattern divergence in red-eyed treefrogs (Agalychnis callidryas)

Meaghan I Clark 1,2,3, Gideon S Bradburd 2, Maria Akopyan 1,4, Andres Vega 5, Erica Bree Rosenblum 6,7, Jeanne M Robertson 1,8
PMCID: PMC8923152  NIHMSID: NIHMS1783536  PMID: 35034406

Abstract

Investigating the spatial distribution of genetic and phenotypic variation can provide insights into the evolutionary processes that shape diversity in natural systems. We characterized patterns of genetic and phenotypic diversity to learn about drivers of colour-pattern diversification in red-eyed treefrogs (Agalychnis callidryas) in Costa Rica. Along the Pacific coast, red-eyed treefrogs have conspicuous leg colour patterning that transitions from orange in the north to purple in the south. We measured phenotypic variation of frogs, with increased sampling at sites where the orange-to-purple transition occurs. At the transition zone, we discovered the co-occurrence of multiple colour-pattern morphs. To explore possible causes of this variation, we generated a single nucleotide polymorphism data set to analyse population genetic structure, measure genetic diversity and infer the processes that mediate genotype–phenotype dynamics. We investigated how patterns of genetic relatedness correspond to individual measures of colour pattern along the coast, including testing for the role of hybridization in geographic regions where orange and purple phenotypic groups co-occur. We found no evidence that colour-pattern polymorphism in the transition zone arose through recent hybridization. Instead, a strong pattern of genetic isolation by distance indicates that colour-pattern variation was either retained through other processes such as ancestral colour polymorphisms or ancient secondary contact, or else it was generated by novel mutations. We found that phenotype changes along the Pacific coast more than would be expected based on genetic divergence and geographic distance alone. Combined, our results suggest the possibility of selective pressures acting on colour pattern at a small geographic scale.

Keywords: colour-pattern polymorphism, Costa Rica, hybridization, population genetics

1 ∣. INTRODUCTION

A central goal of evolutionary biology is to understand how phenotypic variation is generated, distributed and maintained in natural systems (Mayr, 1963; Mitchell-Olds et al., 2007). Colour pattern is a phenotype well suited for evolutionary study because it is easily quantifiable and often has adaptive value (Cott, 1940; Orteu & Jiggins, 2020). Many compelling examples of natural selection in the wild have come from studying colour-pattern variation across diverse empirical systems (e.g., Corl et al., 2010; Hoekstra et al., 2004; Lowry et al., 2012; Maan et al., 2008; Nachman et al., 2003; Pfeifer et al., 2018; Rosenblum et al., 2004; Streisfeld & Kohn, 2005; Supple et al., 2015; Twomey et al., 2015). In animals, colour and colour pattern can play important ecological roles, serving as, for example, a deterrent to predation (crypsis, aposematism), as a signal to conspecifics (mate choice, territoriality) or both (Cummings & Crothers, 2013; Rojas, 2016; Selz et al., 2016; Stevens & Merilaita, 2009). Accordingly, colour and colour pattern are often shaped by selection, and variation in colour traits can provide insight into the evolutionary dynamics that shape diversity. When present, colour variation within a species can be distributed at a regional level with little variation within sites (polytypic), found at a single locality (polymorphic) or both (e.g., Wang & Summers, 2010). The distribution of colour variation within species can provide particular insight into the spatial scale over which evolutionary dynamics act (Svensson, 2017).

A variety of evolutionary scenarios could explain phenotypic polytypism, polymorphism, and uniformity. For example, polytypic variation can arise and persist due to genetic drift, limited gene flow among populations due to environmental, geographic or reproductive barriers, or selection against maladapted migrants (Endler, 1973; Lehtonen et al., 2009; Rosenblum et al., 2004, 2010). Polymorphism often occurs at transition zones between distinct morphs (Planes & Doherty, 1997) and can arise through novel mutations, contemporary gene flow, the retention of ancestral polymorphism and/or ancient secondary contact (Lim et al., 2010; Roland et al., 2017). In such transition zones, hybridization could increase phenotypic variation within a population via the co-occurrence of distinct phenotypes unique to each parental population, or the generation of novel phenotypes in hybrids (Akopyan et al., 2020b; Anderson & Stebbins, 1954). Uniformity in colour pattern is expected when there is substantial gene flow among morphs, or when colour is under stabilizing selection (Duftner et al., 2006; Slatkin, 1985). Studying polytypism and polymorphism requires both georeferenced colour-pattern data to quantify spatial patterns of phenotypic variation, and genotypes for those sampled individuals to understand the evolutionary processes generating those patterns of variation.

The striking colour-pattern variation of red-eyed treefrogs, Agalychnis callidryas Cope 1862, provides an excellent system in which to study the mechanisms of extreme phenotypic variability. Red-eyed treefrogs exhibit colour variation across their range from central Mexico to northern Colombia (Campbell, 1999; Savage & Heyer, 1967), with hypervariability in flank and leg colour-pattern across populations in Costa Rica and Panama (Robertson & Robertson, 2008; Robertson & Zamudio, 2009). Flank and leg colour are not sexually dimorphic, do not change within individuals in response to light intensity (Schliwa & Euteneuer, 1983), and are known to be heritable based on breeding studies that found intrapopulation crosses produce offspring with parental phenotypes (J. M. Robertson, unpublished data). Four distinct flank and leg colour morphs exist in Costa Rica and Panama: blue, red/blue, orange, and purple (Robertson & Robertson, 2008). Across this part of the range, red-eyed treefrogs are polytypic, but generally not polymorphic (Robertson & Robertson, 2008; Robertson & Vega, 2011), except in a contact zone on the Caribbean slope of Costa Rica (Akopyan et al., 2020b). Flank and leg colour-pattern probably evolve through both sexual selection due to preference for local morphs during mate choice (Akopyan et al., 2018; Jacobs et al., 2016; Kaiser et al., 2018) and natural selection for colour pattern to potentially act as a warning signal of unpalatability to predators (Clark, 2019; Davis et al., 2016; Robertson & Greene, 2017). Thus, the evolutionary dynamics and impacts of selection have probably shaped the polytypic and polymorphic distributions of colour pattern in red-eyed treefrogs.

We focused on populations of red-eyed treefrogs from mainland and peninsular populations of the Pacific slope of Costa Rica, where colour variation is characterized by a north–south gradient. In the north, frogs generally have orange flanks and legs (orange morph), while in the south, they display purple flanks and legs (purple morph, Figure 1). Recent field sampling efforts identified polymorphic sites where colour pattern transitions from the orange to the purple morph (Central 2, Figure 1). Previous research revealed a complex relationship between geography, colour pattern, and mitochondrial and nuclear markers (Robertson et al., 2009). Within the Pacific slope, northern and southern sites do not share mitochondrial haplotypes, except at a single centrally located site (Robertson & Zamudio, 2009; Figure 1, Site 4; Table 1). We aim to understand the evolutionary processes underlying both polytypic and polymorphic colour-pattern distributions on the Pacific coast.

FIGURE 1.

FIGURE 1

Map indicating the 12 sampling sites for red-eyed treefrogs (Agalychnis callidryas) along the Pacific coast of Costa Rica. Each site is assigned to one of six biogeographic regions: Nicoya, North, Central 1, Central 2, Osa and South. Arrow indicates polymorphic sites. Insets A and B: red-eyed treefrog colour morphs, drawn from photographs, illustrating colour patterns typical of northern orange (A, Nicoya, North) and southern purple (B, South) regions (illustrations: Cynthia J. Hitchcock)

TABLE 1.

Location, geographic coordinates, sample size, mtDNA clade (Robertson & Zamudio, 2009) genetic diversity, and number of private alleles for 12 sampling sites of red-eyed treefrogs (Agalychnis callidryas) along the Pacific coast of Costa Rica

No. Site Province Region Latitude
(N)
Longitude
(W)
n mtDNA
clade
πp θw Private
alleles
1 Cabo Blanco Guanacaste Nicoya 9.5805 −85.1246 9 B 0.088 0.071 907
2 Bijagual San Jose North 9.7256 −84.5313 9 B 0.154 0.131 213
3 Firestone Puntarenas Central 1 9.274927 −83.8589 3 -- 0.167 0.126 0
4 Uvita Puntarenas Central 1 9.1235 −83.7011 5 A, B 0.165 0.149 3
5 Cortes Puntarenas Central 2 8.95517 −83.52177 12 -- 0.169 0.152 66
6 Palmar Sur Puntarenas Central 2 8.94488 −83.48444 20 -- 0.168 0.144 104
7 Sierpe Puntarenas Central 2 8.8892 −83.477 17 A 0.174 0.163 34
8 El Campo Puntarenas Osa 8.6909 −83.5013 17 A 0.163 0.144 83
9 Sirena Puntarenas Osa 8.480261 −83.59012 19 -- 0.165 0.145 80
10 El Tigre Puntarenas Osa 8.52678 −83.40053 19 -- 0.165 0.143 52
11 Gamba Puntarenas South 8.69333 −83.19522 19 -- 0.164 0.143 172
12 Pavones Puntarenas South 8.4204 −83.1069 25 A 0.161 0.138 173

Note: mtDNA haplotype was not identified (--) for some sites. Estimates of nucleotide diversity (π) and Wu and Watterson's theta (θw) were based on the RADseq data set. See Figure 1 for region designations.

In this study, we document the distribution of polytypic and polymorphic populations across the orange–purple colour-pattern gradient and combine those data with a genomic data set generated using restriction-site associated DNA sequencing (RAD-seq) to understand the evolutionary mechanisms that generate and maintain patterns of diversity. We expand sampling from previous studies to examine genomic ancestry and phenotypic patterns across and within orange, purple and polymorphic sites. We first address two hypotheses regarding polytypic patterns across the entire study area: (1A) purple and orange morphs represent distinct genetic demes, consistent with selection for reproductive isolation among these morphs (Akopyan et al., 2018), or alternatively, (1B) samples along the coast are characterized by a pattern of genetic isolation by distance (IBD) that is not correlated with phenotypic variation, which could indicate local selection acting to maintain colour morphs (here we refer to IBD as a pattern of increasing genetic divergence with geographic distance). We investigate the relationships between phenotype and geographic distance, latitude, and genetic diversity using Mantel tests and Bayesian models.

Focusing on the transition zone, we then combine analyses of colour pattern, genetic variation, and relatedness to investigate the phenotypic and genomic profile of polymorphic sites. First, we characterize the distribution of colour phenotypes at polymorphic sites using principal components analysis (PCA) and discriminate function analysis to ask if (2A) only orange and purple morphs are present, or (2B) unique colour phenotypes are present alongside orange and purple morphs. We then use genomic clustering analyses to examine the genomic makeup of phenotypically polymorphic populations compared to other (nonpolymorphic) populations. (3A) If there is little or no gene flow between orange and purple morphs, clustering analyses will show distinct parental groups at polymorphic sites. (3B) Alternatively, if there is gene flow between morphs, clustering analyses will show individuals at polymorphic sites assigned to the same genetic cluster, despite distinct phenotypes. Next, we use the program entropy (Gompert et al., 2014) to determine if (4A) hybridization underlies polymorphism, or if (4B) polymorphism has been generated through another mechanism (i.e., retained from an ancestral population or ancient secondary contact, and/or novel morphs have been generated by new mutations). By integrating analyses of variation at both large (transect from north to south, including polytypic sites and transition zone) and small spatial scales (polymorphic sites in transition zone), we can test hypotheses about how colour pattern evolves at microgeographic scales.

2 ∣. METHODS

2.1 ∣. Field sampling and study sites

Our study focused on 12 sites along the Pacific coast of Costa Rica, west of the continental divide (Figure 1). Pacific red-eyed treefrogs are isolated from Caribbean populations by the Cordillera de Talamanca (Robertson & Zamudio, 2009). The Pacific slope is geographically and environmentally complex: two peninsulas, the Nicoya and Osa, are potentially isolated from mainland sites through geographic barriers and inhospitable habitat (Robertson et al., 2009). Previous studies characterized red-eyed treefrogs at northern sites (Sites 1–8) as orange and at a southern site as purple (Site 12) (Robertson & Vega, 2011). Here, we expanded previous geographic sampling (Robertson et al., 2009) by adding six sites to assess fine-scale variation in phenotype and genotype, including: the central coast (Site 3), the Osa Peninsula (Sites 9 and 10), mainland adjacent to Osa Peninsula (Sites 5 and 6) and Gulfo Dulce (Site 11). We included 9–25 individuals from previously sampled sites, and 3–20 individuals from new sites (Table 1). We bred frogs from Site 2 with frogs from Site 12 in captivity at California State University, Northridge (IACUC 1819–005) to produce F1 hybrids to serve as controls in ancestry analyses (see genomic analyses below). Unfortunately, these frogs did not survive until adulthood, so we were unable to assess their phenotype.

We grouped sites together into six regions based on potential geographic barriers and divisions between known phenotypic and genetic groups (Figure 1). The Nicoya Peninsula (Site 1) is geographically isolated from all mainland populations by dry forest, which is an unsuitable habitat for red-eyed treefrogs. The Central 1 region (Sites 3 and 4) is separated from the North (Site 2) based on distinct mitochondrial DNA (mtDNA) haplotypes (Robertson & Zamudio, 2009). The Central 2 region (Sites 5–7) contains both orange and purple frogs whereas frogs in the South (Sites 11 and 12) only have purple legs. The Terraba and Sierpe Rivers separate the Osa Peninsula (Sites 8–10) from the mainland (Kohlmann et al., 2002; Robertson & Vega, 2011).

At each site, we captured frogs by hand and took digital photographs with a black–white–grey standard (QPcard 101 or 102, Adorama Camera Inc.) of the posterior aspect of their legs (Table S1; for samples collected before 2015, see Robertson & Robertson, 2008, Robertson & Vega, 2011; for samples collected in 2015, Akopyan et al., 2020b). We obtained a toe clip for genomic analyses, which was stored in 100% ethanol. Frogs were released within 1 day at the site of capture. We also took toe clips from eight laboratory-bred F1 hybrids.

2.2 ∣. Quantifying colour pattern

Photos were colour corrected in photoshop cc version 18.0.0 (Adobe) using the QPcard 101 and QP102 grey standard (same subset of standards in both cards). To quantify colour pattern, we focused on the posterior leg because leg and flank colour-pattern are strongly correlated (Robertson & Robertson, 2008). The coloured region of the frogs’ legs can be either uniform in colour or contain a grey/blue patch on the inner leg (Figures S1). In all cases, we first excluded the patch and selected the coloured region of one leg and used the “average” function in Photoshop to measure hue, saturation and brightness (Adobe). Because orange and purple have similar hue values, the saturation and brightness values were useful to distinguish colour pattern within and among populations (Robertson & Robertson, 2008). We then used imagej (Abràmoff et al., 2004) to quantify the percentage of pixels on the leg that were covered by the grey patch, which was easily distinguished from the dominant portion of the leg using saturation values.

We used PCA in r version 3.5.3 (R Core Team 2016) based on hue, saturation, brightness and percentage grey of the hind legs to visualize the distribution of colour-pattern variation among red-eyed treefrog populations within and among regions. Because it is likely that different loci underly colour and pattern in red-eyed treefrogs, we also used PCA to visualize the distribution of colour measurements separate from pattern. Photographs were taken with different cameras (Canon PowerShot SX160 and Nikon Coolpix 5700), but we do not see evidence of batch effects corresponding to camera type (Figures S2 and S3). We conducted a linear discriminant function analysis (DFA) using the “Ida” function in the mass version 7.3-51.4 package in r version 3.5.3. to test whether individuals were correctly assigned to their site of origin based on either hue, saturation, brightness, and percentage grey. Individuals were classified to the site with the highest posterior probability. We conducted this analysis with all measurements and each measurement separately.

2.3 ∣. Molecular methods

DNA was extracted from frog toe clips using a DNeasy Blood and Tissue kit (Qiagen) as per the manufacturer's protocol, except as described below. We eluted DNA in 50 μl Buffer AE to increase concentration. After extraction, 4 μl of 1 mg ml−1 RNAse A was added to each sample to remove RNA contamination. DNA concentration was measured using a Qubit 2.0 Fluorometer (ThermoFisher). RAD-seq libraries (Ali et al., 2016; Etter et al., 2011) containing samples from 12 sites and eight laboratory-bred F1 hybrids were prepared with restriction enzyme Sbf1. We included four to 20 individuals per site (Table 1). Libraries were sequenced on one lane of a HiSeq4000 (PE 150; Illumina).

2.4 ∣. Quality filtering and SNP calling

We processed RAD-seq data as in Akopyan et al. (2020b). Briefly, raw reads with the cut site on the reverse read were rescued using a custom Perl script. The clone_filer program in stacks version 1.34 (Catchen et al., 2013) was used to remove PCR (polymerase chain reaction) clones. Sequence data were demultiplexed using the process_radtags function in stacks. Reads containing base pairs with a phred score less than 10 were removed. We used ustacks in stacks for de novo assembly, requiring a minimum of three reads to create a stack, and a maximum of 4-bp differences between stacks. A pseudoreference genome was created using a custom Perl script. Over half of the individuals had to have a stack for it to be used in the pseudoreference genome. Reads were aligned to the pseudoreference genome using “aln” and “samse” in the program bwa version 0.7.15-r1142 (Li & Durbin, 2009). We set the maximum edit distance to four, seed to 20, maximum edit distance within the seed to two, and the read trimming parameter to 10. samtools version 1.9 (Li et al., 2009) was used to index, sort and merge alignments. We used the bcftools version 1.3.1 “call” function to call variants and create a VCF file (Li, 2011). We filtered the data to remove low-coverage loci (<2× per individual) and to retain a single nucleotide polymorphism (SNP) per contig. Loci with mean allele frequencies <0.5% and individuals with >70% missing data were not included in subsequent analyses. Pipeline and scripts are available online (Akopyan et al., 2020a).

2.5 ∣. Population genomic analyses

We calculated two measures of relative genetic variability, pi at polymorphic sites (πp), and Wu and Watterson's theta (θw, Watterson, 1975) at polymorphic sites, in r using custom scripts. We defined S as the total number of segregating sites in the global data set, and si as the number of those sites genotyped in the ith individual. To calculate πp, we first calculated heterozygosity at polymorphic sites for each individual; in the ith individual, this is the number of sites at which that individual was called heterozygous divided by si. To calculate πp for a sampling site, we then averaged the heterozygosities of all individuals within that site (Charleswoth & Charlesworth, 2010). Wu and Watterson's theta for a population was calculated as the number of polymorphic sites in that population divided by the product of S and ak, where ak is Watterson's correction factor for the number of individuals in that population (Charleswoth & Charlesworth, 2010; Watterson, 1975). We calculated the number of private alleles in each population in r. We used a Bayesian clustering method implemented in the program entropy (Gompert et al., 2014) to estimate admixture proportions and interpopulation ancestry. We excluded sites 1 and 8–10 from the entropy analysis to limit the data set to putative parental and hybrid groups based on admixture proportions. To assess the possibility of hybridization across sites, we plotted interpopulation ancestry (Q12) against admixture proportion (q) (Gompert & Buerkle, 2016). Interpopulation ancestry, the proportion of an individual's genome where each allele at a locus is from a different putative parental group, separates out F1 hybrids (Q12 near 1), multigenerational hybrids (intermediate Q12) and individuals with late-stage hybrid genomes (Q12 near 0). The laboratory-reared F1 hybrids served as a useful control for what we expect for F1 hybrids. Multigenerational hybrids were expected to show elevated interpopulation ancestry, but below that of F1 hybrids.

We ran Mantel tests in the r package ade4 version 1.7–13 (10,000 replicates) to test for correlations between geographic distance and genetic distance; geographic distance and phenotypic distance; and genetic and phenotypic distance (Chessel et al., 2004). We assumed frogs would avoid crossing bodies of saltwater, so we calculated geographic distances among populations as over-land distances. We calculated pairwise FST between sites in the r package bedassle version 1.5 (Bradburd et al., 2013; Weir & Hill, 2002). We estimated phenotypic distance between sites by calculating the pairwise Euclidean distance of average hue, saturation, brightness and percentage grey for each site. We also tested for relationships between each phenotypic measurement and geographic/genetic distance individually. A QSTFST or PSTFST approach is not justified for this study because we did not measure phenotype in a common garden, and the genetic basis of colour pattern in red-eyed treefrogs is unknown (Pujol et al., 2008).

Because we observed a strong pattern of genetic IBD (see Results), we used the r package construct version 1.0.4 to assess evidence for discrete genetic clusters while accounting for continuous differentiation resulting from geographic distance (Bradburd et al., 2018). The spatial model in construct estimates admixture proportions for each sample while simultaneously accounting for the decay in genetic relatedness with distance within each discrete group. We ran four chains for each spatial and nonspatial model specifying a number of discrete groups (K) between 1 and 6. We selected the chain with the highest mean posterior probability and assessed the biological importance of each added K-value by (i) comparing the contribution of each layer to overall covariance, (ii) cross-validation analysis that compares the predictive accuracy of models using eight replicates and 1000 iterations, and (iii) assessing the biological realism of the model given previous knowledge of the system. To explore genetic clustering in restricted spatial scales, we repeated construct analyses for three subsets of the data: without Site 1 (“Without Nicoya”), northern sites (Sites 1 and 2) and southern sites (Sites 5–12).

To evaluate phenotypic patterns while accounting for genetic relatedness, we fitted three sets of Bayesian linear models implemented in rstan version 2.12.2 (Stan Development Team, 2018): (i) we modelled individual phenotype measurements (hue, saturation, brightness and colour-pattern PC1) each as a function of latitude, (ii) we modelled the average phenotype for each site as a function of latitude, and (iii) we modelled phenotypic variation at a site as a function of latitude and, separately, of θw. All models included a covariance structure that was a function of the sample covariance of allele frequencies between individuals and were run four times, for 2000 iterations each. These models allowed us to detect variation in phenotype above and beyond that explained by covariance at putatively neutral genetic markers.

3. ∣. RESULTS

3.1 ∣. Phenotypic variation

Phenotypic patterns along the Pacific coast matched previous studies: frogs had orange legs and flanks in the northern regions and purple flanks and legs in the south. We confirmed that the three sites in the Central 2 region were polymorphic. The first two principal components in our colour-pattern PCA explained 75.6% of the total variance in measured leg colour-pattern metrics (Figure 2; Figure S4). Sites in the Nicoya, North and Central 1 regions (orange legs) formed one cluster in phenotypic space, and sites in the South (purple legs) formed another. Sites in the Central 2 region were generally intermediate, but closer to the orange cluster. Osa sites were variable: Site 10 clustered with the purple/south sites, Site 8 clustered with the orange/northern sites and Site 9 was intermediate. Colour pattern PCs 2 and 3 are visualized in Figure S5. The first two principal components in the colour-only PCA explained 84.3% of the total variance in the leg coloration metrics. The relative location of sites in the colour-only PCA was similar to the colour-pattern PCA, but there was less overlap between sites (Figure S6). The percentage of the hind leg taken up by the inner grey patch increased from 0% in the Nicoya and North regions to an average of 33.3% in the South region (Figure S7).

FIGURE 2.

FIGURE 2

Principal component analysis of leg phenotype for red-eyed treefrogs (Agalychnis callidryas) sampled from 12 sites along the Pacific coast of Costa Rica. Lines connect individuals (small symbol) with the mean phenotype of each sampling site (large symbol). Individuals and means are colour coded by region

The DFA run with all phenotypic measurements had an overall predictive accuracy of 69.0%. Individuals from the Nicoya region had 100% correct assignment (Table 2). The majority of frogs were correctly assigned to their region of origin, with the exception of orange frogs, which were frequently assigned to phenotypically similar sites in different regions (Table 2). Frogs from polymorphic sites in the Central 2 region had high misclassification probabilities (Table 2). Most (72.7%) purple individuals from the South were assigned to the correct region. Over half of the individuals from the Osa peninsula were assigned to the correct site; misclassified individuals were most often assigned to sites with colour patterns similar to their respective Osa site (e.g., 26% of purple morph frogs from Site 10 were misassigned to Site 11, another purple morph site). Overall predictive accuracy decreased in DFA performed using single phenotypic measurements (hue: 31.0%, saturation: 30.5%, brightness: 23.0%, grey patch percentage: 19.5%; Tables S2-S5).

TABLE 2.

Discriminant function analysis of leg colour pattern for 12 sampling sites of red-eyed treefrogs (Agalychnis callidryas) along the Pacific coast of Costa Rica. Each individual was classified based on its leg colour pattern and assigned to a sampling site

Region of origin
Nicoya
North
Central 1
Central 2
Osa
South
1 2 3 4 5 6 7 8 9 10 11 12
Classification 1 100% 0 0 0 0 0 24% 6% 0 0 0 0
2 0 22% 67% 0 8% 0 6% 6 0 0 0 0
3 0 0 0 0 0 0 0 0 0 0 0 0
4 0 0 0 100% 0 0 6% 0 0 0 0 0
5 0 22% 33% 0 69% 15% 0 0 0 0 0 0
6 0 0 0 0 15% 65% 6% 12% 0 0 0 0
7 0 11% 0 0 8% 15% 41% 18% 0 0 0 0
8 0 33% 0 0 0 0 12% 59% 0 0 0 0
9 0 11% 0 0 0 0 6% 0 95% 0 0 20%
10 0 0 0 0 0 5% 0 0 0 74% 25% 0
11 0 0 0 0 0 0 0 0 0 26% 75% 4%
12 0 0 0 0 0 0 0 0 5% 0 0 76%

3.2 ∣. Genetic variation

After filtering, we retained 71,746 SNPs in 174 individuals. Mean coverage per SNP was 9.3× with a standard deviation of 2.97. Descriptive statistics indicated similarity in genetic diversity among sites, except for Site 1, which had lower genetic diversity (Table 1). Site 1 also had the highest number of private alleles (907, Table 1). The highest genetic diversity was found at Site 7 in the Central 2 region. Pairwise FST values ranged from 0.025 to 0.422, with the highest value between Sites 1 and 3 (Table 3). The genetic PCA revealed genetic clustering corresponding to geographic regions (Figure 3; Figure S8). Combined, the first two principal components explained 12.6% of the variation. The Nicoya, North, Central 1, Osa and laboratory-generated hybrids were genetically distinct, while South and Central 2 regions clustered together. Genetic PCs 2 and 3 are visualized in Figure S9.

TABLE 3.

Pairwise FST (below diagonal) and geographic distance in kilometres (above diagonal) for 12 sampling sites along the Pacific coast of Costa Rica. Lines denote regional boundaries

Nicoya
North
Central 1
Central 2
Osa
South
1 2 3 4 5 6 7 8 9 10 11 12
1 212.2 299.4 323.5 350.6 354.4 359.1 385.4 410.7 412.8 396.7 439.3
2 0.286 89.3 113.2 139.9 143.9 148.5 168.8 193.6 189.1 186.1 215.8
3 0.422 0.163 24.2 51.4 55.2 60.1 80.2 104.9 100.5 97.6 127.2
4 0.419 0.206 0.075 27.2 31.0 35.9 56.1 80.8 76.4 73.4 103.1
5 0.394 0.231 0.099 0.058 4.3 8.8 29.9 54.6 50.2 46.3 76.0
6 0.393 0.250 0.126 0.088 0.069 6.3 28.2 52.9 48.5 42.4 72.3
7 0.382 0.235 0.107 0.070 0.054 0.033 22.1 46.9 42.5 37.9 67.3
8 0.415 0.272 0.168 0.137 0.126 0.115 0.090 25.4 21.4 38.4 66.9
9 0.408 0.270 0.168 0.139 0.129 0.119 0.092 0.036 21.5 60.4 89.5
10 0.412 0.274 0.172 0.143 0.134 0.124 0.097 0.031 0.025 55.0 84.1
11 0.411 0.273 0.156 0.116 0.095 0.075 0.059 0.122 0.127 0.131 32.5
12 0.412 0.279 0.166 0.125 0.104 0.082 0.066 0.130 0.135 0.139 0.039

FIGURE 3.

FIGURE 3

Principal component analysis of genomic SNPs for red-eyed treefrogs (Agalychnis callidryas) sampled from 12 sites along the Pacific coast of Costa Rica. Symbols represent individuals. Both type of symbol and colour represent region. Green plus symbols are laboratory-generated hybrids between Site 2 and Site 12

The comparison of admixture proportion (q) and interpopulation ancestry (Q12) from entropy showed no evidence of recent hybridization when parental populations were assigned as North and South. Laboratory-generated hybrids had intermediate admixture proportions and high interpopulation ancestry scores, as expected. No wild frogs had elevated interpopulation ancestry scores (Figure 4).

FIGURE 4.

FIGURE 4

Scatterplot of admixture proportion (q) and interpopulation ancestry (Q12), the proportion of an individual's genome where one allele is assigned to each parental group, for red-eyed treefrogs (Agalychnis callidryas) sampled from five sites along the Pacific coast of Costa Rica. Symbols represent individuals and are colour coded by region. Only laboratory-generated hybrids (green) show high interpopulation ancestry indicative of hybrid origin

3.3 ∣. Genotypic and phenotypic patterns

Mantel tests revealed a strong positive relationship between geographic and genetic distance (r = .965, p < .001) and weak positive relationships between geographic and phenotypic distance (Mantel test, r = .336, p = .0085) and genetic and phenotypic distance (Mantel test, r = .219, p = .106; Figure 5). Results between composite phenotypic distance and individual phenotypic measurements were consistent, and results for individual phenotypic measurement tests are presented in the Figure S10.

FIGURE 5.

FIGURE 5

Relationship between over-land geographic distance and genetic distance for 12 sites of red-eyed treefrogs (Agalychnis callidryas) along the Pacific coast of Costa Rica. There is a strong positive relationship between geographic and genetic distance, suggesting a pattern of isolation by distance (r = .965, p < .001); the relationships between phenotypic and geographic distance (r = .336, p = .0085) and genetic and phenotypic distance (r = .219, p = .106) were considerably weaker

We used the r package construct to quantify genetic clustering while accounting for geographic distance. We ran construct on four sets of individuals: (i) the full data set, (ii) without the Nicoya Peninsula (Sites 2–12), (iii) northern sites (Sites 1 and 2) and (iv) southern sites (Sites 5–12). Cross-validation analyses showed that spatial models have better predictive accuracy than nonspatial models for all data subsets and K-values (Figure S11).

construct results from the full data set (i) show that nonspatial models inferred more discrete genetic structure compared to spatial models (Figure 6). The nonspatial model at K = 2 shows a separation between the Nicoya Peninsula and other sites, and at K = 3 shows a separation between the Osa Peninsula and other sites. Although each additional layer from K = 1 to 6 increased the predictive accuracy of the model (Figure S11), layer contributions for the spatial model decreased dramatically after K = 1 (Figure S12). The spatial model at K = 3 assigned individuals on the Nicoya and Osa Peninsulas similar admixture proportions. There is no obvious biological explanation for why the populations at these sites would be assigned to the same discrete cluster. It is likely that runs at K ≥ 3 are describing the genetic dissimilarity between frogs on the Nicoya and Osa Peninsulas with the IBD component of the model within a single layer. This may not reflect recent shared ancestry, and instead may be an artefact of the large geographic distance between these locations combined with gaps in our sampling. Therefore, we interpret K = 1 as the model with the most biological significance, and subset the data set to investigate genetic trends within restricted geographic areas.

FIGURE 6.

FIGURE 6

Barplots of admixture proportions for red-eyed treefrogs (Agalychnis callidryas) sampled from 12 sites along the Pacific coast of Costa Rica. Admixture proportions shown were generated using construct for K = 2–4 for both nonspatial and spatial models. Each bar represents an individual. The colour of the bar shows the proportion of the individual's genome that is assigned to each of K layers

We ran construct on a subset of the data that excluded the Nicoya Peninsula (ii). Results show very little assignment to the second layer (Figure 7), and layer contributions are minimal after K = 1 (Figure S12). For genetic clustering with just northern sites (iii), there was a difference in assignment between sites, and layer contributions indicate that the most biological relevant K-value is K = 2 (Figure 7; Figure S12). When considering the southern sites (iv), individuals on the Osa Peninsula and mainland are partially assigned to different layers, but layer contributions indicate that the most biologically relevant K-value is K = 1 (Figure 7; Figure S12). Admixture proportions for additional K-values and nonspatial models are available in Figures S13-S17. Partitioning the data allowed us to investigate discrete processes within restricted geographic ranges that might not be inferred in the full analysis.

FIGURE 7.

FIGURE 7

Barplots of admixture proportions for red-eyed treefrogs (Agalychnis callidryas) sampled from three data subsets: without Nicoya (Sites 2–12), northern sites (Sites 1 and 2) and southern sites (5–12). Admixture proportions shown were generated using construct for K = 2–3 for spatial models. Each bar represents an individual. The colour of the bar shows the proportion of the individual's genome that is assigned to each of K layers

We used Bayesian linear models to evaluate relationships between phenotypic measurements (colour-pattern PC1, hue, saturation and brightness) and latitude while accounting for genetic covariance. Using 95% credible intervals, with a Dunn–Bonferroni correction for multiple tests, we found that individual leg saturation, hue and colour-pattern PC1, but not brightness, vary significantly with latitude while accounting for genetic covariance among sampled individuals (Figure 8). These correlations are not significant when using phenotypic averages for each site. We did not find significant relationships between variation in phenotypic measures and θw, or latitude (Figures S18 and S19).

FIGURE 8.

FIGURE 8

Results of Bayesian models with Dunn–Bonferroni-corrected credible intervals (CI) showing the relationships between (a) latitude and colour-pattern PC1, (b) latitude and average PC1 value per site, and (c) Wu and Watterson's theta and variation in PC1 at each site. Each model contains genetic covariance as a covariate. Bold line indicates that the 95% CI did not overlap with zero. Insets below model fit show estimated parameter values for 5,000 Markov chain Monte Carlo iterations

4 ∣. DISCUSSION

The distribution of colour pattern in natural systems is complex and can reveal underlying evolutionary dynamics when compared to genetic patterns. Red-eyed treefrogs display dramatic variation in colour pattern, yet the two primary morphs found on the Pacific coast of Costa Rica are not restricted to distinct genetic demes (Hypotheses 1B and 3B). Rather, we identified a transition from orange to purple legs and polymorphic sites that contain orange, purple and novel morphs (Hypothesis 2B) that cannot be explained by recent hybridization between discrete ancestral genetic groups (Hypothesis 4B). Our analyses of the complex relationship between genetic and colour-pattern variation along a narrow stretch (~215 km) of the Pacific coast of Costa Rica suggest that selective forces plus patterns of IBD influence colour-pattern distribution in the region.

4.1 ∣. Polytypic patterns: Pattern of IBD found across polytypic regions

We found that red-eyed treefrogs at some sites had relatively uniform leg colour-pattern, such as orange frogs on the Nicoya Peninsula and purple frogs in the South region, whereas other sites, such as those in the C2 region, were variable (Table 2). Across the Pacific coast, most of the genetic variation among red-eyed treefrog populations is explained by over-land distance among sites; orange and purple morphs do not represent separate genetic demes (Figures 5 and 6). Red-eyed treefrogs are probably semicontinuously distributed, yet, as with most population genetic studies, we sampled at discrete sampling locations; this risks over-estimating the number of discrete genetic groups inferred using clustering models (Bradburd et al., 2018; Frantz et al., 2009; Meirmans, 2012). Therefore, we used construct to compare models of population structure with and without spatial information (Bradburd et al., 2018). The nonspatial construct models infer more genetic clustering than the spatial models, indicating that clustering in nonspatial models is due to the geographic distance between sites (Figure 6). Our results highlight the importance of considering patterns of IBD as they relate to genetic relatedness among discrete sampling sites: we would have both over-estimated the number of genetic demes and come to strikingly different conclusions about how diversity is distributed had we relied solely on nonspatial clustering models.

Spatial construct models show a division between the mainland and the two peninsular regions (Nicoya and Osa), but we assert that K = 1 best describes the data because there is no a priori reason to expect that sites on the Nicoya and Osa Peninsulas exchange migrants or share a more recent common ancestor with each other than with neighbouring mainland sites. In fact, pairwise FST values between the Nicoya site and Osa sites are among the highest found in the data set (Table 3 , 0.408–0.415). Furthermore, the nonspatial model did not support shared ancestry between Nicoya and Osa.

On both the Nicoya and Osa Peninsulas, we expected red-eyed treefrogs to be isolated from neighbouring sites on the mainland: Site 1 at the tip of the Nicoya Peninsula is one of the only known populations of red-eyed treefrogs in the region, as dry forest unsuitable for red-eyed treefrogs covers most of far northwestern Costa Rica, including the Nicoya Peninsula (Kohlmann et al., 2002; Savage, 2002). The Osa Peninsula (Sites 8–10) is genetically isolated from mainland sites for many other taxa, including snakes and other frogs (Crawford, 2003; Crawford et al., 2007; Zamudio & Greene, 1997), and we thought this might also be true for red-eyed treefrogs.

Using the full data set, we did not detect more genetic divergence between mainland and peninsular sites than would be expected given their geographic distance and the rate at which genetic divergence accrues at smaller spatial scales. However, when we restricted analyses to peninsular and nearby mainland sites, we see divergence between the Nicoya Peninsula and mainland, but not between the mainland and the Osa Peninsula (Figure 7; Figure S12). This suggests that the total divergence between red-eyed treefrogs on the Nicoya Peninsula and mainland is explained by both IBD and barriers to gene flow. As dry forest on the Nicoya Peninsula probably acts as a barrier to gene flow, it is possible that populations along the coast (e.g., Gonzalez, 2013) provide a path for gene flow between the peninsula and mainland. Other studies that have found divergence between the Osa Peninsula and mainland populations have not explicitly incorporated IBD into their analyses, which may explain the discrepancies between our conclusions.

4.2 ∣. Polymorphic patterns: Hybridization does not underlie colour pattern polymorphism

We tested whether colour-pattern polymorphism at a particular site arose through recent hybridization of divergent parent populations, the retention of ancestral polymorphism, and/or ancient secondary contact. We did not find evidence of discrete parental groups, nor recent hybridization in the Central 2 region, despite the colour-pattern polymorphism in this region (Table 2; Figure 2). Rather, our findings support that either colour-pattern polymorphism was retained from an ancestral population, there has been ancient secondary contact with extended gene flow spreading alleles through the system, and/or that novel morphs have been generated by new mutations. Laboratory-bred hybrids provided examples of admixed ancestry (F1 stage) and were the result of crossing orange (Site 2) and purple (Site 12) morph parents from geographically distant locations. Thus, these parents were more genetically differentiated than the wild-caught orange and purple morph individuals living in the transition zone. Orange and purple frogs to the north, south and within the transition zone were assigned to similar genetic groups in both our spatial and nonspatial construct analyses, eliminating the possibility of genetic hybrids. Strong signals of IBD (Figure 5) suggest that gene flow among sites is uninhibited by geographic barriers or other forms of premating reproductive isolation.

While the distribution of colour-pattern variation on the Pacific slope of Costa Rica seemingly mirrors patterns on the Caribbean slope, the underlying processes differ. Red-eyed treefrogs on both the Pacific and Caribbean slopes exhibit colour-pattern polymorphism located within a “transition zone” between two distinct morphs. However, polymorphism in the Caribbean is the result of hybridization between two distinct genetic groups of different colour morphs (Akopyan et al., 2020b). There, red and blue morph frogs meet in a contact zone and produce frogs with either a novel purple colour pattern or a red/blue phenotype distinct from either parental population. Our contrasting findings for the Pacific slope emphasize that diverse evolutionary forces can produce similar patterns of phenotypic variation even within intraspecific lineages. Whereas there is direct evidence that polymorphism on the Caribbean coast is the result of hybridization, the lack of recent hybridization along the Pacific slope suggests that variation in leg phenotype could have arisen due to the retention of ancestral colour-pattern polymorphism in the region (as in Corl et al., 2010), or ancient secondary contact (as in Lim et al., 2010). Additionally, polymorphism could be generated by novel mutations (as in Rosenblum et al., 2004, 2010).

4.3 ∣. Spatial patterns of phenotype and genotype explained by multiple processes

Patterns of phenotypic and genetic variation permit us to test hypotheses about the evolutionary forces that influence lineage divergence. We found that genetic relatedness predicts phenotypic similarity in some regions of the Pacific coast, but not in others.

Evolution via drift is a common pattern for insular populations (e.g., Knopp et al., 2007; Lehtonen et al., 2009). In our study system, frogs on the Nicoya Peninsula had the highest pairwise FST values to sampled populations at other locations (Table 3), the lowest nucleotide diversity and highest number of private alleles (Table 1). Individuals from the Nicoya Peninsula have a bright orange phenotype that is distinct from mainland orange frogs (Table 2). Although we cannot rule out local adaptation driving both phenotypic and genetic divergence, red-eyed treefrogs on the Nicoya Peninsula are isolated from the mainland by both geographic distance and tropical dry forests (see above), suggesting that genetic and phenotypic differentiation in this region could have resulted from genetic drift.

In other instances along the Pacific coast, we found that phenotypic similarity is not well predicted by neutral genetic relatedness at our genotyped loci, supporting the hypothesis that colour pattern evolves through selection in this region (see below for a discussion of selection). Orange and purple morph frogs along the mainland coast and in the polymorphic Central 2 region were not part of separate genetic demes, and instead conformed well to the coast-wide pattern of genetic IBD (Figures 6 and 7), despite different phenotypes (Table 2; Figure 2). We found additional incongruent patterns of variation on the Osa Peninsula, where the three sampled sites are genetically similar (Figures 3, 6 and 7), but phenotypically distinct from one another (Table 2). These incongruences between genetic patterns and phenotype suggest that phenotypic differences are maintained by selection in the presence of gene flow. Whether colour-pattern differentiation in these regions was generated by novel mutations, ancestral polymorphisms and/or the result of genetic drift in these relativity isolated and small populations remains untested. Phenotypic divergence, despite genetic homogeneity, is a common pattern in nature, and usually has been attributed to sexual selection or adaptation to environmental variation. Some examples include Epipedobates poison frogs in Peru and Colombia (Tarvin et al., 2017), mimic poison frogs in Peru (Twomey et al., 2013), and redpoll finches in the Arctic circle (Mason & Taylor, 2015). The phenotypic variation on the Osa Peninsula is particularly surprising given the small geographic scale (distance among sites ranges from 20 to 33 km).

As reported above, the transition in phenotype from orange legs to purple legs is not the result of recent hybridization between two genetic demes meeting at a contact zone. It is possible that it was facilitated by ancient secondary contact between ancestral demes, one with orange flanks and legs and the other with purple flanks and legs, and that colour polymorphism is the result of continued gene flow (Endler, 1977). Frogs from the southern sites (7–12) and the Osa Peninsula are part of a different mtDNA clade (clade A; Table 1) from the north (clade B; Table Table 1; Robertson & Zamudio, 2009). This biogeographic discordance between mtDNA and nuclear loci suggests past secondary contact (as in Toews & Brelsford, 2012). Along the mainland Pacific slope, frogs belong to the same genetic cluster, but have different mitochondrial haplotypes and distinct colour patterns. This suggests that ancestral mitochondrial groups and colour-pattern divergence have been maintained over time, whereas nuclear structure has been lost as a result of gene flow. However, it is also possible that the geographic structure of mtDNA haplotypes is the result of IBD alone (Irwin, 2002). Differentiating between these scenarios would require additional genomic data from these regions. These results highlight the complexity and nuance of this natural system, where multiple processes potentially shape diversity at a fine spatial scale, including genetic drift, selection and ancient evolutionary history.

Because there is spatial autocorrelation in colour pattern along the Pacific coast, it is difficult to decouple phenotypic changes from patterns of IBD to explore possible drivers of colour-pattern variation. We therefore used Bayesian linear models to test whether colour-pattern phenotype differences are greater than expected given genetic relatedness, and whether those differences are correlated with latitude or genetic diversity. Specifically, we were interested in whether ecological changes correlated with latitude might play a role in colour-pattern variation in red-eyed treefrogs, and whether sites with more genetic variation might have more phenotypic variation. We found a significant effect of latitude on phenotype for colour-pattern PC1 and leg saturation and hue, but not for brightness measures (Figure 8; Figures S18 and S19). The relationship between phenotype and latitude disappeared at the site level, possibly due to reduced sample size. Future work could investigate the relationship between phenotype and latitude to explore the potential for localized ecological selection on colour pattern.

4.4 ∣. Role and mechanisms of selection

A complex set of selective pressures probably underlies the genetic and phenotypic patterns observed between and within red-eyed treefrog populations. Although hidden during the day when the frogs are at rest, the flanks and legs of red-eyed treefrogs are visible during activity at night, including during mating aggregations (Pyburn, 1970). Colour pattern serves as a species and population-recognition cue in mate choice (Kaiser et al., 2018; Robertson & Greene, 2017). Mate preference for local colour pattern has been demonstrated in this species: females from Site 2 (orange) and Site 12 (purple) have a preference for males with their local colour pattern in mate-choice trials, suggesting a role for sexual selection on visual signals (Akopyan et al., 2018; Jacobs et al., 2016). Frogs from these sites also have distinguishable male calls and exhibit differences in female courtship behaviours (Akopyan et al., 2018), suggesting that preference for male traits could maintain local colour-pattern differences even in the face of gene flow.

Other forms of selection could also shape geographic variation in colour pattern. Red-eyed treefrogs secrete noxious host-defence polypeptides from their skin (Conlon et al., 2007; Davis et al., 2016; Mignogna et al., 1997; Sazima, 1974), presenting the possibility that flank- and leg-colour patterns act as aposematic signals to visual predators (Robertson & Greene, 2017). Geographic variation in host-defence polypeptides is correlated with colour pattern in red-eyed treefrogs, indicating a role for ecological selection (Clark, 2019; Davis et al., 2016). Aposematic coloration is common among other brightly coloured anurans (e.g., many species within Dendrobatidae and Mantellidae), and has been shown to vary among and within populations (Klonoski et al., 2019; Maan & Cummings, 2008; Rojas et al., 2014; Roland et al., 2017; Summers & Clough, 2001; Tarvin et al., 2017). Variation in the colour pattern of aposematic species is often attributed to the interplay between ecological and sexual selection (Maan & Cummings, 2008; Nokelainen et al., 2012; Rojas & Endler, 2013). Future studies of red-eyed treefrogs that test the role of colour pattern in predator avoidance would inform how ecological and sexual selective pressures interact to shape colour-pattern distribution.

5 ∣. CONCLUSIONS

Our results highlight the complex evolutionary dynamics that shape colour pattern in natural systems. We found that, despite a dramatic and discrete phenotypic change from orange to purple morphs, genetic variation in our study region follows a continuous pattern of IBD. Phenotypic polymorphism at sites located where the orange morph transitions to purple cannot be explained by recent hybridization as the orange and purple morphs are not genetically differentiated groups. Comparison of colour pattern and genetic relatedness indicates that selective forces have probably maintained colour-pattern divergence in some regions, while genetic drift may play a role in others. Understanding the relative strength of sexual and ecological selection on colour pattern is a logical next step for this system.

Supplementary Material

SupplementaryInformation

ACKNOWLEDGEMENTS

We thank K. Kaiser and R. E. Espinoza for insightful discussion of the red-eyed treefrog system, R. H. Toczydlowski for guidance with private allele calculation, and Sirena Biological Station and the Firestone Center for Restoration Ecology for access to their properties for sampling. This work was supported by the Department of Biology and Research and Sponsored Projects at California State University, Northridge (CSUN), the CSUN Associated Students Scholarship in Honor of Jolene Koester, and a CSUN tuition waiver (awarded to M.I.C.). The research reported in this publication was supported by the National Institute of General Medical Sciences of the National Institutes of Health under Award No. R35GM137919 (awarded to G.S.B.). This study was conducted in accordance with the current laws of Costa Rica and with approval of the Sistema Nacional de Areas de Conservacion of the Ministerio de Ambiente y Energia of Costa Rica (research and export permits R-053-2015 and 2015-CR1678). All procedures involving animals were approved by the California State University, Northridge Institutional Animal Care and Use Committee (IACUC 1819-005 and 1415-007a). We thank two anonymous reviewers and the editorial team for their constructive feedback that greatly improved this manuscript.

Footnotes

CONFLICT OF INTEREST

The authors have no conflicts of interest.

SUPPORTING INFORMATION

Additional supporting information may be found in the online version of the article at the publisher’s website.

DATA AVAILABILITY STATEMENT

Raw data, input files, and analysis scripts are available on figshare at https://doi.org/10.6084/m9.figshare.14622744.v2. Bioinformatic scripts are available at https://doi.org/10.6084/m9.figshare.11923017.v2.

REFERENCES

  1. Abràmoff MD, Magalhães PJ, & Ram SJ (2004). Image processing with ImageJ. Biophotonics International, 11(7), 36–42. [Google Scholar]
  2. Akopyan M, Gompert Z, Klonoski K, Vega A, Kaiser K, Mackelprang R, Rosenblum EB & Robertson JM (2020a). Genetic and phenotypic evidence of a contact zone between divergent color morphs of the iconic red-eyed treefrog. [figshare]. Retrieved from: 10.6084/m9.figshare.11923017.v2 [DOI] [PubMed]
  3. Akopyan M, Gompert Z, Klonoski K, Vega A, Kaiser K, Mackelprang R, Rosenblum EB, & Robertson JM (2020b). Genetic and phenotypic evidence of a contact zone between divergent colour morphs of the iconic red-eyed treefrog. Molecular Ecology, 29(22), 4442–4456. 10.1111/mec.15639 [DOI] [PubMed] [Google Scholar]
  4. Akopyan M, Kaiser K, Vega A, Savant NG, Owen CY, Dudgeon R, & Robertson JM (2018). Melodic males and flashy females: Geographic variation in male and female reproductive behavior in red-eyed treefrogs (Agalychnis callidryas). Ethology, 124(1), 54–64. 10.1111/eth.12705 [DOI] [Google Scholar]
  5. Ali OA, O’Rourke SM, Amish SJ, Meek MH, Luikart G, Jeffres C, & Miller MR (2016). RAD capture (rapture): Flexible and efficient sequence-based genotyping. Genetics, 202(2), 389–400. 10.1534/genetics.115.183665 [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Anderson E, & Stebbins GL (1954). Hybridization as an evolutionary stimulus. Evolution, 8(4), 378. 10.2307/2405784 [DOI] [Google Scholar]
  7. Bradburd GS, Coop GM, & Ralph PL (2018). Inferring continuous and discrete population genetic structure across space. Genetics, 210(1), 33–52. 10.1534/genetics.118.301333 [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Bradburd GS, Ralph PL, & Coop GM (2013). Disentangling the effects of geographic and ecological isolation on genetic differentiation. Evolution, 67(11), 3258–3273. 10.1111/evo.12193 [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Campbell J (1999). Distribution patterns of amphibians in Middle America. In Duellman W (Ed.), Patterns of Distribution of Amphibians. The John Hopkins University Press. [Google Scholar]
  10. Catchen J, Hohenlohe PA, Bassham S, Amores A, & Cresko WA (2013). Stacks: An analysis tool set for population genomics. Molecular Ecology, 22(11), 3124–3140. 10.1111/mec.12354 [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Charlesworth B, & Charlesworth D (2010). Elements of evolutionary genetics. Roberts and Company. [Google Scholar]
  12. Chessel D, Dufour AB, & Thioulouse J (2004). The ade4 package-1: One-table methods. R News, 4(1), 5–10. [Google Scholar]
  13. Clark MI (2019). Evolution of color diversity in red-eyed treefrogs (Agalychnis callidryas). California State University. [Google Scholar]
  14. Conlon JM, Woodhams DC, Raza H, Coquet L, Leprince J, Jouenne T, Vaudry H, & Rollins-Smith LA (2007). Peptides with differential cytolytic activity from skin secretions of the lemur leaf frog Hylomantis lemur (Hylidae: Phyllomedusinae). Toxicon, 50(4), 498–506. 10.1016/j.toxicon.2007.04.017 [DOI] [PubMed] [Google Scholar]
  15. Corl A, Davis AR, Kuchta SR, & Sinervo B (2010). Selective loss of polymorphic mating types is associated with rapid phenotypic evolution during morphic speciation. Proceedings of the National Academy of Sciences, 107(9), 4254–4259. 10.1073/pnas.0909480107 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Cott HB (1940). Adaptive coloration in animals. Metheun and Co. Ltd. [Google Scholar]
  17. Crawford AJ (2003). Huge populations and old species of Costa Rican and Panamanian dirt frogs inferred from mitochondrial and nuclear gene sequences. Molecular Ecology, 12(10), 2525–2540. 10.1046/j.l365-294X.2003.01910.x [DOI] [PubMed] [Google Scholar]
  18. Crawford AJ, Bermingham E, & Polania C (2007). The role of tropical dry forest as a long-term barrier to dispersal: A comparative phylogeographical analysis of dry forest tolerant and intolerant frogs. Molecular Ecology, 16(22), 4789–4807. 10.1111/j.1365-294X.2007.03524.x [DOI] [PubMed] [Google Scholar]
  19. Cummings ME, & Crothers LR (2013). Interacting selection diversifies warning signals in a polytypic frog: An examination with the strawberry poison frog. Evolutionary Ecology, 27(4), 693–710. 10.1007/s10682-013-9648-9 [DOI] [Google Scholar]
  20. Davis LR, Klonoski K, Rutschow HL, Van Wijk KJ, Sun Q, Haribal MM, Saporito RA, Vega A, Rosenblum EB, Zamudio KR, & Robertson JM (2016). Host defense skin peptides vary with color pattern in the highly polymorphic red-eyed treefrog. Frontiers in Ecology and Evolution, 4, 97–112. 10.3389/fevo.2016.00097 [DOI] [Google Scholar]
  21. Duftner N, Sefc KM, Koblmüller S, Nevado B, Verheyen E, Phiri H, & Sturmbauer C (2006). Distinct population structure in a phenotypically homogeneous rock-dwelling cichlid fish from Lake Tanganyika. Molecular Ecology, 15(9), 2381–2395. 10.1111/j.1365-294X.2006.02949.x [DOI] [PubMed] [Google Scholar]
  22. Endler JA (1973). Gene flow and population differentiation. Science, 179(4070), 243–250. 10.1126/science.179.4070.243 [DOI] [PubMed] [Google Scholar]
  23. Endler JA (1977). Geographic variation, speciation, and dines. Princeton University Press. [Google Scholar]
  24. Etter PD, Preston JL, Bassham S, Cresko WA, & Johnson EA (2011). Local de novo assembly of RAD paired-end contigs using short sequencing reads. PLoS One, 6(4), 10.1371/journal.pone.0018561 [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Frantz AC, Cellina S, Krier A, Schley L, & Burke T (2009). Using spatial Bayesian methods to determine the genetic structure of a continuously distributed population: Clusters or isolation by distance? Journal of Applied Ecology, 46(2), 493–505. 10.1111/j.1365-2664.2008.01606.x [DOI] [Google Scholar]
  26. Gompert Z, & Buerkle CA (2016). What, if anything, are hybrids: Enduring truths and challenges associated with population structure and gene flow. Evolutionary Applications, 9(7), 909–923. 10.1111/eva.12380 [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Gompert Z, Lucas LK, Buerkle CA, Forister ML, Fordyce JA, & Nice CC (2014). Admixture and the organization of genetic diversity in a butterfly species complex revealed through common and rare genetic variants. Molecular Ecology, 23(18), 4555–4573. 10.1111/mec.12811 [DOI] [PubMed] [Google Scholar]
  28. Gonzalez K (2013). Agalychnis callidryas, Range extension. Herpetological Bulletin, 125, 25–33. [Google Scholar]
  29. Hoekstra HE, Drumm KE, & Nachman MW (2004). Ecological genetics of adaptive color polymorphism in pocket mice: Geographic variation in selected and neutral genes. Evolution, 58(6), 1329–1341. 10.1111/j.0014-3820.2004.tb01711.x [DOI] [PubMed] [Google Scholar]
  30. Irwin DE (2002). Phylogeographic breaks without geographic barriers to gene flow. Evolution, 56(12), 2383–2394. 10.1111/j.0014-3820.2002.tb00164.x [DOI] [PubMed] [Google Scholar]
  31. Jacobs LE, Vega A, Dudgeon S, Kaiser K, & Robertson JM (2016). Local not vocal: assortative female choice in divergent populations of red-eyed treefrogs, Agalychnis callidryas (Hylidae: Phyllomedusinae). Biological Journal of the Linnean Society, 120(1), 171–178. 10.1111/bij.12861 [DOI] [Google Scholar]
  32. Kaiser K, Boehlke C, Navarro-Pérez E, Vega A, Dudgeon S, & Robertson JM (2018). Local preference encoded by complex signaling: Mechanisms of mate preference in the red-eyed treefrog (Agalychnis callidryas). Behavioral Ecology and Sociobiology, 72(12), 182. 10.1007/s00265-018-2597-0 [DOI] [Google Scholar]
  33. Klonoski K, Bi K, & Rosenblum EB (2019). Phenotypic and genetic diversity in aposematic Malagasy poison frogs (genus Mantella). Ecology and Evolution, 9(5), 2725–2742. 10.1002/ece3.4943 [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Knopp T, Cano JM, Crochet PA, & Merila J (2007). Contrasting levels of variation in neutral and quantitative genetic loci on island populations of moor frogs (Rana arvalis). Conservation Genetics, 8(1), 45–56. 10.1007/s10592-006-9147-4 [DOI] [Google Scholar]
  35. Kohlmann B, Wilkinson J, & Lulla K (2002). Costa Rica desde el espacio/Costa Rica from Space. 1st ed. Fundacíon Neotrópica. [Google Scholar]
  36. Lehtonen PK, Laaksonen T, Artemyev AV, Belskii E, Both C, Bureš S, Bushuev AV, Krams I, Moreno J, Mägi M, Nord A, Potti J, Ravussin PA, Sirkiä PM, Sætre GP, & Primmer CR (2009). Geographic patterns of genetic differentiation and plumage colour variation are different in the pied flycatcher (Ficedula hypoleuca). Molecular Ecology, 18(21), 4463–4476. 10.1111/j.1365-294X.2009.04364.x [DOI] [PubMed] [Google Scholar]
  37. Li H (2011). A statistical framework for SNP calling, mutation discovery, association mapping and population genetical parameter estimation from sequencing data. Bioinformatics, 27(21), 2987–2993. 10.1093/bioinformatics/btr509 [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Li H, & Durbin R (2009). Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics, 25(14), 1754–1760. 10.1093/bioinformatics/btp324 [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, & Durbin R (2009). The Sequence Alignment/Map format and SAMtools. Bioinformatics, 25(16), 2078–2079. 10.1093/bioinformatics/btp352 [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Lim HC, Sheldon FH, & Moyle RG (2010). Extensive colour polymorphism in the southeast Asian oriental dwarf kingfisher Ceyx erithaca: A result of gene flow during population divergence? Journal of Avian Biology, 41(3), 305–318. 10.1111/j.1600-048X.2009.04913.x [DOI] [Google Scholar]
  41. Lowry DB, Sheng CC, Lasky JR, & Willis JH (2012). Five anthocyanin polymorphisms are associated with an R2R3-MYB cluster in Mimulus guttatus (Phrymaceae). American Journal of Botany, 99(1), 82–91. 10.3732/ajb.1100285 [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Maan ME,& Cummings ME(2008). Female preferences for aposematic signal components in a polymorphic poison frog. Evolution, 62(9), 2334–2345. 10.1111/j.1558-5646.2008.00454.x [DOI] [PubMed] [Google Scholar]
  43. Maan ME, Eshuis B, Haesler MP, Schneider MV, Van Alphen JJM, & Seehausen O (2008). Color polymorphism and predation in a Lake Victoria cichlid fish. Copeia, 2008(3), 621–629. 10.1643/CE-07-114 [DOI] [Google Scholar]
  44. Mason NA, & Taylor SA (2015). Differentially expressed genes match bill morphology and plumage despite largely undifferentiated genomes in a Holarctic songbird. Molecular Ecology, 24(12), 3009–3025. 10.1111/mec.13140 [DOI] [PubMed] [Google Scholar]
  45. Mayr E (1963). Animal species and evolution. Harvard University Press. [Google Scholar]
  46. Meirmans PG (2012). The trouble with isolation by distance. Molecular Ecology, 21(12),2839–2846. 10.1111/j.1365-294X.2012.05578.x [DOI] [PubMed] [Google Scholar]
  47. Mignogna G, Severini C, Erspamer GF, Siciliano R, Kreil G, & Barra D (1997). Tachykinins and other biologically active peptides from the skin of the Costa Rican phyllomedusid frog Agalychnis callidryas. Peptides, 18, 367–374. 10.1016/S0196-9781(96)00342-7 [DOI] [PubMed] [Google Scholar]
  48. Mitchell-Olds T, Willis JH, & Goldstein DB (2007). Which evolutionary processes influence natural genetic variation for phenotypic traits? Nature Reviews Genetics, 8(11), 845–856. 10.1038/nrg2207 [DOI] [PubMed] [Google Scholar]
  49. Nachman MW, Hoekstra HE, & D’Agostino SL (2003). The genetic basis of adaptive melanism in pocket mice. Proceedings of the National Academy of Sciences of the USA, 100(9), 5268–5273. 10.1073/pnas.0431157100 [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Nokelainen O, Hegna RH, Reudler JH, Lindstedt C, & Mappes J(2012). Trade-off between warning signal efficacy and mating success in the wood tiger moth. Proceedings of the Royal Society B: Biological Sciences, 279(1727), 257–265. 10.1098/rspb.2011.0880 [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Orteu A, & Jiggins CD (2020). The genomics of coloration provides insights into adaptive evolution. Nature Reviews Genetics, 21(8), 461–475. 10.1038/s41576-020-0234-z [DOI] [PubMed] [Google Scholar]
  52. Pfeifer SP, Laurent S, Sousa VC, Linnen CR, Foll M, Excoffier L, Hoekstra HE, & Jensen JD (2018). The evolutionary history of Nebraska deer mice: Local adaptation in the face of strong gene flow. Molecular Biology and Evolution, 35(4), 792–806. 10.1093/molbev/msy004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Planes S, & Doherty PJ (1997). Genetic and color interactions at a contact zone of Acanthochromis polyacanthus: A marine fish lacking pelagic larvae. Evolution, 51(4), 1232. 10.2307/2411052 [DOI] [PubMed] [Google Scholar]
  54. Pujol B, Wilson AJ, Ross RIC, & Pannell JR (2008). Are QST-FST comparisons for natural populations meaningful? Molecular Ecology, 17(22),4782–4785. 10.1111/j.1365-294X.2008.03958.x [DOI] [PubMed] [Google Scholar]
  55. Pyburn WF (1970). Breeding behavior of the leaf-frogs Phyllomedusa callidryas and Phyllomedusa dacnicolor in Mexico. Copeia, 209–218. 10.2307/1441643 [DOI] [Google Scholar]
  56. Robertson JM, Duryea MC, & Zamudio KR (2009). Discordant patterns of evolutionary differentiation in two Neotropical treefrogs. Molecular Ecology, 18(7), 1375–1395. 10.1111/j.1365-294X.2009.04126.x [DOI] [PubMed] [Google Scholar]
  57. Robertson JM, & Greene HW (2017). Bright colour patterns as social signals in nocturnal frogs. Biological Journal of the Linnean Society, 121(4), 849–857. 10.1093/jxb/eru5081.5 [DOI] [Google Scholar]
  58. Robertson JM, & Robertson AD (2008). Spatial and temporal patterns of phenotypic variation in a Neotropical frog. Journal of Biogeography, 35(5), 830–843. 10.1111/j.1365-2699.2007.01824.x [DOI] [Google Scholar]
  59. Robertson JM, & Vega A (2011). Genetic and phenotypic variation in a colourful treefrog across five geographic barriers. Journal of Biogeography, 38(11), 2122–2135. 10.1111/j.1365-2699.2011.02548.x [DOI] [Google Scholar]
  60. Robertson JM, & Zamudio KR (2009). Genetic diversification, vicariance, and selection in a polytypic frog. Journal of Heredity, 100(6), 715–731. 10.1093/jhered/esp041 [DOI] [PubMed] [Google Scholar]
  61. Rojas B (2016). Behavioural, ecological, and evolutionary aspects of diversity in frog colour patterns. Biological Reviews, 92(2), 1059–1080. 10.1111/brv.12269 [DOI] [PubMed] [Google Scholar]
  62. Rojas B, Devillechabrolle J, & Endler JA (2014). Paradox lost: Variable colour-pattern geometry is associated with differences in movement in aposematic frogs. Biology Letters, 10(6), 20140193. 10.1098/rsbl.2014.0193 [DOI] [Google Scholar]
  63. Rojas B, & Endler JA (2013). Sexual dimorphism and intra-populational colour pattern variation in the aposematic frog Dendrobates tinctorius. Evolutionary Ecology, 27(4), 739–753. 10.1007/s10682-013-9640-4 [DOI] [Google Scholar]
  64. Roland AB, Santos JC, Carriker BC, Caty SN, Tapia EE, Coloma LA, & O’Connell LA (2017). Radiation of the polymorphic Little Devil poison frog (Oophaga sylvatica) in Ecuador. Ecology and Evolution, 7(22), 9750–9762. 10.1002/ece3.3503 [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Rosenblum EB, Hoekstra HE,& Nachman MW(2004). Adaptive reptile colour variation and the evolution of the MC1R gene. Evolution, 58(8),1794–1808. 10.1111/j.0014-3820.2004.tb00462.x [DOI] [PubMed] [Google Scholar]
  66. Rosenblum EB, Rompler H, Schoneberg T, & Hoekstra HE (2010). Molecular and functional basis of phenotypic convergence in white lizards at White Sands. Proceedings of the National Academy of Sciences of the USA, 107(5), 2113–2117. 10.1073/pnas.0911042107 [DOI] [PMC free article] [PubMed] [Google Scholar]
  67. Savage JM (2002). The amphibians and reptiles of Costa Rica: A herptofauna between two continents, between two seas, Vol. 1. The University of Chicago Press. [Google Scholar]
  68. Savage JM, & Heyer WR (1967). Variation and distribution in the tree-frog genus Phyllomedusa in Costa Rica, central America. Beitrage Zur Neotropischen Fauna, 5(2), 111–131. 10.1080/01650526709360400 [DOI] [Google Scholar]
  69. Sazima I (1974). Experimental predation on the leaf-frog Phyllomedusa rohdei by the water snake Liophis miliaris. Society for the Study of Amphibians and Reptiles, 8(4), 376–377. 10.2307/1562910 [DOI] [Google Scholar]
  70. Schliwa M, & Euteneuer U (1983). Comparative ultrastructure and physiology of chromatophores, with emphasis on changes associated with intracellular-transport. American Zoologist, 23(3), 479–494. 10.1093/icb/23.3.479 [DOI] [Google Scholar]
  71. Selz OM, Thommen R, Pierotti MER, Anaya-Rojas JM, & Seehausen O (2016). Differences in male coloration are predicted by divergent sexual selection between populations of a cichlid fish. Proceedings of the Royal Society Biological Sciences, 283(1830), 20160172. 10.1098/rspb.2016.0172 [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Slatkin M (1985). Gene flow in natural populations. Annual Review of Ecology and Systematics, 16(May), 393–430. 10.1146/annurev.es.16.110185.002141 [DOI] [Google Scholar]
  73. Stevens M, & Merilaita S Animal camouflage: current issues and new perspectives. Philosophical Transactions of the Royal Society B: Biological Sciences, 364(1516), 423–427. 10.1098/rstb.2008.0217 [DOI] [PMC free article] [PubMed] [Google Scholar]
  74. Streisfeld MA, & Kohn JR (2005). Contrasting patterns of floral and molecular variation across a cline in Mimulus aurantiacus. Evolution, 59(12), 2548. 10.1554/05-514.1 [DOI] [PubMed] [Google Scholar]
  75. Summers K, & Clough ME (2001). The evolution of coloration and toxicity in the poison frog family (Dendrobatidae). Proceedings of the National Academy of Sciences USA, 98(11), 6227–6232. 10.1073/pnas.101134898 [DOI] [PMC free article] [PubMed] [Google Scholar]
  76. Supple MA, Papa R, Hines HM, McMillan WO, & Counterman BA (2015). Divergence with gene flow across a speciation continuum of Heliconius butterflies. BMC Evolutionary Biology, 15, 10.1186/s12862-015-0486-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. Svensson EI (2017). Back to basics: using colour polymorphisms to study evolutionary processes. Molecular Ecology, 26(8), 2204–2211. 10.1111/mec.14025 [DOI] [PubMed] [Google Scholar]
  78. Tarvin RD, Powell EA, Santos JC, Ron SR, & Cannatella DC (2017). The birth of aposematism: High phenotypic divergence and low genetic diversity in a young clade of poison frogs. Molecular Phylogenetics and Evolution, 109, 283–295. 10.1016/j.ympev.2016.12.035 [DOI] [PubMed] [Google Scholar]
  79. Toews DPL, & Brelsford A (2012). The biogeography of mitochondrial and nuclear discordance in animals. Molecular Ecology, 21(16), 3907–3930. 10.1111/j.1365-294X.2012.05664.x [DOI] [PubMed] [Google Scholar]
  80. Twomey E, Mayer M, & Summers K (2015). Intraspecific call variation in the mimic poison frog Ranitomeya imitator. Herpetologica, 71(4), 252–259. 10.1655/HERPETOLOGICA-D-15-00004 [DOI] [Google Scholar]
  81. Twomey E, Yeager J, Brown JL, Morales V, Cummings M, & Summers K (2013). Phenotypic and genetic divergence among poison frog populations in a mimetic radiation. PLoS One, 8(2), e55443. 10.1371/journal.pone.0055443 [DOI] [PMC free article] [PubMed] [Google Scholar]
  82. Wang IJ, & Summers K (2010). Genetic structure is correlated with phenotypic divergence rather than geographic isolation in the highly polymorphic strawberry poison-dart frog. Molecular Ecology, 19(3), 447–458. 10.1111/j.1365-294X.2009.04465.x [DOI] [PubMed] [Google Scholar]
  83. Watterson GA (1975). On the number of segregating sites in genetical models without recombination. Theoretical Population Biology, 7(2), 256–276. 10.1039/b316709g [DOI] [PubMed] [Google Scholar]
  84. Weir BS, & Hill WG (2002). Estimating F-statistics. Annual Review of Genetics, 36(1),721–750. 10.1146/annurev.genet.36.050802.093940 [DOI] [PubMed] [Google Scholar]
  85. Zamudio KR, & Greene HW (1997). Phylogeography of the bush-master (Lachesis muta: Viperidae): Implications for neotropical biogeography, systematics, and conservation. Biological Journal of the Linnean Society, 62(3), 421–442. 10.1006/bijl.1997.0162 [DOI] [Google Scholar]

Associated Data

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

Supplementary Materials

SupplementaryInformation

Data Availability Statement

Raw data, input files, and analysis scripts are available on figshare at https://doi.org/10.6084/m9.figshare.14622744.v2. Bioinformatic scripts are available at https://doi.org/10.6084/m9.figshare.11923017.v2.

RESOURCES