discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100...

11
Contents lists available at ScienceDirect Journal of Thermal Biology journal homepage: www.elsevier.com/locate/jtherbio Discovering divergence in the thermal physiology of intertidal crabs along latitudinal gradients using an integrated approach with machine learning Sebastian J.A. Osores a , Gonzalo A. Ruz a,c , Tania Opitz a , Marco A. Lardies b, a Facultad de Ingeniería y Ciencias, Universidad Adolfo Ibáñez, Santiago, Chile b Facultad de Artes Liberales, Universidad Adolfo Ibáñez, Santiago, Chile c Center of Applied Ecology and Sustainability (CAPES-UC), Santiago, Chile ABSTRACT In intertidal marine crustaceans, phenotypic variation in physiological and life-history traits is pervasive along latitudinal clines. However, organisms have complex phenotypes, and their traits do not vary independently but rather interact differentially between them, effect that is caused by genetic and/or environmental forces. We evaluated the geographic variation in phenotypic integration of three marine crab species that inhabit different vertical thermal microhabitats of the intertidal zone. We studied seven populations of each species along a latitudinal gradient that spans more than 3000km of the Chilean coast. Specifically we measured nine physiological traits that are highly related to thermal physiology. Of the nine traits, we selected four that contributed significantly to the observed geographical variation among populations; this variation was then evaluated using mixed linear models and an integrative approach employing machine learning. The results indicate that patterns of physiological variation depend on species vertical microhabitat, which may be subject to chronic or acute environmental variation. The species that inhabit the high- intertidal sites (i.e., exposed to chronic variation) better tolerated thermal stress compared with populations that inhabit the lower intertidal. While those in the low-intertidal only face conditions of acute thermal variation, using to a greater extent the plasticity to face these events. Our main results reflect that (1) species that inhabit the high-intertidal maintain a greater integration between their physiological traits and present lower plasticity than those that inhabit the low-intertidal. (2) Inverse relationship that exists between phenotypic plasticity and phenotypic integration of the physiological traits identified, which could help optimize energy resources. In general, the study of multiple physiological traits provides a more accurate picture of how the thermal traits of organisms vary along temperature gradients especially when exposed to conditions close to tolerance limits. 1. Introduction Physiological patterns that characterize different populations are strongly defined by environmental conditions (Hoffmann and Parsons, 1989;Somero,2002;Khaliqetal.,2014)that,amongothers,determine distribution ranges, tolerance capacities, and ultimately organismal fitness. One of the main abiotic factors that affects physiological changes in ectotherm organisms is temperature (Johnston and Bennett, 2008; Castañeda et al., 2005; Mora and Maya, 2006; Angilletta, 2009; Lardies et al., 2011). Specifically, temperature has been shown to in- fluence basic organismal functions, biochemical rates, locomotion, growth and reproduction (Kingsolver and Huey, 2008; Somero, 2010; Gaitán-Espitia et al., 2013a, 2013b, 2014). Therefore, temperature playsafundamentalroleinspeciesdistributionpatterns(Somero,2005; Deutsch et al., 2008; Calosi et al., 2008). Latitudinal gradients along with intertidal gradients provide natural variation that can be used to investigate how temperature affects thermal physiology (Stillman and Somero,2000;Helmuthetal.,2006).Coastalareascanbeconsideredas natural laboratories where resident organisms may differ in terms of local adaptation and/or phenotypic plasticity, both mechanisms that allow populations to maximize fitness in response to environmental heterogeneity (Gardiner et al., 2010; Yampolsky et al., 2014). Variations in physiological traits along environmental gradients are causes and consequences of phenotypic divergence in natural popula- tions (Torres Dowdall et al., 2012), conferring local fitness advantages (Kawecki and Ebert, 2004). In general, these evaluations of phenotypic differentiation have been often correlated usually with latitude (Lindgren and Laurila, 2009; Zippay and Hofmann, 2010). Overall, The problem is that the statistics are limited due to the lack of flexibility by incorporating only univariate and linearity for estimations (Naya et al., 2011;Sundayetal.,2014;Weberetal.,2015)withalimitedcapacityof data interpretation. Others have shown that environmental variation affects integrated phenotypes involving several co-dependent traits (see, Salazar-Ciudad, 2007; Armbruster et al., 2014). Furthermore, phenotypic integration provides an explanation for how phenotypes are sustained by relationships between traits (Pigliucci and Preston, 2004). Because physiological traits play an important role in fitness (Ricklefs and Wikelski, 2002), the environmental characterization plays an im- portant role in the local adaptation for the effectiveness in the survival andreproductionofthepopulations(McLeanetal.,2014).Inthissense, https://doi.org/10.1016/j.jtherbio.2018.09.016 Received 29 December 2017; Received in revised form 14 September 2018; Accepted 21 September 2018 Correspondence to: Universidad Adolfo Ibañez, Diagonal Las Torres 2640, Peñalolen, Santiago, Chile. E-mail address: [email protected] (M.A. Lardies). Journal of Thermal Biology 78 (2018) 140–150 Available online 24 September 2018 0306-4565/ © 2018 Elsevier Ltd. All rights reserved. T

Upload: others

Post on 25-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

Contents lists available at ScienceDirect

Journal of Thermal Biology

journal homepage: www.elsevier.com/locate/jtherbio

Discovering divergence in the thermal physiology of intertidal crabs alonglatitudinal gradients using an integrated approach with machine learningSebastian J.A. Osoresa, Gonzalo A. Ruza,c, Tania Opitza, Marco A. Lardiesb,⁎

a Facultad de Ingeniería y Ciencias, Universidad Adolfo Ibáñez, Santiago, Chileb Facultad de Artes Liberales, Universidad Adolfo Ibáñez, Santiago, Chilec Center of Applied Ecology and Sustainability (CAPES-UC), Santiago, Chile

A B S T R A C T

In intertidal marine crustaceans, phenotypic variation in physiological and life-history traits is pervasive along latitudinal clines. However, organisms have complexphenotypes, and their traits do not vary independently but rather interact differentially between them, effect that is caused by genetic and/or environmental forces.We evaluated the geographic variation in phenotypic integration of three marine crab species that inhabit different vertical thermal microhabitats of the intertidalzone. We studied seven populations of each species along a latitudinal gradient that spans more than 3000 km of the Chilean coast. Specifically we measured ninephysiological traits that are highly related to thermal physiology. Of the nine traits, we selected four that contributed significantly to the observed geographicalvariation among populations; this variation was then evaluated using mixed linear models and an integrative approach employing machine learning. The resultsindicate that patterns of physiological variation depend on species vertical microhabitat, which may be subject to chronic or acute environmental variation. Thespecies that inhabit the high- intertidal sites (i.e., exposed to chronic variation) better tolerated thermal stress compared with populations that inhabit the lowerintertidal. While those in the low-intertidal only face conditions of acute thermal variation, using to a greater extent the plasticity to face these events. Our mainresults reflect that (1) species that inhabit the high-intertidal maintain a greater integration between their physiological traits and present lower plasticity than thosethat inhabit the low-intertidal. (2) Inverse relationship that exists between phenotypic plasticity and phenotypic integration of the physiological traits identified,which could help optimize energy resources. In general, the study of multiple physiological traits provides a more accurate picture of how the thermal traits oforganisms vary along temperature gradients especially when exposed to conditions close to tolerance limits.

1. Introduction

Physiological patterns that characterize different populations arestrongly defined by environmental conditions (Hoffmann and Parsons,1989; Somero, 2002; Khaliq et al., 2014) that, among others, determinedistribution ranges, tolerance capacities, and ultimately organismalfitness. One of the main abiotic factors that affects physiologicalchanges in ectotherm organisms is temperature (Johnston and Bennett,2008; Castañeda et al., 2005; Mora and Maya, 2006; Angilletta, 2009;Lardies et al., 2011). Specifically, temperature has been shown to in-fluence basic organismal functions, biochemical rates, locomotion,growth and reproduction (Kingsolver and Huey, 2008; Somero, 2010;Gaitán-Espitia et al., 2013a, 2013b, 2014). Therefore, temperatureplays a fundamental role in species distribution patterns (Somero, 2005;Deutsch et al., 2008; Calosi et al., 2008). Latitudinal gradients alongwith intertidal gradients provide natural variation that can be used toinvestigate how temperature affects thermal physiology (Stillman andSomero, 2000; Helmuth et al., 2006). Coastal areas can be considered asnatural laboratories where resident organisms may differ in terms oflocal adaptation and/or phenotypic plasticity, both mechanisms that

allow populations to maximize fitness in response to environmentalheterogeneity (Gardiner et al., 2010; Yampolsky et al., 2014).

Variations in physiological traits along environmental gradients arecauses and consequences of phenotypic divergence in natural popula-tions (Torres Dowdall et al., 2012), conferring local fitness advantages(Kawecki and Ebert, 2004). In general, these evaluations of phenotypicdifferentiation have been often correlated usually with latitude(Lindgren and Laurila, 2009; Zippay and Hofmann, 2010). Overall, Theproblem is that the statistics are limited due to the lack of flexibility byincorporating only univariate and linearity for estimations (Naya et al.,2011; Sunday et al., 2014; Weber et al., 2015) with a limited capacity ofdata interpretation. Others have shown that environmental variationaffects integrated phenotypes involving several co-dependent traits(see, Salazar-Ciudad, 2007; Armbruster et al., 2014). Furthermore,phenotypic integration provides an explanation for how phenotypes aresustained by relationships between traits (Pigliucci and Preston, 2004).Because physiological traits play an important role in fitness (Ricklefsand Wikelski, 2002), the environmental characterization plays an im-portant role in the local adaptation for the effectiveness in the survivaland reproduction of the populations (McLean et al., 2014). In this sense,

https://doi.org/10.1016/j.jtherbio.2018.09.016Received 29 December 2017; Received in revised form 14 September 2018; Accepted 21 September 2018

⁎ Correspondence to: Universidad Adolfo Ibañez, Diagonal Las Torres 2640, Peñalolen, Santiago, Chile.E-mail address: [email protected] (M.A. Lardies).

Journal of Thermal Biology 78 (2018) 140–150

Available online 24 September 20180306-4565/ © 2018 Elsevier Ltd. All rights reserved.

T

Page 2: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

