Introduction

Several extrinsic and intrinsic factors affect the morphological expression of living organisms at different levels of organization, as well as at different temporal and spatial scales (Ruehl et al. 2011; Hopper et al. 2017; Scott et al. 2020). From an adaptive point of view, environmental changes can promote the divergence of phenotypic traits and even speciation (Hopper et al. 2017). In aquatic ecosystems, historical and recent environmental changes can cause adaptive divergence in fish in morphological traits associated with habitat use and resource exploitation (Winemiller 1991; Winemiller et al. 1995; Johnson and Belk 2001; Ruehl et al. 2011; Scott et al. 2020). In this sense, when lineages with independent evolutionary histories have been subjected to similar environmental pressures, it is common to observe repeated morphological patterns (Oke et al. 2017).

In fishes, the adaptive importance of repeated morphology has been widely studied at the spatial, temporal, and taxonomic scales (Ruehl et al. 2011). The most frequent and evolutionarily important adaptive changes have been observed in the shape, size, and proportions of the body, due to their functional implications in the swimming performance of organisms during different stages of growth (Costa and Cataudella 2007; Franssen et al. 2013; Sánchez-González and Nicieza 2017; Hernández et al. 2022).

In this sense, the Cichlidae family serves as a reference model for understanding the relationship of historical and recent environmental factors to morphological variation (McMahan et al. 2017; Hernández et al. 2022; Říčan et al. 2023). In the diversification of Neotropical cichlids, changes in body shape have been observed to be recurrent and related to ecological opportunity to inhabit new environments (Říčan et al. 2016; López-Fernández 2021). Repeated morphological patterns observed in several cichlid lineages also reflect different populations’ responses to the same selection pressures (Říčan et al. 2016, 2023; Aguilar-Contreras et al. 2021; López-Fernández 2021).

In several groups of fish, including the Cichlidae family, there exist divergent morphological patterns in body shape that have been linked to swimming efficiency (lotic and lentic) and habitat preference (benthic or pelagic) of organisms under different flowing water conditions (Langerhans and Reznick 2009). In riverine environments where the velocity of water is generally fast and unstable, the body shape of organisms tends to be shallowed and fusiform, while in estuarine environments, where the velocity of water is low or absent, the body shape tends to be deep and robust (Langerhans 2008; Langerhans and Reznick 2009; Franssen et al. 2013; Steele and López-Fernández 2014; Říčan et al. 2016, 2023; Kelley et al. 2017; Aguilar-Contreras et al. 2021). Although flowing water seems to significantly influence the expression of body shape, there are other abiotic and biotic factors that may be important, mainly in species that are distributed in estuarine and riverine environments, such as depth, temperature, turbidity, salinity, dissolved oxygen, habitat structure, and predation (Svanbäck and Eklöv 2002; Eklöv and Svanbäck 2006; Olsson et al. 2007; Langerhans and Reznick 2009; Crampton 2011; Burress et al. 2023).

Due to their recent diversification and intricate evolutionary and biogeographic history, understanding the environmental complexity of aquatic ecosystems and its effect on the phenotypic expression of Neotropical cichlids is not a simple task, particularly in the lineages of Northern Middle America, where studies on morphological variation and evolution are still incipient (López-Fernández 2021). In this way, it is necessary to deepen the study of morphodynamics to understand its importance in the processes that have promoted the diversification of one of the most interesting Neotropical cichlid communities. Species with a wide distribution and physiological capacity to occupy different types of environments are ideal for evaluating the adaptive response of morphological traits to the variation of environmental factors; such is the case of the cichlids Amphilophus trimaculatus Günther 1867, Astatheros macracanthus (Günther 1864), and Mayaheros beani (Jordan 1889). These cichlids are found in estuarine and riverine environments on the Pacific slope in Mexico and Guatemala (Miller et al. 2005). Furthermore, Amphilophus trimaculatus and A. macracanthus inhabit the upper part of the Grijalva basin in Mexico (Miller et al. 2005; González-Díaz et al. 2008).

Thus, the objective of this study was to evaluate intraspecific variation in body shape in three distantly related cichlids from Northern Middle America to assess the existence of repeated patterns of variation associated with estuarine and riverine environments. From the morphological patterns reported in other cichlids, it was expected that the body shape of estuarine specimens would be deeper and robust, while in riverine, it would be shallow and fusiform (Říčan et al. 2016; Kelley et al. 2017).