understanding how environmental gradients (for example, tempera-ture) have effects on physiological traits is desirable to understand howthe increase in global temperature can affect different populations(Magozzi and Calosi, 2015). In general, measuring physiological traitsin a population reflects the costs and benefits associated with somaticmaintenance in thermal environments (Heusner, 1985; Clarke andJohnston, 1999; Watson et al., 2014). Metabolic rate is the mainparameter used to measure subsistence energy costs being directly re-lated thermal sensitivities (Ruel and Ayres, 1999; Kovac et al., 2014)and thermal safety (see Sunday et al., 2011). Recovery time after cri-tical thermal events also provides an index of how sensitive species areto climate (Castañeda et al., 2004, 2005). Also, morphometric char-acteristics have been shown to follow some biogeographic patterns,mainly latitudinal patterns (Angilletta et al., 2004; Bidau and Martí,2007; Zamora‐Camacho et al., 2014).

Analyses involving computational intelligence could provide anunderstanding of the patterns that emerge from the interaction betweenorganismal traits and how these interactions can be modified by theenvironment (Park and Chon, 2007). In most cases, these interactionsbetween traits are often too complex and do not meet the assumptionsof conventional statistical procedures (Recknagel, 2001; Kampichleret al., 2010). Machine learning has many applications (see Olden et al.,2008; Thessen, 2016), but notably it has been shown to be useful whendisentangling associated variables to gain a deeper understanding ofmultiple interactions (Peters et al., 2014). In this sense, the phenotypicdivergence in an integrated phenotype has been related to the relativelylow amounts of phenotypic covariance in closely related populations(Game and Caley, 2006; Renaud et al., 2006) and other studies haveshown otherwise (Arnold and Phillips, 1999), generally adjustingmultivariate linear models. Therefore, more studies comparing the re-lationships between the traits are clearly necessary to understand thelink in the divergence between populations. The number of methodsused for integration in machine learning has grown steadily (Acevedoet al., 2009; Valletta et al., 2017). Therefore, there are multiple modelsthat differ in the technique of integrating the variables. Overall, inorder to better understand associations between multiple associatedvariables, a reduction in dimensionality is a key factor in the simplifi-cation of analysis (Kasun et al., 2016). Machine learning methods, ingeneral can fall into two categories: (1) unsupervised learning (i.e.,clustering), that identifies patterns in a heuristic way (Sathya andAbraham, 2013) and (2) supervised learning (i.e., classification) whichcan be used to infer a function from labeled training data. Due to theexistence of many methods that perform similar machine learningfunctions, it is pertinent to compare different algorithms, since theperformance of each algorithm differs given the clustering/classifica-tion problem (Caruana and Niculescu-Mizil, 2006; Übeyli, 2007), inorder to unmask the patterns of association between the traits thatemerge from the population divergence.

Using three crab species, which are distributed along a small ver-tical intertidal gradient (i.e. intertidal zone), we analyzed variation inthermal exposure at different spatial/temporal scales. Specifically,crabs in the lower intertidal experience acute thermal variation becausethey are exposed to periods of greater thermal changes only in periodsof extremely low tides, while those in the high intertidal experiencechronic thermal variation determined by daily tidal cycles. In addition,different populations of these species are distributed along a latitudinal-environmental gradient that covers more than 3000 km and is markedby gradual thermal variation (Barría et al., 2014; Gaitán-Espitia et al.,2014). We performed trait integration using machine learning, whichallowed us to unravel differences that exist in the degree of associationamong physiological traits of crabs and their relation with phenotypicplasticity (see Gianoli and Palacio‐López, 2009). To investigate thephysiological divergence among these closely related organisms thatinhabit different habitats, we determined the variation in the pheno-typic matrix. Finally using both conventional statistics and machinelearning methods, we investigated the thermal geographic variation of

physiological traits in intertidal crabs to determine the variation in acomplex phenotype along the latitudinal and intertidal gradients.

2. Materials and methods

2.1. Model species and intertidal variability

Samples of three species of intertidal crustaceans (i.e., Cyclograpsuscinereus, Petrolisthes violaceus, and Petrolisthes tuberculosus) were usedfor this study. Specifically, samples were collected at three differentlevels within the intertidal zone: High (0.6–1.0m), Middle (0.3–0.5m)and Low (0.1–0.2m). The high intertidal is characterized by chronicenvironmental variability, the low intertidal experiences acute varia-bility, and the middle intertidal can be considered as a transition zone.The species used here have broad latitudinal distributions: C. cinereus(from Ancon, Peru to Calbuco, Chile), P. violaceus (Callao, Peru toPeninsula de Taitao, Chile) and P. tuberculosus (Callao, Peru to Chiloe,Chile) (Zagal and Hermosilla, 2007). The samples were collected fromseven locations along the coast of Chile: Iquique (20° 19′ 07.5′′), An-tofagasta (23° 46′ 30.8′′), Talcaruca (30° 29′ 32.9′′), El Tabo (33° 27′23.8′′), Lenga (36° 45′ 36.6′′), Playa Rosada (39° 49′ 46.4′′), and PlayaBrava (41° 52′ 00.4′′) (see SM1; Fig. 1). The sampled locations coveralmost the complete geographic range of these species in Chile(3000 km). It should be noted that within the wide latitudinal rangethat covered our study, two barrier with strong environmental changescould be identified: 1) biogeographic break at 30°S has been identifiedwithin the latitudinal range sampled. Specifically, the composition andabundance of biota differ on either side of this break (Navarrete andWieters, 2000; Navarrete et al., 2014). 2) Environmental barrier oflower intensity at 36°S has also been documented in coastal zones (seeFig. 1) and has been attributed to the Neogene development of ashallow oxygen minimum zone (OMZ) (Martinez-Pardo, 1990) andwind-induced coastal upwelling. In each sample site, we monitored thetemperature of the intertidal continuously using high-resolution loggers(Tidbit®, Onset Computer Corp., MA, USA). The thermal loggers usedtrack both sea surface temperature as well as air temperature duringextreme tides; thus, we recorded the environmental temperature fluc-tuations characterizing these sites every 30min during three years.

The crabs were collected during spring of 2012–2013 (see SM1),and to remove possible effects of sex, only male crabs were collectedand used in the physiological measurements. Covered with icepacksand placed in a cooler, sampled individuals were transported to thelaboratory of evolutionary ecology at the University Adolfo Ibáñez,Santiago, Chile. Crabs were acclimated for three weeks to the followingconditions: artificial seawater at 33 psu (Instant Ocean®), temperatureof 14 °C, photoperiod of 12:12 light/darkness, aeration and constantfeeding (Instant Algae, Shellfish Diet® and TetraFin Food Flakes®).

2.2. Physiological traits

2.2.1. Metabolic Rate 14 °C (MR14) and 20 °C (MR20)The metabolic rate was calculated based on the oxygen consump-

tion during a period of time (Gaitán-Espitia et al., 2014, 2017). Afteracclimation, each crab was incubated in artificial seawater at 14 °C andplaced in 113ml respirometric chambers. The oxygen concentrationwithin the chamber was quantified every 15 s for a maximum of 2 h anoptical sensor connected to an Oxygen register MINI-OXY-4 (PreSens,GmbH, Germany), If the concentration is reduced below 75% of theinitial oxygen concentration, the incubation is over. The sensor wascalibrated with synthetic seawater (saturated: 100%) and a sodiumsulfite solution (0%). We determine the metabolic rates of the crab at14 °C (mean temperature of the coast of Chile; see Gaitán-Espitía et al.,2017). Then, we acclimated the crabs to 20 °C for a period of threeweeks to estimate the metabolic rate at that temperature. The 6 °C ofthermal increase in our experimental treatments are consistent with thetrend of the increase in the average ambient temperature expected for

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

141

Page 3: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

the year 2100 under the business-as-usual scenario (Gatusso et al.,2015) In both cases, we used four respirometric chambers simulta-neously, of which three chambers contained animals and one chamberwas used as a blank. We used for metabolic rate estimations at least 30individuals by each population.

2.2.2. Thermal traitsTo examine the responses of the different populations to thermal

shock, the thermal performance of the animals was analyzed by mea-suring the righting response or rollover speed (i.e., the speed at whichan individual changed from an inverse position to an upright position)(see Lutterschmidt and Hutchison, 1997; Castañeda et al., 2004). Crabswere exposed to thermal shock in individual acrylic chambers(160×110×40mm) with six subdivisions (50× 50×40mm). Thechambers were placed within a thermoregulatory bath (© Lab. Com-panion RW-2025 ± 0.5 °C), which was manipulated to increase ordecrease the temperature. The crab roll-over speed was measured every1 °C changing the temperature of water bath every 30min from 9 °C to0 °C to search the critical thermal minimum (CTmin), and from 25 °C to40 °C for critical thermal maximum (CTmax). If after 10min of evalua-tion, the crab was not able to roll-over into a vertical position, then theminimum and maximum temperature when such an event occurred wasconsidered as CTmin and CTmax, respectively (Castañeda et al., 2004).The difference between CTmax and CTmin was the thermal range inwhich organisms were able to maintain their normal motor functions.

2.2.3. Recovery time from CTmin (RTC)Once the CTmin for crabs was determined, the crabs were placed at

14 °C inside an aquarium with seawater (33 psu), and then we regis-tered the time it took them to recover their ability to move, i.e. theirRecovery time (see Castañeda et al., 2005).

2.2.4. Morphometric measurementsBefore and after the physiological measurements, the crabs were

placed on a paper towel to eliminate the excess of water and then thewet body mass (WW) was recorded using a 0.0001 precision analyticalbalance (Shimadzu AUX220®). In addition to recording the measure-ments of cephalothorax width (CW) and cephalororax length (CL) witha 0.1 mm precision caliper.

2.3. Trait selection, comparisons of physiological trait means andphenotypic plasticity index

Using the nine traits recorded we trained a classifier using LearningVector Quantization (LVQ); adjusting the model with each populationof the crabs studied, using these as class label. Using a greedy approach,traits were removed one by one and after each removal the effects onthe classification performance were measured. From this, we were ableto select the relevant traits using the absolute value of the t-statistic foreach parameter of the models; this was done using the varImp functionextracted from the CARET package (Kuhn, 2008). Also, we removedfeatures that were redundant, particularly those that were highly cor-related (i.e., absolute correlation coefficient> 0.85). Then, traits thatare eliminated in the subset of data are those traits that have a lowerranking depending on the pre-classification made, in other words ROCcurve analysis is conducted on each predictor. The sensitivity andspecificity are computed for each cutoff and the ROC curve is com-puted. The trapezoidal rule is used to compute the area under the ROCcurve. This area is used as the measure of variable importance.

Using a generalized linear mixed model (GLMM), we evaluated theeffect of latitude on the selected physiological traits, taking into ac-count the nested structure of our design (i.e., sample sites nested withinthe regions defined according to the two environmental barriers men-tioned above). Hence, we considered two zones with abrupt environ-mental differences along the latitudinal gradient: 1) biogeographicbreak located at 30°S near the Talcaruca site and 2) an environmentalbarrier at 36°S near the Lenga site. These breaks allow us to divide ourstudy area into northern, central, and southern regions (see Fig. 1A).

Fig. 1. Geographic and environmental gradient of the study area and thermal tolerances of the study organisms along the southern Pacific. (A) Study sites along theChilean coast. Mean (black points, mean ± standard deviation), maximum (red points) and minimum temperature registered (blue points) at the sampling sites.Critical temperatures of the different studied organisms; (B) Cyclograpsus cinereus; (C) Petrolisthes violaceus and (D) Petrolisthes tuberculosus. (blue line = CriticalThermal Minimum, red line = Critical Thermal Maximum, mean ± standard deviation). (For interpretation of the references to color in this figure legend, thereader is referred to the web version of this article.)

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

142

Page 4: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

Field sampling included sites within different regions (i.e. north, centerand south). In the model, then these interzones were used as a structureof dependency as random factor and the sampling sites were included asfixed effects. Akaike's Information Criterion (AIC) was used to choosethe best model. Statistical analyses were performed using the lme4package (Bates et al., 2007) implemented in the R platform 2.15.0 (RDevelopment Core Team 2009).

We quantify the phenotypic plasticity, based on the phenotypicdistance between individuals of a given species, exposed to differentenvironments, which is summarized in a relative distance plasticityindex (Relative Distance Plasticity Index: RDPI), which translates asphenotypical Absolute Distances between individuals of the same gen-otype and different environments, divided by one of the two phenotypicvalues. The RDPI values range from 0 (no plasticity) to 1 (maximumplasticity) and can be obtained for each species as:

= +( )RDPI d x x n/( ) /ij i j i j ij

where n is the total number of distances, xij is a trait in a rectangularmatrix where i (rows) represents a given level of the environmentaltreatment, and j (column) refers to the individual number identificationlong a given row. Specifically, it is defined the distance among traitvalues dij i j for all pairs of individuals for which i is different from i asthe absolute value of difference x xi j ij when i i , and obtain relativedistances by dividing this difference by the sum +x x( )i j ij (for moredetails on the calculation of RDPI see Valladares et al., 2006; Grasseinet al., 2010; Ameztegui, 2017).

2.4. Phenotypic integration with machine learning

Multivariate analyses were performed to identify physiological

patterns and to evaluate how they vary biogeographically along theChilean coast. For this, unsupervised and supervised machine learningalgorithms were employed and compared using the physiological datamatrix that included the four variables shown in Table 1. All theseanalyses were carried out using the statistical software R.

2.4.1. Unsupervised learningWe used unsupervised learning to know a priori the physiological

behavior of the species distributed along the environmental gradients.In this sense, the application of unsupervised algorithms helped us togroup the physiological behavior of the species and to determine if theywere correlated with geographic variation and/or environmental gra-dients. For the above, we used two different algorithms: k-means andexpectation maximization (EM), which are similar in their iterativeforms, but differ in their metric performances (Jung et al., 2014):

2.4.1.1. k-means. The well-known k-means clustering algorithm is usedto discover natural groupings within a data set. The number of clusters(k) must be specified by the user before running the algorithm. Toovercome this problem, several methods for automatically selecting themost plausible number of clusters have been developed. Here, weselected k by computing Dunn's cluster validity index (Havens et al.,2008).

2.4.1.2. Expectation maximization algorithm (EM). The EM algorithm isan iterative procedure to compute the Maximum Likelihood (Ml)estimate for the presence of missing or hidden data. With this, it ispossible to estimate the model parameter(s) for which the observeddata are the most plausible. In this study, as an alternative to k-means,we used the EM algorithm for clustering as well, where the missing or

Table 1Generalized linear mixed model of physiological traits (cephalothorax length, heat coma, chill coma and metabolic rate) for the three crab species (significantdifferences at different levels: 0.001= "***", 0.01= "**", 0.05= "*", 0.1= "*").

C. cinereus P. violaceus P. tuberculosus C. cinereus P. violaceus P. tuberculosusCoefficients Metabolic Rate at 14 °C Chill Coma

Estimate (Conf. Int.) Estimate (Conf. Int.) Estimate (Conf. Int.) Estimate (Conf. Int.) Estimate (Conf. Int.) Estimate (Conf. Int.)

Fixed EffectIntercept 1.61 (0.13–3.09) 2.07 (−0.73 to 4.88) 5.04 (1.67–8.42) ** 5.25 (3.70–6.80) * 6.90 (6.52–7.28) ** 5.23 (4.48–5.98) *Latitude −0.05 (−0.09 to 0.00) −0.06 (−0.15 to −0.02) −0.16 (−025 to −0.06) *** −0.05 (−0.10 to 0.00) −0.06 (0.07 to −0.05) * −0.01 (−0.04 to 0.01)Random Effectσ2 0.737 0.953 0.864 0.994 0.323 0.673τ00, Geo 0.107 0.662 1.772 0.108 0.000 0.013Biogeographic

breaksNorth-Center *** *** ***Center-South * *** **Observations 192 186 183 192 186 183AIC 506.180 540.320 515.913 562.885 336.379 465.122

C. cinereus P. violaceus P. tuberculosus C. cinereus P. violaceus P. tuberculosusCoefficients Heat Coma Cephalothorax Length

Estimate (Conf.Int.)

Estimate (Conf. Int.) Estimate (Conf. Int.) Estimate (Conf.Int.)

Estimate (Conf. Int.) Estimate (Conf. Int.)

Fixed EffectIntercept 22.66

(14.69–30.63) **34.48 (29.79–39.18) *** 33.73 (30.01–37.45) *** 7.83 (2.27–13.39) * −10.61 (−25.19 to 3.96) −5.30 (−15.73 to 5.12)

Latitude 0.30 (0.14–0.47) * −0.22 (−0.35 to −0.10) ** −0.24 (−0.34 to −0.14) *** 0.05 (−0.10 to 0.20) 0.74 (0.40–1.09) *** 0.52 (0.23–0.82) **Random Effectσ2 2.271 1.469 0.874 2.314 9.717 8.638τ00, Geo 27.805 4.275 2.890 5.508 70.511 15.666Biogeographic

breaksNorth-Center *** *** *** *** *** ***Center-South *** *** *** ***Observations 192 186 183 192 186 183AIC 727.295 622.280 518.712 727.735 971.602 932.378

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

143

Page 5: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

hidden data corresponded to the cluster labels of each instance (row) ofthe data matrix, using a priori from two to eight mixtures (i.e. clusters)(see Fort and Mungan, 2015; Garriga et al., 2016). While k-means uses adistance measure (typically Euclidean distance) to assign each datapoint to a cluster, the EM algorithm computes the posterior probabilityof each data point belonging to a cluster.

2.4.2. Supervised learning (classifiers)We used supervised learning to determine if the physiological pat-

terns integrated using different machine learning models followed adistribution in function of predetermined data subsets. The two pre-determined subsets were defined: a fine model, in which we constructedone subset for each sample site (seven subsets in total), and a coarsemodel where three subsets were constructed to represent the three re-gions previously described (north, center and south). This design waschosen to identify the most important traits and potential groupingbetween close or environmentally similar sites. We recognized thepossibility that traits could vary integrally or could vary inter-dependently of the environmental gradients. Overall, this analysis wasemployed to provide knowledge of whether differences among traitswere determined by environmental pressure at small or large spatialscales. Here, algorithms that differ mainly in their metrics were used tointegrate the traits. We also evaluated the yields of each classifier toknow the integration strategy of the physiological traits in marine in-vertebrates inhabiting environmental gradients. We considered thefollowing classifiers:

2.4.2.1. Linear discriminant analysis (LDA). This classificationtechnique divides the sample space into sub-spaces by hyperplanesthat best separate the study groups (Rao, 1948). In particular, Clunies-Ross and Riffenburgh (1960) and Press and Wilson (1978) define adiscriminant function for the case when the assumptions of equalcovariance matrices are met.

2.4.2.2. Naive Bayes (NB). This is a probabilistic model that assumesstrong independence among traits, assuming, in a “naive” way, that alltraits are conditionally independent given the classification variable.Here the model classifies each example given a set of attributes usingthe Bayes rule (Murphy, 2006).

2.4.2.3. k nearest neighbors (knn). The knn does not include a learningalgorithm or a training phase, in fact it carries out the classificationdirectly using the training dataset. It uses a distance measure, typically,the Euclidean distance, to assign the class label of a new example basedon the labels of the k nearest neighbors of that example (Liu et al.,2005).

2.4.2.4. Artificial neural networks (ANN). The complexity of the humanbrain to recognize patterns has led the scientific community tounderstand and relate these capabilities in a computational way. Inthis method, artificial neural networks are used to simulatemathematically biological neurons that are called nodes (Haykin andPrincipe, 1998). Their non-linear capabilities makes them a powerfultool for modeling complex relationships between inputs and outputs(Mohandes et al., 1998). We use this algorithm to know if the non-linear relationships between the selected physiological traits couldexplain the interactions between them and the differentiation of theseinteractions with the environment.

2.5. Model evaluation

To evaluate the performance of all classifiers for all of the species weused n-fold cross validation (Witten and Tibshirani, 2011). In n-foldcross validation, the original data set is randomly divided in n equallysized groups. Then, n-1 partitions are used to train the classifier, andthe remaining partition is used for testing. This process is repeated n

times, so that each partition is used as a test set once. The correctclassification or accuracy of the test set is averaged to obtain a finalestimation of the performance of the classifier. In this study, n=10 wasused as suggested in Witten and Tibshirani (2011).