Methods

We selected 237 specimens from the Fish Collection of El Colegio de la Frontera Sur (ECOSC) (Supplementary 1): Amphilophus trimaculatus (n = 90; 47 estuarine and 43 riverine environments; standard length (SL) 27.53–213.56 mm); Astatheros macracanthus (n = 54; 33 estuarine and 21 riverine; SL 32.42–147.70 mm); Mayaheros beani (n = 93; 37 estuarine and 56 riverine; SL 39.28–176.46 mm) (Fig. 1).

Fig. 1
figure 1

Map of collection sites of each species. (A) M. beani, (B) A. trimaculatus, (C) A. macracanthus. Estuarine specimens in colored symbol and riverine in white color

Morphometric analysis

Each specimen was photographed from the left side using a Sony Alpha A37 digital camera, which was mounted on a tripod to standardize the object distance, and with a ruler placed in each photograph. Body shape was described and compared using geometric morphometric analysis performed with the MorphoJ 1.07a software (Klingenberg 2011). The body shape description was obtained with the configuration of 17 anatomical landmarks (Fig. 2A). Digitization and image processing were performed using tpsDig version 2.31 (Rohlf 2017) and tpsUtil version 1.81 (Rohlf 2018) software.

Fig. 2
figure 2

A landmark configuration used to describe body shape in the geometric morphometric analysis. (1) Anterior end of the upper maxilla, (2) start of the dorsal fin, (3) end of the dorsal fin, (4) upper boundary of the caudal fin, (5) center of the caudal fin, (6) base of the caudal fin, (7) end of the anal fin, (8) origin of the anal fin, (9) origin of the pelvic fin, (10) ventral insertion of the pectoral fin, (11) dorsal insertion of the pectoral fin, (12) most posterior end at the operculum, (13) upper end of the operculum, (14) cleitral fusion, (15) posterior end of the maxilla, (16) anterior extreme of the sphenotic orbit, (17) posterior extreme of the sphenotic orbit. B Measures used in the linear analysis. (a) Anterior end of the upper maxilla to start of the dorsal fin, (b) anterior end of the upper maxilla to most posterior end of the operculum, (c) start and end of the dorsal fin, (d) start of the dorsal fin to ventral insertion of the pelvic fin, (e) end of the dorsal fin to end of the anal fin, (f) upper boundary to base of the caudal fin to base of the caudal fin, (g) end of the anal fin to base of the caudal fin, (h) anterior to posterior extreme of the sphenotic orbit

A generalized Procrustes analysis was performed to eliminate the variation caused by the scale, position, and orientation of the specimens (Zelditch et al. 2004; Adams 2014). Later, the effect of allometry produced by the size differences among specimens was removed using a regression analysis with the Procrustes coordinates and the centroid size. The residual values obtained from the regression were used in the analyses below (Klingenberg 2011).

Statistical analysis

A principal component analysis (PCA) was performed for each species, including both estuarine and riverine specimens, to determine the pattern of differentiation and distribution in the morphospace. Wireframe graphs of the first two principal components were used to visualize and describe changes in body shape among specimens. Statistical differences in body shape among environments were determined through discriminant function analyses (DFA) with Procrustes and Mahalanobis distances (with 1000 rounds of permutation).

Based on the wireframe graphs, we identified the body sections in which greater variation existed for all species. We obtained eight linear measurements to evaluate whether they were discriminant among the estuarine and riverine groups by species (Fig. 2B). Measurements were obtained from the photographs using the CoordGen8 software (IMP, Sheets 2014), and linear measures were standardized using proportions with respect to the standard length to eliminate variation in specimen size. Later, we conducted a t-test to determine whether significant differences existed according to estuarine and riverine environments. Box plots were elaborated to visualize the variation of measures, which were expressed in proportion to standard length. For statistical analyses and the elaboration of box plots, we used the PAST software, version 4.08 (Hammer et al. 2001).

Results

Amphilophus trimaculatus