For this study we used the following packages implemented in RSoftware language Open source: clValid package (Brock et al., 2011) forcalculating the Dunn index and Mclust (Fraley and Raftery, 2006) forthe EM algorithm. For classification using naive Bayes, LDA, NeuralNetworks, and knn the following packages were used, e1071, MASS,Class, nnet (Dimitriadou et al., 2006; Ripley, 2015; Ripley et al., 2016),respectively.

3. Results

3.1. Thermal variability in the intertidal

The 12 month high resolution temperature data showed a clear la-titudinal cline; temperature decreased towards higher latitudes with athermal difference of 4.5 °C between the north and south extremes inthe studied sites (Fig. 1B, C, D). The largest annual thermal range (i.e.,the difference between the warmest and coolest temperatures) wasfound at the Talcaruca site located at the biogeographical break(13.8 ± 2.88 °C, mean ± sd - annual statistic). Comparing the tem-perature dynamics with the tolerance capacities (CTmin and CTmax, re-spectively) showed that crabs from the high-intertidal exhibit higherthermal safety at high temperatures than individuals inhabiting thelower intertidal. Here it was found that individuals in the lower inter-tidal sometimes experience temperatures that exceed their CTmax(Fig. 1A, B, C, D). Additionally, individuals from sites in the south ex-perience thermal conditions very close to their CTmin (Fig. 1B, C, D).

3.2. Traits selection, comparisons of the physiological traits and phenotypicplasticity index

Four informative traits (out of a total of nine traits) were identifiedusing the trait selection algorithm. These four informative traits in-cluded cephalothorax length (CL), CTmax, CTmin, and metabolic rate at14 °C (MR). It should be noted that the classification model did not losesignificant statistical power after reducing the traits (p > 0.05).

Comparison of the means of physiological traits using mixed modelsindicated that the traits vary with latitude (see Fig. 2; Table 1). Fur-thermore, the most drastic changes in physiological traits in the lati-tudinal gradient were found for organisms that inhabit chronicallyvariable environments (i.e., high-intertidal), and these differences weredue to the effect of environmental breaks. Overall, the biogeographicbreak had a greater effect on the physiological components of C. ci-nereus, inhabits high-intertidal, and P. violaceus, inhabits mid-inter-tidal, compared to P. tuberculosus. Additionally, the greatest variation inphysiological traits was within the biogeographic break (30°S) betweenthe Peruvian Province and the Intermediate Province; where specifi-cally, significant differences in the mean values of almost all of thestudied traits were found (see Table 1). On the other hand, the phy-siological traits of P. tuberculosus, which inhabits the low intertidal,differed according to latitude rather than due to the presence of the twoenvironmentals barrier (see SM1, Table 1 and Fig. 1 to identify en-vironmental barrier).

In all the species studied it was possible to appreciate that themetabolic rate determined at 14 °C is the trait that had the greatestplasticity according to the RDPI. On the contrary, the trait studied towhich has a lower plastic capacity is CTmax, whose tendency was similarfor all the species studied. It is also observed that for the four physio-logical traits the species that showed a lower plastic capacity (i.e. lowerRDPI) was C. cinereus, evidenced by significant differences in: MR14 (F= 156.42,453; p < 0.01), CL (F = 29.452,453; p < 0.01), CTmin (F =22882,453; p < 0.01) y CTmax (F = 25752,453; p < 0.01), (see Fig. 3).

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

144

Page 6: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

Fig. 2. Latitudinal effect on various morphological and physiological traits (cephalothorax length, heat coma, chill coma, and metabolic rate). Cyclograpsus cinereus(A, B, C, D), Petrolisthes violaceus (E, F, G, H) and Petrolisthes tuberculosus (I, J, K, L). Both lines model the tendency of the data, in particular the red line is a linearregression whereas the blue line is a polynomial regression adjusted to the means values of each trait. (For interpretation of the references to color in this figurelegend, the reader is referred to the web version of this article.)

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

145

Page 7: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

3.3. Phenotypic integration with machine learning

In unsupervised learning, the number of clusters increased or de-creased depending on the species and the shore level. These resultsindicate the physiological traits studied here grouped according tohabitat specifically, the traits of individuals inhabiting the lower in-tertidal grouped into few clusters, while traits of individuals inhabitinglocations in the upper intertidal grouped into more clusters.Specifically, we observed that the trait values for C. cinereus, whichinhabits the high-intertidal grouped into eight cluster according to theEM algorithm and were higher than those of individuals of P. violaceusand P. tuberculosis, which inhabit the mid-intertidal and lower inter-tidal, respectively. The traits of P. violaceus and P. tuberculosus groupedinto seven and six clusters respectively, and these were distributedalong the coast (Table 2). According to the k-means analysis wherek= 2 to k= 8 were tested, the traits of each species grouped into thefollowing amount of putative clusters: C. cinereus (8 clusters), P. viola-ceus (6 clusters), and P. tuberculosus (3 clusters). The above-mentionedresults show that the traits of C. cinereus grouped largely according tosample site, while the traits of crabs from low intertidal, the groupingwas smaller, because populations could share similar physiologicalcharacteristics across the latitudinal gradient.

According to the supervised classification algorithms: in a finemodel where the species were pre-classified according to the samplingsites, they showed that the highest classification percentage belonged toC. cinereus (48%), then P. violaceus (43%) and finally P. tuberculosus(34%). These differences were shown for all the classifiers used (i.e.,NB, Knn, LDA, ANN), which suggests that the integration of the traits isstronger in C. cinereus than P. violaceus and P. tuberculosus (ANOVA,P < 0.01, 3.316,108) (Fig. 4A). As mentioned in the methods, the spe-cies were also grouped into one of three regions (i.e. north, center, andsouth). Fig. 4B shows the percentage of correct assignments for eachspecies in geographic site using the different classifiers. Using su-pervised classification algorithms to classify each species to a geo-graphic region, a statistically higher percentage of correct assignmentswas obtained for C. cinereus (80% correct assignments) than for P.

violaceus (74% correct assignments) or P. tuberculosus (63% correctassignments), and this held for all classifiers used. Such results reflectthat, like using a pre-classification with the sampling sites, it was foundthat C. cinereus maintains a greater integration of the physiologicaltraits compared to P. violaceus and P. tuberculosus (ANOVA, P < 0.05,31.032,108) (Fig. 4B). It should be noted that the significant differenceswere only at the species level and that there were no significant dif-ferences between classifiers (Fig. 4).

4. Discussion

Variation in the phenotypes of ectothermic organisms has beenshown to be associated with thermal gradients, which are known togenerate strong gradients of selection (Angilletta et al., 2002; Yamahiraet al., 2007). In order to understanding how physiological traits varyspatially, it is necessary to quantify the degree of association betweenthe traits of spatially distributed populations (Via and Hawthorne,2005). Here, we show that the integration of traits of species that in-habit acute thermal environments is reduced, and therefore greaterplasticity can be achieved. Therefore, in highly heterogeneous habitatswith extreme acute thermal events, individuals often show adaptivephenotypic plasticity (Schulte et al., 2011) (see SM1), which allows forimproved fitness in response to local micro-environmental factors.Conversely, in environments with constant and chronic environmentalvariability, organisms can experience less variable trait expressiongiven that costs to plasticity are sufficiently strong and the selection forplasticity is likely weaker in these environments, benefiting a morelocal adaptation (Baythavong, 2011).

As was expected, the temperature at the sampling sites increasedtowards lower latitudes, showing a clear environmental gradient (seeFig. 1B, C, D). The highest thermal means were found at the northernsite (i.e., Iquique), and then decreased gradually towards the southernregion due to oceanographic and climatic processes (Broitman et al.,2001; Barros and Silvestri, 2002). Also, high thermal variation wasobserved at 30°S likely due to local oceanographic patterns includingsemi-permanent coastal upwelling (Aravena et al., 2014); this resultreinforces the existence of a biogeographic break at this latitude (30°S).Additionally, we found the environmental conditions of the intertidalzones studied to be highly variable, reaffirming that organisms in-habiting this ecosystem must face extreme thermal conditions (Helmuthand Hofmann, 2001; Helmuth et al., 2006, 2016; Harley et al., 2009).Luckily, many organisms can perform behavioral thermoregulation(Chapperon and Seuront, 2011), especially those found in intertidalhabitats (Harley, 2011; Evans and Hofmann, 2012).

The results reflect that the effects on the physiological traits from aunivariate perspective can have a differential behavior between thespecies and between the traits studied, that is, some traits may increasewith latitude and vice versa (see Table 1; Fig. 2). Using the holisticapproach, we can suggest that populations could present differences intheir adaptive mechanisms, where populations that inhabit chronicthermal environments could prevail local adaptation, while in popula-tions inhabiting acute thermal environments could prevail phenotypicplasticity. Therefore, the physiological traits studied here may be moreinfluenced by environmental or other types of variation at large spatialscales than at local scales. Such effects have also been found for ex-ample in several species of plants (Messier et al., 2017).

4.1. Traits selection, comparisons of the physiological traits and phenotypicplasticity index

Trait selection is different than analyses that reduce the di-mensionality of datasets (for example, principal components analysis“PCA”) (Saeys et al., 2007; Janecek et al., 2008). Both methods seek toreduce the number of traits, but typically dimensionality reductionestablishes new combinations of traits that confer more variance in thedataset. Conversely, the selection of traits through machine learning

Fig. 3. Relative distance plasticity index (RDPI) estimated for each species andcalculated for each trait along the latitudinal gradient. The figure shows themean and standard deviation for the three species studied. Different lettersindicate significant differences between crabs species (Tukey post hoc, error5%).

Table 2Number of clusters that best represent the data according to the EM algorithm(Expectation – Maximization) for the different species under study, n is thesample size, df represents degrees of freedom, BIC represents Bayesian in-formation criterion, and ICL represents Integrated Complete-data Likelihood.

Species log likelihood n df BIC ICL Number ofclusters

C. cinereus −603.75 192 98 −1722 −1744 8P. violaceus −917.62 186 41 −2049 −2099 7P. tuberculosus −600.06 183 69 −1559 −1603 6

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

146

Page 8: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