In the PCA, the first two components explained 49.9% of the variance (Fig. 3A). Throughout PC1 (34.78%), an overlap of the specimens from both environments was observed; however, specimens from the estuarine environment tended to be located toward the positive axis, while those from the riverine environment trended toward the negative axis. In PC2 (15.12%), there was no morphological separation of the specimens due to the environment. From the wireframe graphs, it was observed that, in the riverine environment, the specimens had shorter heads, longer caudal peduncles, and shallower bodies. In contrast, in the estuarine environment, the specimens had longer heads, shorter caudal peduncles, and deeper bodies. In the discriminant function analysis (DFA) with the Procrustes and Mahalanobis distances, significant differences were found in the body shape of the specimens from both environments (p < 0.001, Table 1). The t-test indicated significant differences in three linear measurements between the specimens using the environment: the anterior edge of the upper jaw to the posterior edge of the operculum (b), the anterior insertion of the dorsal fin to the anterior insertion of the fin pectoral (d), and eye diameter (h) (Fig. 2A; Table 2).

Fig. 3
figure 3

Morphospace formed by PC1 and PC2 for specimens from estuarine (circles) and riverine environment (triangles). A A. trimaculatus, B A. macracanthus, and C M. beani. Wireframe graphs are associated to the most negative and positive values of the PC1 and PC2

Table 1 Procrustes and Mahalanobis distances between estuarine and riverine specimens of each specie
Table 2 p values of t-test of linear measures between estuarine and riverine specimens of each specie. The description of the measures is in Fig. 2B

Astatheros macracanthus

The first two components of the PCA explained 42.5% of the variance (Fig. 3B). In the middle axis of PC1 (27.15%), there was an overlap between individuals from both environments; however, there was a tendency for specimens from the riverine environment to be located toward the negative axis and the estuarine individuals toward the positive axis. From the wireframe graphs, it was observed that, in the riverine environment, the specimens had shallowed bodies, shorter heads, and longer caudal peduncles, while estuarine specimens had deeper bodies, longer heads, and shorter caudal peduncles. In PC2 (15.35%), no separation of the specimens by environment was observed. The DFA with the Procrustes and Mahalanobis distances showed that the body shape of both groups demonstrated significant differences (p < 0.001, Table 1). The t-test determined that five linear measurements differed significantly in specimens from each environment. These were the anterior insertion of the dorsal fin to the posterior insertion of the same (c), the anterior insertion of the dorsal fin to the anterior insertion of the pectoral fin (d), the posterior insertion of the dorsal fin to the posterior insertion of the anal fin (e), the posterior insertion of the anal fin to the posterior ventral edge of the caudal peduncle (g), and the diameter of the eye (h) (Fig. 3B; Table 2).

Mayaheros beani

In the PCA, the first two components explained 46.75% of the variance (Fig. 3C). In PC1 (30.59%), there was an overlap of some specimens from both environments; however, many of the riverine specimens were located at the negative axis and the estuarine specimens at the positive axis. In PC2 (16.16%), there was no morphological separation according to environment type. With the wireframe graphs, it was observed that, in the riverine environment, the specimens had shallow bodies, with shorter heads and longer caudal peduncles, while the estuarine specimens had deeper bodies with longer heads and shorter caudal peduncles. The DFA with the Procrustes and Mahalanobis distances showed that the body shape of both groups differed significantly (p < 0.001, Table 1). The t-test indicated that seven linear measurements differed significantly between specimens from each environment: the anterior edge of the upper jaw to the anterior insertion of the dorsal fin (a), the anterior edge of the upper jaw to the posterior edge of the operculum (b), anterior insertion of the dorsal fin to posterior insertion of the dorsal fin (c), anterior insertion of the dorsal fin to anterior insertion of the pectoral fin (d), posterior insertion of the dorsal fin to insertion posterior edge of the anal fin (e), the posterior edge of the caudal peduncle (f), and the posterior insertion of the anal fin to the posterior ventral edge of the caudal peduncle (g) (Fig. 3C; Table 2).

Discussion

Three distance-related cichlids of northern Middle America, A. trimaculatus, A. macracanthus, and M. beani, showed repeated patterns of variation in body shape related to the types of environment they inhabit. In specimens from a riverine environment, the organisms had shallow bodies, with short heads and elongated caudal peduncles. In contrast, the estuarine specimens had deep bodies, long heads, and short caudal peduncles. This pattern of body variation is in agreement with the expected hypothesis and supports what has been documented in other cichlids and groups of fish, which present divergent phenotypes mainly related to the water flow regimes of lotic and lentic environments (Perazzo et al. 2019; Scott et al. 2020; Hernández et al. 2022).