includes and excludes traits without modifying them (Hira and Gillies,2015), the traits selected have been shown by others to be highly plasticin marine crustaceans (Sokolova and Pörtner, 2003; Le Lann et al.,2011). The four variables selected vary directly depending on thetemperature; CTmin and CTmax, and are directly linked to the averageacclimatization temperature in their habitat (Peck et al., 2009). Meta-bolic rates have been shown to differ along latitudinal gradients (Weberet al., 2015), and morphometrics are often related to biogeographicrules such as Bergmann's rule (Walczyńska et al., 2017).

Thermal sensitivities (i.e., critical temperatures and metabolic rate)of the studied species vary in relation to geographic spatial scale. Thecritical temperatures of the studied crabs decreased with latitude, apattern that has been shown for several other ectotherms (Deutschet al., 2008; Gaston et al., 2009; Schulte et al., 2011; Angert et al., 2011;Gaitán-Espitia et al., 2014; Dowd et al., 2015). This pattern is clearlysupported by data in ectotherm terrestrial organisms, however formarine species the evidence is less strong (Sunday et al., 2011). Thephysiological differences among populations that inhabit the high-in-tertidal were more abrupt than differences among populations of thelower intertidal. These results could be related to the effects of tem-perature that are probably damped by the higher heat capacity of theocean compared to high-intertidal microhabitats (Okafor, 2011). Wehave shown that organisms that inhabit low intertidal, where thetemperature is generally more stable, tend to live closer to their criticaltemperatures than organisms that inhabit higher latitudes where thethermal variance is greater. Furthermore, our results show that crabshabiting the high-intertidal are more adapted to these fluctuating en-vironments than many other crabs (Stillman, 2002; Somero, 2002,2010). It should be noted that in some sites, the upper thermal limits ofthe crabs inhabiting the lower intertidal exceeded the thermal max-imum; as such these organisms may be seriously impacted to potentialincreases in temperature. Despite this, behavioral mechanisms could beused to avoid the negative effects of increased temperature (i.e., Bogerteffects, see Mitchell et al., 2013).

Oxygen limitation may play a crucial role in the regulation ofthermal tolerance (Pörtner, 2001, 2010; Pörtner and Knust, 2007),especially for intertidal ectotherms that can maximize their PO2 duringnormoxy to maintain their heart rate and thereby not affect theirthermal tolerance (Pörtner et al., 1985; Bjelde et al., 2015). There areno clear patterns of metabolic rates along environmental gradients,nevertheless Fusi et al. (2016) have shown that high-intertidal organ-isms are better adapted to thermal stress due to the physiologicalbenefits provided by atmospheric oxygen (see also Lardies et al., 2011).Despite this, it is known that low temperatures are expected to reducemetabolic rates (Yamahira and Conover, 2002; Gaitán-Espitia andNespolo, 2014; Gaitan-Espitia et al., 2017), and sometimes organismshave to make compensations if there is a reduction, for example, infitness (Fangue et al., 2009). Similar to the results of Gaitan-Espitiaet al. (2017) for P. violaceus and Monaco et al. (2010) for P. granulosus,here we found no differences in the metabolic rates of C. cinereus and P.

violaceus distributed along a latitudinal gradient. However, we did de-tect significant differences in the metabolic rates of P. tuberculosus alongthe gradient studied, which could be related to metabolic compensa-tions (Catenazzi, 2016).

As mentioned above, metabolic rate was the trait that increasedphenotypic plasticity according to the RDPI. Metabolism plays a centralrole in all biological processes; therefore the degree of flexibility thatadjusts to the metabolic rate could allow the animals to face the con-stant extreme thermal variations of the intertidal. Conversely, the traitsof thermal sensitivities would be adjusted by local adaption at thetemperature most frequently experienced by animals, thus the pheno-typic flexibility of these traits is weaker.

4.2. Phenotypic integration with machine learning

It is known that natural selection by local thermal environmentsleads to population divergence (Dillon et al., 2009; Gangloff et al.,2015). Thus, the thermal physiology of ectothermic organisms is likelysubject to strong selection (Artacho and Nespolo, 2009; May et al.,2017). Here, using machine learning, we found differences in thephysiological performance among the studied species, and these dif-ferences were mainly related to the environmental variability of thehabitat in which the species are present. Our results suggest adaptivedivergence of the integrated physiological traits of the intertidal crabsstudied. The previous is in agreement with recent studies showing thatenvironmental gradients can exert strong selection on the thermalphysiology of ectotherms (Richter-Boix et al., 2010). The degree ofdivergence among the integrated traits is likely related to the level ofthermal environmental heterogeneity experienced because phenotypicplasticity is directly linked to phenotypic integration (Gianoli andPalacio‐López, 2009). Here, the highest degree of trait integration wasfound for organisms in the high-intertidal in the greatly variable en-vironmental. We hypothesize that the chronic variability of the high-intertidal does not favor plasticity but rather encourages adaptation.Greater phenotypic integration was found for C. cinereus according tosamples sites, this was contrary to that found for population that in-habit low-intertidal zones, where lower thermal variability would likelypromote plasticity to cope with sporadic thermal events occur such inextreme low tides, which can also be reflected in the RDPI (see Fig. 3).In this sense, in a functional and integrated phenotype, any canaliza-tion, homeostasis or absence of plasticity of a certain trait should reflectsome type of damping of plasticity in some other trait (Forsman, 2015).Interestingly, the classification accuracy of the machine learning algo-rithms used here decreased with increased depth in the intertidal (seeFig. 4A, B; Table 2). This result could be due to the more stable phy-sical-chemical features of the low-intertidal (Stillman and Somero,1996; Somero, 2002; Stillman, 2002), which could facilitate themaintenance of homeostasis. Here the unsupervised machine learningalgorithms (EM algorithm and k-means) showed that maintained aclustering associated to the study sites, that is, the groups assigned were

ledomesraoCledomeniF(A) (B)

Fig. 4. Correct assignments with performance measures for the different algorithms used to classify the three species: Naive Bayes (NB); Linear discriminant analysis(LDA); k nearest neighbors (knn); Neural networks (ANN). (A) Fine model. (B) Coarse model.

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

147

Page 9: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

similar to the number of localities used in the study, the results of whichwere similar in both algorithms (i.e., EM algorithm and k-means), evenhaving different types of metrics (Jung et al., 2014). Both methodsshowed that the level of associations of populations that are distributedin the latitudinal gradient varies depending on the crab species, thismeans that the degree of plasticity of the species is inversely linked tothe level of associations between the traits. On the other hand, all of thesupervised learning algorithms used showed similar results. Here theclassification values were distributed within two standard deviations ofthe mean (see Fig. 4A, B). According to the results of the classifications,it is surprising to observe that the non-linear methods had similar re-sults with the linear modeling (NB, LDA and knn).

Machine learning is an important tool for incorporating trait in-tegration and possibly local adaptation when classifying groups.According to Amzallag (2000) and Guerrero-Bosagna and Skinner(2012), the heritability of a trait decreases with the degree of connec-tion it has with other traits, and this degree of connection is inverselyinvolved in plasticity. At the phenotypic level, the study of integrationmay have evolutionary implications because selection should favor aseries of traits that result in a functional phenotype (Cheverud, 1996;Pigliucci and Preston, 2004). Mechanistically, it is clear that physiolo-gical performance of organisms is the result of an integrated phenotypeand that such integration depends on the environmental variabilitywhere these organisms inhabit. For example, the close relationshipbetween the metabolic rates and the thermal tolerance capacities (in C.cinereus populations) can be attributed to the fact that these organismsare more likely to experience chronic thermal variations compared toorganisms that are distributed in the low-intertidal. Furthermore, wefound that the crab C. cinereus exhibited high metabolic rates withelevated energy costs as compensation to tolerate to extreme tem-peratures (see also Berger and Emlet, 2007). Namely, energy costs candecrease fitness in environments where organisms are often subjectedto their thermal extremes (Sokolova et al., 2012; Sokolova, 2013;Kingsolver et al., 2013).

These results highlight the complexity of adaptive thermal re-sponses of multiple traits in natural populations and the role of localthermal variation as a selective force that drives diversity in physiolo-gical traits. Consequently, the integration of physiological traits pro-vides an understanding more holistic of the thermal effects to en-vironmental change and how this could affect different species on smallor large spatial scales. Nevertheless, we cannot discard a possiblephylogenetic effect on thermal physiological traits in the studied crabsbecause two species are closely related and only future analysis withmore species added and applying phylogenetically independent con-trasts to comparative data could help us to clarify this aspect. Despitethis, our results increase the understanding of physiological integrationalong environmental gradients and how to analyze phenotypic plasti-city of integrated phenotypes

In relation to using machine learning in this study, we can point outas strengths, the fact that the clustering algorithms used (unsupervisedlearning) can effectively discover the natural grouping of the data forthis application. These clusters are identified regardless of the datasample size. The trait selection algorithm (commonly known as featureselection in machine learning) uses a wrapper approach, this meansthat the selected traits are obtained based on the effect of these on thepredictive performance of the classifier. Here the purpose was toidentify a subset of traits, regardless of the relation (or not) amongstthem, but that obtained the best predictive performance which is thefinal goal. Of course, there are limitations or weaknesses when using amachine learning approach that cannot be neglected. For example,given that machine learning is data-driven, with little intervention of adomain expert, the first assumption is that the input data is correct andreliable. Any conclusion drawn from the models will be conditioned tothe quality of the data. This means that how the experimental data isacquired and what type of data preprocessing was used are funda-mental. Also, unlike the unsupervised learning techniques, the

predictive performance of the supervised learning algorithms dependson the training sample size, moreover, the evaluation of the general-ization power of the predictive models depends of the test set samplesize. These limitations (and others) should not be forgotten when usinga machine learning approach. In this work, we have adopted somestrategies to reduce the effect of these limitations, through the use of n-fold cross validation which allowed us to get the most out of the data totrain and test the models. Also, for classification, we have not assumedone specific machine learning technique beforehand to use, instead wehave evaluated several techniques of different nature, some of thesewhich do not learn any parameters, like k-nn, in comparison with ar-tificial neural networks, that must learn from the training set theparameters of the network (weights and biases). Also, standard ex-perimental protocols were employed throughout the data acquisitionprocess to ensure the quality of the input data to the algorithms.Overall, future studies should aim using machine learning algorithm'sto make precise predictions about the distribution range shifts ofmarine ectotherm organisms in the scenario of global warming.

Acknowledgements

The study received financial support from CONICYT FONDECYT1140092 grant to MAL. The Millennium Nucleus Center for the Study ofMultiple-drivers on Marine Socio-Ecological Systems (MUSELS) byMINECON Project NC120086 also gave support to MAL and SJO duringfinal stages of the project. MAL acknowledge the support of PIACONICYT ACT-172037. SJO acknowledges BECAS CONICYT No.21150739 for financial support. All experiments were conducted ac-cording to common Chilean law.

Appendix A. Supplementary material

Supplementary data associated with this article can be found in theonline version at doi:10.1016/j.jtherbio.2018.09.016.

References

Acevedo, M.A., Corrada-Bravo, C.J., Corrada-Bravo, H., Villanueva-Rivera, L.J., Aide,T.M., 2009. Automated classification of bird and amphibian calls using machinelearning: a comparison of methods. Ecol. Inform. 4 (4), 206–214.

Ameztegui, A., 2017. Plasticity: An R package to determine several plasticity indices.GitHub repository. ⟨https://github.com/ameztegui/Plasticity⟩.

Amzallag, G.N., 2000. Connectance in Sorghum development: beyond the genotype–-phenotype duality. BioSystems 56 (1), 1–11.

Angert, A.L., Sheth, S.N., Paul, J.R., 2011. Incorporating population-level variation inthermal performance into predictions of geographic range shifts. Integr. Comp. Biol.51 (5), 733–750.

Angilletta, M.J., Niewiarowski, P.H., Navas, C.A., 2002. The evolution of thermal phy-siology in ectotherms. J. Therm. Biol. 27 (4), 249–268.

Angilletta Jr, M.J., Steury, T.D., Sears, M.W., 2004. Temperature, growth rate, and bodysize in ectotherms: fitting pieces of a life-history puzzle. Integr. Comp. Biol. 44 (6),498–509.

Angilletta, M.J., 2009. Thermal Adaptation: A Theoretical and Empirical Synthesis.Oxford University Press, Oxford.

Aravena, G., Broitman, B., Stenseth, N.C., 2014. Twelve years of change in coastal up-welling along the central-northern coast of Chile: spatially heterogeneous responsesto climatic variability. PLoS One 9 (2), e90276.

Armbruster, W.S., Pélabon, C., Bolstad, G.H., Hansen, T.F., 2014. Integrated phenotypes:understanding trait covariation in plants and animals. Philos. Trans. R. Soc. B 369(1649), 20130245.

Arnold, S.J., Phillips, P.C., 1999. Hierarchical comparison of genetic variance‐covariancematrices. coastal‐inland divergence in the garter snake, thamnophis elegans.Evolution 53 (5), 1516–1527.

Artacho, P., Nespolo, R.F., 2009. Natural selection reduces energy metabolism in thegarden snail, Helix aspersa (Cornu aspersum). Evolution 63 (4), 1044–1050.

Barría, A.M., Lardies, M.A., Beckerman, A.P., Bacigalupe, L.D., 2014. Latitude or bio-geographic breaks? Determinants of phenotypic (co) variation in fitness-related traitsin Betaeus truncatus along the Chilean coast. Mar. Biol. 161 (1), 111–118.

Barros, V.R., Silvestri, G.E., 2002. The relation between sea surface temperature at thesubtropical south-central Pacific and precipitation in southeastern South America. J.Clim. 15 (3), 251–267.

Bates, D., Sarkar, D., Bates, M.D., Matrix, L., 2007. The lme4 package. R. Package Version2 (1), 74.

Baythavong, B.S., 2011. Linking the spatial scale of environmental variation and the

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

148

Page 10: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

evolution of phenotypic plasticity: selection favors adaptive plasticity in fine-grainedenvironments. Am. Nat. 178 (1), 75–87.

Berger, M.S., Emlet, R.B., 2007. Heat-shock response of the upper intertidal barnacleBalanus glandula: thermal stress and acclimation. Biol. Bull. 212 (3), 232–241.

Bidau, C.J., Martí, D.A., 2007. Clinal variation of body size in Dichroplus pratensis(Orthoptera: acrididae): inversion of Bergmann's and Rensch's rules. Ann. Èntomol.Soc. Am. 100 (6), 850–860.

Bjelde, B.E., Miller, N.A., Stillman, J.H., Todgham, A.E., 2015. The role of oxygen indetermining upper thermal limits in Lottia digitalis under air exposure and submer-sion. Physiol. Biochem. Zool. 88 (5), 483–493.

Brock, G., Pihur, V., Datta, S., Datta, S., 2011. clValid, an R package for cluster validation.Journal of Statistical Software (Brock et al., March 2008).

Broitman, B.R., Navarrete, S.A., Smith, F., Gaines, S.D., 2001. Geographic variation ofsoutheastern Pacific intertidal communities. Mar. Ecol. Progress. Ser. 224, 21–34.

Calosi, P., Bilton, D.T., Spicer, J.I., Atfield, A., 2008. Thermal tolerance and geographicalrange size in the Agabus brunneus group of European diving beetles (Coleoptera:Dytiscidae). J. Biogeogr. 35 (2), 295–305.

Caruana, R., Niculescu-Mizil, A., 2006. An empirical comparison of supervised learningalgorithms. In: Proceedings of the 23rd International Conference on Machinelearning, ACM, pp. 161–168.

Castañeda, L.E., Lardies, M.A., Bozinovic, F., 2004. Adaptive latitudinal shifts in thethermal physiology of a terrestrial isopod. Evolut. Ecol. Res. 6 (4), 579–593.

Castañeda, L.E., Lardies, M.A., Bozinovic, F., 2005. Interpopulational variation in re-covery time from chill coma along a geographic gradient: a study in the commonwoodlouse, Porcellio laevis. J. Insect Physiol. 51 (12), 1346–1351.

Catenazzi, A., 2016. Ecological implications of metabolic compensation at low tem-peratures in salamanders. PeerJ 4, e2072.

Chapperon, C., Seuront, L., 2011. Behavioral thermoregulation in a tropical gastropod:links to climate change scenarios. Glob. Change Biol. 17 (4), 1740–1749.

Cheverud, J.M., 1996. Developmental integration and the evolution of pleiotropy. Am.Zool. 36 (1), 44–50.

Clarke, A., Johnston, N.M., 1999. Scaling of metabolic rate with body mass and tem-perature in teleost fish. J. Anim. Ecol. 68 (5), 893–905.

Clunies-Ross, C.W., Riffenburgh, R.H., 1960. Geometry and linear discrimination.Biometrika 47 (1/2), 185–189.

Deutsch, C.A., Tewksbury, J.J., Huey, R.B., Sheldon, K.S., Ghalambor, C.K., Haak, D.C.,Martin, P.R., 2008. Impacts of climate warming on terrestrial ectotherms across la-titude. Proc. Natl. Acad. Sci. USA 105 (18), 6668–6672.

Dillon, M.E., Wang, G., Garrity, P.A., Huey, R.B., 2009. Thermal preference in Drosophila.J. Therm. Biol. 34 (3), 109–119.

Dimitriadou, E., Hornik, K., Leisch, F., Meyer, D., Weingessel, A., Leisch, M.F., 2006. Thee1071 package. Misc Functions of Department of Statistics (e1071), TU Wien.

Dowd, W.W., King, F.A., Denny, M.W., 2015. Thermal variation, thermal extremes andthe physiological performance of individuals. J. Exp. Biol. 218 (12), 1956–1967.

Evans, T.G., Hofmann, G.E., 2012. Defining the limits of physiological plasticity: howgene expression can assess and predict the consequences of ocean change. Philos.Trans. R. Soc. Lond. B: Biol. Sci. 367 (1596), 1733–1745.

Fangue, N.A., Podrabsky, J.E., Crawshaw, L.I., Schulte, P.M., 2009. Countergradientvariation in temperature preference in populations of killifish Fundulus heteroclitus.Physiol. Biochem. Zool. 82 (6), 776–786.

Forsman, A., 2015. Rethinking phenotypic plasticity and its consequences for individuals,populations and species. Heredity 115 (4), 276.

Fort, H., Mungan, M., 2015. Using expectation maximization and resource overlaptechniques to classify species according to their niche similarities in mutualisticNetworks. Entropy 17 (11), 7680–7697.

Fraley, C., Raftery, A.E., 2006. MCLUST Version 3: An R Package for Normal MixtureModeling and Model-based Clustering. Washington Univ Seattle Dept of Statistics,Seattle, WA.

Fusi, M., Cannicci, S., Daffonchio, D., Mostert, B., Pörtner, H.O., Giomi, F., 2016. Thetrade-off between heat tolerance and metabolic cost drives the bimodal life strategyat the air-water interface. Sci. Rep. 6, 19158.

Gangloff, E.J., Vleck, D., Bronikowski, A.M., 2015. Developmental and immediatethermal environments shape energetic trade-offs, growth efficiency, and metabolicrate in divergent life-history ecotypes of the garter snake Thamnophis elegans.Physiol. Biochem. Zool. 88 (5), 550–563.

Gaitán-Espitia, J.D., Nespolo, R., 2014. Is there metabolic cold adaptation in terrestrialectotherms? Exploring latitudinal compensation in the invasive snail Cornu as-persum. J. Exp. Biol. 217 (13), 2261–2267.

Gaitán-Espitia, J.D., Arias, M.B., Lardies, M.A., Nespolo, R.F., 2013a. Variation in thermalsensitivity and thermal tolerances in an invasive species across a climatic gradient:lessons from the land snail Cornu aspersum. PLoS One 8 (8), e70662.

Gaitán-Espitia, J.D., Bacigalupe, L.D., Opitz, T., Lagos, N.A., Timmermann, T., Lardies,M.A., 2014. Geographic variation in thermal physiological performance of the in-tertidal crab Petrolisthes violaceus along a latitudinal gradient. J. Exp. Biol. 217 (24),4379–4386.

Gaitán-Espitia, J.D., Bacigalupe, L.D., Opitz, T., Lagos, N.A., Osores, S., Lardies, M.A.,2017. Exploring physiological plasticity and local thermal adaptation in an intertidalcrab along a latitudinal cline. J. Therm. Biol. 68 (A), 14–20.