From the functional adaptive standpoint, in riverine environments, the shallow body shape reduces resistance to water flow and optimizes the energy expenditure of organisms to stay in the current. In contrast, in estuarine environments, a robust and deep body shape facilitates faster burst speeds and increased maneuverability (Langerhans and DeWitt 2004; Langerhans 2008; Langerhans and Reznick 2009; Franssen et al. 2013; Scott et al. 2020). For example, in the cichlid Caquetaia kraussii, populations from lentic marsh areas of Colombia have been observed exhibiting a more robust and compact body type, in contrast to those from riverine environments, which have showed a more slender and elongated body type (Hernández et al. 2022). Likewise, in populations of the Midas cichlid (Amphilophus spp.) from the lakes of Nicaragua, the same pattern was observed only in limnetic and benthic environments, respectively (Recknagel et al. 2014).

Changes in head size are associated with the capture and processing of food (Perazzo et al. 2019; Larouche et al. 2022), as well as with the acquirement of dissolved oxygen and/or atmospheric air (Schofield et al. 2009; Gotanda et al. 2012; Hernández et al. 2022). In the cichlids Mayaheros uropthalmus and Pseudocrenilabrus multicolor, it was reported that specimens with larger heads have larger gills, allowing them to obtain oxygen in brackish environments (Schofield et al. 2009; Gotanda et al. 2012). The same pattern of variation has been found in the Poeciliidae family, in which some species subjected to low concentrations of dissolved oxygen in sulfur environments have adapted to this condition by increasing the size of the gills and head (Tobler and Hastings 2011).

Although a repeated pattern of variation has been found to be associated with body height, head size, and caudal peduncle length, the magnitude of the changes in the three species observed here is different in other traits. In the morphospace of M. beani, the separation of the specimens between both environments was greater, and more discriminating linear measurements were also found in this species. Furthermore, in the morphospaces of Astatheros macracanthus and Amphilophus trimaculatus, the separation between specimens from both environments was smaller (Fig. 3), as was the number of discriminating linear measurements (Fig. 4). However, while the environment is a powerful force that shapes the phenotypic expression of these cichlids, it is also important to recognize that genetic, developmental, functional, and phylogenetic factors also contribute to or limit the direction and magnitude of morphological variation in each species (Seilacher 1991).

Fig. 4
figure 4

Discriminatory linear measures expressed in percent of standard length for estuarine specimens (E) and riverine specimens (R). Statistically different species marked with an asterisk. Graphs with mean and standard deviation. The description of the linear measures is in Fig. 2B

The behavior of the linear measurements between the analyzed species from both environments had some differences. For example, in M. beani, the caudal peduncle was deeper in specimens from estuarine environments and shallower in riverine specimens. In A. macracanthus, the length from the anterior edge of the mouth to the origin of the dorsal fin in riverine specimens was longer than in estuarine specimens. Finally, in A. trimaculatus, the diameter of the eye was greater in riverine specimens than in estuarine ones, indicating that variation in body shape can vary within these species. While it is true that repeated patterns of variation in body shape are common in fish, and even expected to some extent, in some morphological traits, the direction and magnitude of changes are not predictable and may be the result of local selection pressures or intrinsic factors to the species. It is known that, when several species face a common environmental gradient, their divergence patterns can exhibit some shared and some unique traits (Langerhans and Dewitt 2004).

Conclusions

The study of morphological variation in three distantly related cichlids from Northern Middle America showed a repeated pattern in body shape associated with environment type. Specimens from riverine environments had shallower bodies, shorter heads, and elongated caudal peduncles, while those from estuarine environments exhibited deeper bodies, longer heads, and shorter caudal peduncles. Despite these convergences in the pattern of variation, the magnitude of the morphological changes was not the same across these species, with M. beani specimens showing the greatest differentiation. Furthermore, some morphological traits of the three species even showed changes in opposite directions. Thus, the environment seems to notably influence the phenotypic expression of body shape in the three species; however, other intrinsic factors of the species also seem to influence the magnitude and direction of changes in other morphological traits.