Gaitán-Espitia, J.D., Bruning, A., Mondaca, F., Nespolo, R.F., 2013b. Intraspecific varia-tion in the metabolic scaling exponent in ectotherms: testing the effect of latitudinalcline, ontogeny and transgenerational change in the land snail Cornu aspersum.Comp. Biochem. Physiol. Part A: Mol. Integr. Physiol. 165 (2), 169–177.

Game, E.T., Caley, M.J., 2006. The stability of P in coral reef fishes. Evolution 60 (4),814–823.

Gardiner, N.M., Munday, P.L., Nilsson, G.E., 2010. Counter-gradient variation in re-spiratory performance of coral reef fishes at elevated temperatures. PLoS One 5 (10),

e13299.Garriga, J., Palmer, J.R., Oltra, A., Bartumeus, F., 2016. Expectation-maximization binary

clustering for behavioural annotation. PLoS One 11 (3), e0151984.Gaston, K.J., Chown, S.L., Calosi, P., Bernardo, J., Bilton, D.T., Clarke, A., Porter, W.P.,

2009. Macrophysiology: a conceptual reunification. Am. Nat. 174 (5), 595–612.Gatusso, J.P., et al., 2015. Contrasting futures for ocean and society from different an-

thropogenic CO2 emissions scenarios. Science 349, 49–55.Gianoli, E., Palacio‐López, K., 2009. Phenotypic integration may constrain phenotypic

plasticity in plants. Oikos 118 (12), 1924–1928.Grassein, F., Till-Bottraud, I., Lavorel, S., 2010. Plant resource-use strategies: the im-

portance of phenotypic plasticity in response to a productivity gradient for twosubalpine species. Ann. Bot. 106 (4), 637–645.

Guerrero-Bosagna, C., Skinner, M.K., 2012. Environmentally induced epigenetic trans-generational inheritance of phenotype and disease. Mol. Cell. Endocrinol. 354(1), 3–8.

Harley, C.D., 2011. Climate change, keystone predation, and biodiversity loss. Science334 (6059), 1124–1127.

Harley, C.D., Denny, M.W., Mach, K.J., Miller, L.P., 2009. Thermal stress and morpho-logical adaptations in limpets. Funct. Ecol. 23 (2), 292–301.

Havens, T.C., Bezdek, J.C., Keller, J.M., Popescu, M., 2008. Dunn’s cluster validity indexas a contrast measure of VAT images. In: Proceedings of the 19th InternationalConference on Pattern Recognition, 2008. ICPR, IEEE, pp. 1–4.

Haykin, S., Principe, J., 1998. Making sense of a complex world [chaotic events mod-eling]. IEEE Signal Process. Mag. 15 (3), 66–81.

Helmuth, B.S., Hofmann, G.E., 2001. Microhabitats, thermal heterogeneity, and patternsof physiological stress in the rocky intertidal zone. Biol. Bull. 201 (3), 374–384.

Helmuth, B., Broitman, B.R., Blanchette, C.A., Gilman, S., Halpin, P., Harley, C.D.,Strickland, D., 2006. Mosaic patterns of thermal stress in the rocky intertidal zone:implications for climate change. Ecol. Monogr. 76 (4), 461–479.

Helmuth, B., Choi, F., Matzelle, A., Torossian, J.L., Morello, S.L., Mislan, K.A.S.,Tockstein, A., 2016. Long-term, high frequency in situ measurements of intertidalmussel bed temperatures using biomimetic sensors. Sci. Data 3, 160087.

Heusner, A.A., 1985. Body size and energy metabolism. Annu. Rev. Nutr. 5 (1), 267–293.Hira, Z.M., Gillies, D.F., 2015. A review of feature selection and feature extraction

methods applied on microarray data. Adv. Bioinforma. 2015.Hoffmann, A.A., Parsons, P.A., 1989. An integrated approach to environmental stress

tolerance and life history variation: desiccation tolerance in Drosophila. Biol. J. Linn.Soc. 37 (1–2), 117–136.

Janecek, A., Gansterer, W., Demel, M., Ecker, G., 2008. On the relationship betweenfeature selection and classification accuracy. In: New Challenges for Feature Selectionin Data Mining and Knowledge Discovery pp. 90–105.

Johnston, I.A., Bennett, A.F., 2008. Animals and Temperature: Phenotypic andEvolutionary Adaptation Cambridge University Press, Cambridge.

Jung, Y.G., Kang, M.S., Heo, J., 2014. Clustering performance comparison using K-meansand expectation maximization algorithms. Biotechnol. Biotechnol. Equip. 28 (sup1),S44–S48.

Kampichler, C., Wieland, R., Calmé, S., Weissenberger, H., Arriaga-Weiss, S., 2010.Classification in conservation biology: a comparison of five machine-learningmethods. Ecol. Inform. 5 (6), 441–450.

Kasun, L.L.C., Yang, Y., Huang, G.B., Zhang, Z., 2016. Dimension reduction with extremelearning machine. IEEE Trans. Image Process. 25 (8), 3906–3918.

Kawecki, T.J., Ebert, D., 2004. Conceptual issues in local adaptation. Ecol. Lett. 7 (12),1225–1241.

Khaliq, I., Hof, C., Prinzinger, R., Böhning-Gaese, K., Pfenninger, M., 2014. Global var-iation in thermal tolerances and vulnerability of endotherms to climate change. Proc.R. Soc. Lond. B: Biol. Sci. 281 (1789), 20141097.

Kingsolver, J.G., Huey, R.B., 2008. Size, temperature, and fitness: three rules. Evolut.Ecol. Res. 10 (2), 251–268.

Kingsolver, J.G., Diamond, S.E., Buckley, L.B., 2013. Heat stress and the fitness con-sequences of climate change for terrestrial ectotherms. Funct. Ecol. 27 (6),1415–1423.

Kovac, H., Käfer, H., Stabentheiner, A., Costa, C., 2014. Metabolism and upper thermallimits of Apis mellifera carnica and A. m. ligustica. Apidologie 45 (6), 664–677.

Kuhn, M., 2008. Caret package. J. Stat. Softw. 28 (5), 1–26.Lardies, M.A., Munoz, J.L., Paschke, K.A., Bozinovic, F., 2011. Latitudinal variation in the

aerial/aquatic ratio of oxygen consumption of a supratidal high rocky‐shore crab.Mar. Ecol. 32 (1), 42–51.

Le Lann, C., Wardziak, T., Van Baaren, J., van Alphen, J.J., 2011. Thermal plasticity ofmetabolic rates linked to life‐history traits and foraging behaviour in a parasitic wasp.Funct. Ecol. 25 (3), 641–651.

Lindgren, B., Laurila, A., 2009. Physiological variation along a geographical gradient: isgrowth rate correlated with routine metabolic rate in Rana temporaria tadpoles? Biol.J. Linn. Soc. 98 (1), 217–224.

Liu, T., Moore, A.W., Yang, K., Gray, A.G., 2005. An investigation of practical approx-imate nearest neighbor algorithms. In: Advances in Neural Information ProcessingSystems pp. 825–832.

Lutterschmidt, W.I., Hutchison, V.H., 1997. The critical thermal maximum: history andcritique. Can. J. Zool. 75 (10), 1561–1574.

Magozzi, S., Calosi, P., 2015. Integrating metabolic performance, thermal tolerance, andplasticity enables for more accurate predictions on species vulnerability to acute andchronic effects of global warming. Glob. Change Biol. 21 (1), 181–194.

Martinez-Pardo, R., 1990. Major Neogene events of the Southeastern Pacific: the Chileanand Peruvian record. Palaeogeogr. Palaeoclimatol. Palaeoecol. 77 (3–4), 263–278.

May, R., Catenazzi, A., Corl, A., Santa‐Cruz, R., Carnaval, A.C., Moritz, C., 2017.Divergence of thermal physiological traits in terrestrial breeding frogs along a tro-pical elevational gradient. Ecol. Evol. 7 (9), 3257–3267.

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

149

Page 11: Discoveringdivergenceinthethermalphysiologyofintertidalcrabsalong … · the year2100 underthebusiness-as-usualscenario (Gatussoet al., 2015)Inbothcases,weusedfourrespirometricchamberssimulta-neously

McLean, C.A., Moussalli, A., Stuart‐Fox, D., 2014. Local adaptation and divergence incolour signal conspicuousness between monomorphic and polymorphic lineages in alizard. J. Evolut. Biol. 27 (12), 2654–2664.

Messier, J., McGill, B.J., Enquist, B.J., Lechowicz, M.J., 2017. Trait variation and in-tegration across scales: is the leaf economic spectrum present at local scales?Ecography 40 (6), 685–697.

Mitchell, K.A., Sinclair, B.J., Terblanche, J.S., 2013. Ontogenetic variation in cold tol-erance plasticity in Drosophila: is the Bogert effect bogus? Naturwissenschaften 100(3), 281–284.

Mohandes, M., Rehman, S., Halawani, T.O., 1998. Estimation of global solar radiationusing artificial neural networks. Renew. Energy 14 (1–4), 179–184.

Monaco, C.J., Brokordt, K.B., Gaymer, C.F., 2010. Latitudinal thermal gradient effect onthe cost of living of the intertidal porcelain crab Petrolisthes granulosus. Aquat. Biol.9 (1), 23–33.

Mora, C., Maya, M.F., 2006. Effect of the rate of temperature increase of the dynamicmethod on the heat tolerance of fishes. J. Therm. Biol. 31 (4), 337–341.

Murphy, K.P., 2006. Naive Bayes Classifiers. University of British Columbia, Vancouver.Navarrete, A.H., Lagos, N.A., Ojeda, F.P., 2014. Latitudinal diversity patterns of Chilean

coastal fishes: searching for causal processes. Rev. Chil. De. Hist. Nat. 87 (1), 2.Navarrete, S.A., Wieters, E.A., 2000. Variation in barnacle recruitment over small scales:

larval predation by adults and maintenance of community pattern. J. Exp. Mar. Biol.Ecol. 253 (2), 131–148.

Naya, D.E., Catalán, T., Artacho, P., Gaitán-Espitia, J.D., Nespolo, R.F., 2011. Exploringthe functional association between physiological plasticity, climatic variability, andgeographical latitude: lessons from land snails. Evolut. Ecol. Res. 13 (6), 647–659.

Okafor, N., 2011. Nature, properties, and distribution of water. In: EnvironmentalMicrobiology of Aquatic and Waste Systems. Springer, Dordrecht.

Olden, J.D., Lawler, J.J., Poff, N.L., 2008. Machine learning methods without tears: aprimer for ecologists. Q. Rev. Biol. 83 (2), 171–193.

Park, Y.S., Chon, T.S., 2007. Biologically-inspired machine learning implemented toecological informatics. Ecol. Model. 203 (1), 1–7.

Peck, L.S., Clark, M.S., Morley, S.A., Massey, A., Rossetti, H., 2009. Animal temperaturelimits and ecological relevance: effects of size, activity and rates of change. Funct.Ecol. 23 (2), 248–256.

Peters, D.P., Havstad, K.M., Cushing, J., Tweedie, C., Fuentes, O., Villanueva-Rosales, N.,2014. Harnessing the power of big data: infusing the scientific method with machinelearning to transform ecology. Ecosphere 5 (6), 1–15.

Pigliucci, M., Preston, K.A. (Eds.), 2004. Phenotypic Integration: Studying the Ecologyand Evolution of Complex Phenotypes. Oxford University Press on Demand, NewYork.

Pörtner, H., 2001. Climate change and temperature-dependent biogeography: oxygenlimitation of thermal tolerance in animals. Naturwissenschaften 88 (4), 137–146.

Pörtner, H.O., 2010. Oxygen-and capacity-limitation of thermal tolerance: a matrix forintegrating climate-related stressor effects in marine ecosystems. J. Exp. Biol. 213 (6),881–893.

Pörtner, H.O., Knust, R., 2007. Climate change affects marine fishes through the oxygenlimitation of thermal tolerance. Science 315 (5808), 95–97.

Pörtner, H.O., Heisler, N., Grieshaber, M.K., 1985. Oxygen consumption and mode ofenergy production in the intertidal worm Sipunculus nudus L.: definition and char-acterization of the critical PO2 for an oxyconformer. Respir. Physiol. 59 (3), 361–377.

Press, S.J., Wilson, S., 1978. Choosing between logistic regression and discriminantanalysis. J. Am. Stat. Assoc. 73 (364), 699–705.

Rao, C.R., 1948. The utilization of multiple measurements in problems of biologicalclassification. J. R. Stat. Soc. Ser. B (Methodol.) 10 (2), 159–203.

Recknagel, F., 2001. Applications of machine learning to ecological modelling. Ecol.Model. 146 (1), 303–310.

Renaud, S., Auffray, J.C., Michaux, J., 2006. Conserved phenotypic variation patterns,evolution along lines of least resistance, and departure due to selection in fossil ro-dents. Evolution 60 (8), 1701–1717.

Richter-Boix, A., Teplitsky, C., Rogell, B., Laurila, A., 2010. Local selection modifiesphenotypic divergence among Rana temporaria populations in the presence of geneflow. Mol. Ecol. 19 (4), 716–731.

Ricklefs, R.E., Wikelski, M., 2002. The physiology/life-history nexus. Trends Ecol. Evol.17 (10), 462–468.

Ripley, B., 2015. MASS: Support Functions and Datasets for Venables and Ripley’s MASS,R Package Version 7.

Ripley, B., Venables, W., Ripley, M.B., 2016. Package ‘nnet’. R package version, 7-3.Ruel, J.J., Ayres, M.P., 1999. Jensen's inequality predicts effects of environmental var-

iation. Trends Ecol. Evol. 14 (9), 361–366.Saeys, Y., Inza, I., Larrañaga, P., 2007. A review of feature selection techniques in

bioinformatics. bioinformatics 23 (19), 2507–2517.Salazar-Ciudad, I., 2007. On the origins of morphological variation, canalization, ro-

bustness, and evolvability. Integr. Comp. Biol. 47 (3), 390–400.Sathya, R., Abraham, A., 2013. Comparison of supervised and unsupervised learning

algorithms for pattern classification. Int. J. Adv. Res. Artif. Intell. 2 (2), 34–38.Schulte, P.M., Healy, T.M., Fangue, N.A., 2011. Thermal performance curves, phenotypic

plasticity, and the time scales of temperature exposure. Integr. Comp. Biol. 51 (5),691–702.

Sokolova, I.M., 2013. Energy-limited tolerance to stress as a conceptual framework tointegrate the effects of multiple stressors. Integr. Comp. Biol. ict028.

Sokolova, I.M., Pörtner, H.O., 2003. Metabolic plasticity and critical temperatures foraerobic scope in a eurythermal marine invertebrate (Littorina saxatilis, Gastropoda:littorinidae) from different latitudes. J. Exp. Biol. 206 (1), 195–207.

Sokolova, I.M., Frederich, M., Bagwe, R., Lannig, G., Sukhotin, A.A., 2012. Energyhomeostasis as an integrative tool for assessing limits of environmental stress toler-ance in aquatic invertebrates. Mar. Environ. Res. 79, 1–15.

Somero, G.N., 2002. Thermal physiology and vertical zonation of intertidal animals:optima, limits, and costs of living. Integr. Comp. Biol. 42 (4), 780–789.

Somero, G.N., 2005. Linking biogeography to physiology: evolutionary and acclimatoryadjustments of thermal limits. Front. Zool. 2 (1), 1.

Somero, G.N., 2010. The physiology of climate change: how potentials for acclimatizationand genetic adaptation will determine ‘winners' and ‘losers'. J. Exp. Biol. 213 (6),912–920.

Stillman, J.H., 2002. Causes and consequences of thermal tolerance limits in rocky in-tertidal porcelain crabs, genus Petrolisthes. Integr. Comp. Biol. 42 (4), 790–796.

Stillman, J.H., Somero, G.N., 2000. A comparative analysis of the upper thermal tolerancelimits of eastern Pacific porcelain crabs, genus Petrolisthes: influences of latitude,vertical zonation, acclimation, and phylogeny. Physiol. Biochem. Zool. 73 (2),200–208.

Stillman, J., Somero, G., 1996. Adaptation to temperature stress and aerial exposure incongeneric species of intertidal porcelain crabs (genus Petrolisthes): correlation ofphysiology, biochemistry and morphology with vertical distribution. J. Exp. Biol. 199(8), 1845–1855.

Sunday, J.M., Bates, A.E., Dulvy, N.K., 2011. Global analysis of thermal tolerance andlatitude in ectotherms. Proc. R. Soc. Lond. B: Biol. Sci. 278 (1713), 1823–1830.

Sunday, J.M., Bates, A.E., Kearney, M.R., Colwell, R.K., Dulvy, N.K., Longino, J.T., Huey,R.B., 2014. Thermal-safety margins and the necessity of thermoregulatory behavioracross latitude and elevation. Proc. Natl. Acad. Sci. USA 111 (15), 5610–5615.

Thessen, A., 2016. Adoption of machine learning techniques in ecology and earth science.One Ecosyst. 1, e8621.

Torres Dowdall, J., Handelsman, C.A., Ruell, E.W., Auer, S.K., Reznick, D.N., Ghalambor,C.K., 2012. Fine‐scale local adaptation in life histories along a continuous environ-mental gradient in Trinidadian guppies. Funct. Ecol. 26 (3), 616–627.

Übeyli, E.D., 2007. Implementing automated diagnostic systems for breast cancer de-tection. Expert Syst. Appl. 33 (4), 1054–1062.

Valladares, F., Sanchez-Gomez, D., Zavala, M.A., 2006. Quantitative estimation of phe-notypic plasticity: bridging the gap between the evolutionary concept and its eco-logical applications. J. Ecol. 94 (6), 1103–1116.

Valletta, J.J., Torney, C., Kings, M., Thornton, A., Madden, J., 2017. Applications ofmachine learning in animal behaviour studies. Anim. Behav. 124, 203–220.

Via, S., Hawthorne, D., 2005. Back to the future: genetic correlations, adaptation andspeciation. Genet. Adapt. 147–156.

Walczyńska, A., Franch-Gras, L., Serra, M., 2017. Empirical evidence for fast temperature-dependent body size evolution in rotifers. Hydrobiologia 1–10.

Watson, S.A., Morley, S.A., Bates, A.E., Clark, M.S., Day, R.W., Lamare, M., Peck, L.S.,2014. Low global sensitivity of metabolic rate to temperature in calcified marineinvertebrates. Oecologia 174 (1), 45–54.

Weber, M.J., Brown, M.L., Wahl, D.H., Shoup, D.E., 2015. Metabolic theory explains la-titudinal variation in common carp populations and predicts responses to climatechange. Ecosphere 6 (4), 1–16.

Witten, D.M., Tibshirani, R., 2011. Penalized classification using Fisher's linear dis-criminant. J. R. Stat. Soc.: Ser. B (Stat. Methodol.) 73 (5), 753–772.

Yamahira, K., Conover, D.O., 2002. Intra‐vs. interspecific latitudinal variation in growth:adaptation to temperature or seasonality? Ecology 83 (5), 1252–1262.

Yamahira, K., Kawajiri, M., Takeshi, K., Irie, T., 2007. Inter‐and intrapopulation variationin thermal reaction norms for growth rate: evolution of latitudinal compensation inectotherms with a genetic constraint. Evolution 61 (7), 1577–1589.

Yampolsky, L.Y., Schaer, T.M., Ebert, D., 2014. Adaptive phenotypic plasticity and localadaptation for temperature tolerance in freshwater zooplankton. Proc. R. Soc. Lond.B: Biol. Sci. 281 (1776), 20132744.

Zagal, C., Hermosilla, C., 2007. Guía de invertebrados marinos del sur de Chile.FantásticoSur.

Zamora‐Camacho, F.J., Reguera, S., Moreno‐Rueda, G., 2014. Bergmann's rule rules bodysize in an ectotherm: heat conservation in a lizard along a 2200‐metre elevationalgradient. J. Evolut. Biol. 27 (12), 2820–2828.

Zippay, M.L., Hofmann, G.E., 2010. Physiological tolerances across latitudes: thermalsensitivity of larval marine snails (Nucella spp.). Mar. Biol. 157 (4), 707–714.

S.J.A. Osores et al. Journal of Thermal Biology 78 (2018) 140–150

150