Introduction

Coral reefs are highly productive and structurally complex environments that have promoted diversification of marine teleost fishes (Alfaro et al. 2007; Price et al. 2011). Indeed, they house a wide array of fishes where niche partitioning may be viewed as one of the key factors in the course of their diversification. These resulting high levels of ecological diversity have allowed the stable co-occurrence of similar species (Schoener 1974; Colwell and Fuentes 1975). Within that context, unravelling the multiplicity of factors acting upon the fish community represents a key challenge to be tackled. Community assembly is governed by niche-based processes (including habitat filtering and competitive exclusion) and by the phylogenetic relatedness among organisms (Cavender-Bares et al. 2009; Ndiribe et al. 2013). Nowadays, the use of phylogenetic information has become more widespread in ecological studies focusing on the structure of organisms (Losos et al. 2003) because it gives valuable insight into the pattern of phylogenetic niche conservatism (PNC). This pattern is defined as the tendency of lineages to retain their niche-related traits through speciation events and over macroevolutionary time (Crisp and Cook 2012), with a corollary that closely related species exhibit higher ecological similarities than expected based on their phylogenetic relationships (Webb et al. 2002; Losos 2008).

Niche-based processes include the study of feeding ecology of species and populations, which is usually evaluated with two methods. (1) Stomach content analysis is widely recognized as a standard technique to determine the diet but only displays the most recent meal (Hyslop 1980). (2) Stable isotope ratios of carbon (C13/C12, hereafter noted as δ13C) and nitrogen (N15/N14, noted as δ15N) are a classical approach in trophic ecology, allowing time-integrated studies of animal diet or niche assessment (Post 2002; Newsome et al. 2007). More recently, the stable isotope ratio of sulphur (S34/S32 or δ34S) has been used as an additional tracer of food sources (McCutchan et al. 2003; Connolly et al. 2004; Moreno et al. 2010). The high variation in δ34S values between seawater (~22.9‰) and sediments (~1‰) helps to discriminate the origins of prey and locations of feeding grounds within the marine environment (Kharlamenko et al. 2001; Fry et al. 2008; Mittermayr et al. 2014). Even though δ34S is extremely helpful to disentangle trophic interactions among organisms, no study has integrated this element to investigate the ecology of coral reef fishes. Other information regarding habitat preferences and social behaviours, needed to appraise all aspects of ecological niches, are commonly collected by visual observations (e.g. Lecchini and Galzin 2005).

Many studies in diverse taxa (e.g. insular terrestrial organisms and marine invertebrates) used the historic relationships among species to evaluate PNC patterns of various ecological traits (e.g. Knouft et al. 2006; Roy et al. 2009; Cooper et al. 2011). The study of phylogenetic signal constitutes one method to detect PNC and greatly varies among traits (Blomberg et al. 2003; Losos 2008). The niche-complementarity hypothesis predicts that species similar along one dimension of the niche must differ along other axes to support their coexistence (Schoener 1974). However, in some clades, there is not always tangible evidence sustaining that prediction because interactions among species may be responsible for a non-random distribution of species within the ecological space. Consequently, distantly related species might share more in common than closely related ones (Losos et al. 2003). To date, there is an overall scarcity of documented cases investigating the interactions between feeding strategy, habitat and behaviour when taking into account phylogenetic information, especially in coral reef fishes.

The Pomacentridae family (damselfishes), which groups 399 species (Eschmeyer et al. 2016), represents a suitable system to investigate factors shaping the community in reef ecosystems. Interestingly, damselfishes show a great diversity of habitats (Ormond et al. 1996; Lecchini and Galzin 2005) and various social behaviours (Fishelson 1998). Furthermore, recent studies have established a firm phylogenetic framework for their radiation (Cooper et al. 2009; Cooper and Santini 2016) and revealed that damselfishes have iteratively evolved along three main feeding strategies, i.e. pelagic feeders, benthic foragers and an intermediate group (Cooper and Westneat 2009; Frédérich et al. 2013, 2016a, b). Several field observations also suggested a strong link between diet, habitat use and social behaviour in Pomacentridae (Emery 1973; Frédérich et al. 2009), but they only constitute a qualitative assumption. The analysis of quantitative data is therefore needed to formally establish these correlations.

The aim of the present study is to examine the congruence between diet, habitat and social behaviour in damselfishes (Pomacentridae) from coral reefs at Moorea Island, French Polynesia. We first explore the niche partitioning of Pomacentridae through an approach combining three stable isotope ratios (δ15N, δ13C and δ34S) and the analysis of stomach contents. Then, we describe the habitat and social behaviour of each species. We investigate whether there is a correlation between dietary and habitat–behaviour characteristics at the present time. We further explore the relationships between these ecological traits across the phylogeny of Pomacentridae and test whether these traits show a phylogenetic signal. Overall, our data provide a better understanding of the processes ruling the damselfish community assembly and the causes of its structure.

Materials and methods

Sampling and collection of ecological data

The sampling campaign was carried out from April to July 2014 in Moorea, an island located in the South Pacific (17°30′S, 149°50′W; French Polynesia). The lagoon in Moorea comprises coral patches found in between sand banks and a fringing reef shaped as a wall. The barrier reef includes the outer reef slope and the reef crest and is hereafter referred as the outer reef. Sampling occurred at Opunohu Bay located on the north side of Moorea but also in front of Haapiti in south-west part of the island (Fig. 1; Table 1). Damselfishes—belonging to four subfamilies and 17 species—were either caught with a speargun or by the use of clove oil across the whole reef at Opunohu Bay (Table 1). Four species (Chromis iomelas, Chromis margaritifer, Dascyllus flavicaudus and Dascyllus trimaculatus) were ubiquitous with individuals foraging in the two main reef zones (the lagoon and the outer reef), which were treated separately during statistical analyses. Furthermore, individuals of Abudefduf septemfasciatus were collected in two distinct reefs, i.e. in the Opunohu Bay and in front of Haapiti (Fig. 1). Sampling for A. septemfasciatus was only conducted along the beach at both reef locations and each population was treated separately when performing statistical tests.

Fig. 1
figure 1

Map of Moorea (French Polynesia) with sampling sites indicated by white-filled circles. At Opunohu Bay, sampling occurred in coral patches along the beach shore, in the fringing reef and also on the outer slope of the barrier reef (the outer reef). Another site was located in front of Haapiti where one species was collected along the beach shore

Table 1 Damselfish species caught in Moorea in 2014 with indication of the number of individuals (ind.) used for each method: stomach content (SC) and stable isotope (SI) analyses

Fishes were euthanized by an overdose of MS-222 (tricaine-methanosulfanate) and placed on ice in cool boxes when brought back to the boat. The standard length of each fish individual was measured to the nearest millimetre using a vernier caliper (Table 1). The entire digestive tract was removed and conserved in 70% ethanol for stomach content analysis. Tissue samples of epaxial muscles were cut off and placed in a drying oven for further isotope analyses. Various food sources and primary producers (e.g. red or brown algae, benthic invertebrates and zooplankton) were taken at the same locations where fishes were collected (in the lagoon and the outer reef). Specifically, zooplankton was sampled with a 250-µm net towing at 2 m depth above reefs. This sampling method was replicated three times and is similar to the technique used to study the niche partitioning of damselfishes in Madagascar (Frédérich et al. 2009).

Stomach content analysis

Prey items were identified, sorted to class or order levels and counted under a binocular microscope Leica MS-5. Food sources were classified into six categories reflecting different ecological types of prey: zooplankton, benthic algae, vagile invertebrates, rubble, benthic egg and insect. Zooplankton included copepods (i.e. Poecilostomatoida, Calanoida, Harpacticoida), pelagic eggs of fishes, nauplii and zoea larvae. Benthic algae grouped filamentous and macroalgae (brown and red algae). Vagile invertebrates comprised small crabs, amphipods, isopods, gastropods, polychaetes and platyhelminthes. Rubble was also found in stomachs; its origin assumed to be either rocks or corals. Benthic egg meant eggs from all types of organisms (e.g. fish or invertebrates) deposited on the substrate. Finally, the insect group included two orders of Hexapoda: Hymenoptera and Diptera. The number of items in each food category was recorded and expressed as a percentage to the total number of items for each individual stomach (Hyslop 1980).

Stable isotope analysis

Samples of fish muscle tissues and potential food sources were dried for 48 h at 60 °C and ground into a homogenous fine powder using a mortar and a pestle. All samples of food sources containing carbonates (e.g. algae samples and zooplankton) were acidified with HCl vapours (37%) for 24 h in order to remove inorganic carbon, which is not related to diet but a source of bias in the analysis of carbon stable isotope ratios (Mateo et al. 2008). Stable isotope ratios of carbon (13C/12C), nitrogen (15N/14N) and sulphur (34S/32S) were measured at the Laboratory of Oceanology of the University of Liège, using an isotope ratio mass spectrometer (IsoPrime 100, Isoprime, UK) coupled in continuous flow to an elemental analyser (vario MICRO cube, Elementar, Germany). Isotope ratios were conventionally expressed as δ values in ‰ relative to the vPDB (Vienna Pee Dee Belemnite) for carbon (C), atmospheric N2 for nitrogen (N) and Canon Diablo troilite (CDT) for sulphur (S) (Coplen 2011). Certified reference materials from the International Atomic Energy Agency (IAEA, Vienna, Austria) used were sucrose (IAEA-C6, δ13C = −10.8 ± 0.5‰; mean ± standard deviation), ammonium sulphate (IAEA-N2, δ15N = 20.3 ± 0.2‰) and silver sulphide (IAEA-S1, δ34S = −0.3 ± 0.3‰). Hundreds of replicate assays of internal laboratory standards (powder of sulfanilic acid) indicate measurement errors (standard deviation) of ±0.2‰ for δ13C, ±0.3‰ for δ15N and ±0.5‰ for δ34S.

Description of habitat and social behaviour

The ecology of each studied damselfish species was recorded during underwater visual surveys by one observer. Observations were conducted while scuba diving or snorkelling for 50–60 min at the same location where fishes were caught, i.e. along the beach shore, in the fringing reef and the outer reef (Fig. 1). In order to capture potential variability of behaviours, duplicate observations at each sampling site were done at the same time, between 2 p.m. and 5 p.m. Our dataset was also completed using information from the literature (Fishelson 1998; Hattori and Casadevall 2016; Pratchett et al. 2016). The habitats and social behaviours for 17 species were summarized into five categorical traits (Table 2). (1) The location of fishes along the coral reef ecosystem was distributed in three categories: “lagoon”, “outer reef” or in “both” parts. (2) Microhabitat requirements were coded as “sandy areas” for fishes found between coral patches in the lagoon, “dead corals/rocks”, “corals (O)” for damselfishes having obligated relationships with their live coral hosts and “corals (F)” for species having facultative relationships with corals which they use infrequently or opportunistically (Pratchett et al. 2016). (3) The depth range was the minimal and maximal depths expressed in metres (Pratchett et al. 2016). (4) The group type and territoriality were coded together: group type consisted of seven categories, whereas territoriality was simply defined as “yes” or “no”. The classification for the group size was: “solitary” when species were exclusively found alone, “solitary or pairing”, “small social groups” when a size-ordered dominance hierarchy existed among fishes, shoals (i.e. aggregations of individuals swimming in different directions): “small shoals” (with 3–10 individuals), “medium shoals” (with 11–20 individuals) or “large shoals” (with >21 individuals) and finally “large schools” (>21 individuals foraging around diverse shelters and swimming in a coordinate manner towards the same direction) (Fishelson 1998; Hattori and Casadevall 2016). (5) The water column position of fishes, defined as its average swimming distance from the substrate, was coded using three main categories: “OS” for species staying all the time close to the bottom, “CS” for species commonly swimming at an approximate distance of 0.5–1.0 m from the substrate and “FR” for damselfishes freely swimming throughout the water column without being restricted to one particular area.

Statistical analyses and phylogenetic comparative methods

Stomach content analysis

Stomach content data were analysed using the PRIMER software version 6.1.6 (Plymouth Routines in Multivariate Ecological Research Ltd, UK; Clarke 1993). The stomach data of each fish individual were treated as a sampling unit. These data were firstly standardized before creating a Bray–Curtis matrix to quantify the compositional dissimilarity. An analysis of similarity (ANOSIM) was then performed to test similarities among stomach contents grouped per species.

Stable isotope analysis

Food sources

Differences among food sources were only investigated for zooplankton because it was the only food source with replicates. A t test was conducted in R version 3.2.4 (R Core Team 2016) because data were normally distributed and variances homogeneous.

Damselfishes

We explored our CNS isotopic dataset of damselfishes with a principal component analysis (PCA) using the PRIMER software version 6.1.6. (Clarke 1993). PCA consists of rotating the axes such that as much variability as possible is accounted on consecutive orthogonal principal components (PCs) depicting a multidimensional space (Davis 1986). This space was thus reduced to two dimensions as the first two PCs cumulated 92.8% of the total variation (Supplementary Fig. S1). The eigenvectors of δ13C and δ15N were similar in magnitude and direction along both PC axes (Supplementary Fig. S1), showing that these two isotope ratios were strongly correlated among species. Since we multiplied our δ13C data by −1 in the PCA, the similar δ13C and δ15N eigenvectors revealed that the lower the δ13C values, the higher were the δ15N values. Conversely, in the PC1-2 space, the δ34S eigenvector appeared orthogonal to the δ13C and δ15N eigenvectors (Supplementary Fig. S1), indicating that δ34S represented independent information regarding the segregation of species within the isotopic space. Based on these findings, we conducted a second PCA using only δ13C and δ15N values. This allowed us to describe most (89.9%) of the variance in δ13C and δ15N values with a single PC axis (hereafter referred as PCC–N). Differences among species were thus explored using these PCC–N scores and the δ34S values, separately. Kruskal–Wallis tests (kruskal.test) were conducted with the R package lattice version 0.2-33 because assumptions of normality and homogeneity of variances were not met. When significant differences (P ≤ 0.05) were found, a post hoc test (kruskalmc) was conducted for multiple pairwise comparisons among species with the R package pgirmess version 1.6.4. Furthermore, a hierarchical clustering (dendrogram) was also constructed with PRIMER software version 6.1.6. (Clarke 1993) to further infer similarities among species.

Relationships between diet, habitat and social behaviour

The relationship between trophic data (defined either by stomach content (SC) or by stable isotopes (SI)) and habitat–behaviour information was first tested without phylogenetic information and then by integrating the evolutionary history of damselfishes. For both tests, the first step was to transform data by creating a dissimilarity matrix for each dataset: SC, SI and habitat–behaviour. The Bray–Curtis distance was used for both SC and SI databases given the continuous values and was performed with the R package ecodist version 1.2.9 (Goslee and Urban 2007). As the habitat–behaviour dataset contains only discrete values, we applied the Gower distance using the R package cluster version 2.0.3 (Gower 1971; Maechler et al. 2015). Then a multidimensional space with a principal coordinates analysis (Pcoa) was computed on each dissimilarity matrix with the R package ape version 3.4 (Paradis et al. 2004). We applied the Cailliez correction, which consists of adding a constant value to the original distances in the matrix, in order to keep only positive values (Cailliez 1983; Legendre and Legendre 1998). Euclidean distances in the two-dimensional (2D) space were significantly correlated with initial Bray–Curtis distances for both SC and SI dissimilarity matrices, and with initial Gower distances for habitat–behaviour dissimilarity matrix (Mantel test with 105 iterations, r = 0.92; P < 0.001; r = 0.97, P < 0.001; r = 0.99, P < 0.001, respectively). This step ensures that most of the variability was robustly captured in each 2D space. For accuracy, we also tested whether adding one axis increased the quality of the multidimensional space but it did not. The coordinates in the 2D space (Pcoa 1 and Pcoa 2) for each matrix (i.e. the trophic data matrix, either with SC or with SI, and the habitat–behaviour matrix) have been used for the following tests. This data transformation into multidimensional spaces is conceptually similar to the framework developed by functional ecologists in order to quantify functional diversity (e.g. Mouillot et al. 2014; Maire et al. 2015).

The degree of association between the 2D space of trophic data and the 2D space of habitat–behaviour was assessed using a standard multivariate regression based on Procrustes distances with the function procD.lm (Adams and Otárola-Castillo 2013). Then, we performed another Procrustes distance-based method for evaluating regression linear models for the 2D space with phylogenetic information. This approach (D-PGLS) was used to test for independent relationships between trophic and habitat–behaviour data under a Brownian motion model of evolution (Adams 2014b; Collyer et al. 2015). This test was done with the function procD.pgls. Both analyses (procD.lm and procD.pgls) were performed with 106 iterations in the R package geomorph version 3.0.1 (Adams and Otárola-Castillo 2013).

Phylogenetic signals of ecological traits

We also explored whether trophic data and habitat–behaviour traits showed a phylogenetic signal, which is defined as the statistical dependence among species trait values due to their phylogenetic relatedness (Revell et al. 2008). This test was applied on the 2D space of SC, SI and habitat–behaviour using the function physignal from the R package geomorph and performed with 105 iterations (Adams and Otárola-Castillo 2013; Adams 2014a). The calculated K is a mathematical generalization of the Kappa statistic from Blomberg et al. (2003). A K mult > 1 means a stronger resemblance of species than expected under a Brownian motion model of evolution, whereas K mult < 1 indicates a greater malleability of traits.

The molecular time-calibrated and multigene phylogeny of Pomacentridae from Frédérich et al. (2013) was pruned to match the species in the dataset and provided an estimate of the evolutionary relationships among taxa. Almost all the studied species were found in that phylogeny, except for Plectroglyphidodon johnstonianus, Pomachromis fuscidorsalis and Chromis acares. Plectroglyphidodon johnstonianus and P. fuscidorsalis present very similar morphologies and colour patterns to P. dickii and P. richardsonii, for which molecular data are available. Thus, the phyletic position of P. dickii and P. richardsonii was used for P. johnstonianus and P. fuscidorsalis, respectively. Then, we applied the function locate.yeti in the R package phytools version 0.5-20 to place C. acares in the phylogeny of damselfishes using continuous traits (Revell 2012; Revell et al. 2015). We used meristic data from Allen (1991) which were then transformed into a multidimensional space following the same steps as for the habitat–behaviour trait (see above). We used the coordinates from the first five Pcoas into the function locate.yeti (Mantel test results with 105 iterations: r = 0.88; P < 0.001). We also tested whether adding one dimension improved the quality of the multidimensional space but it was not the case. The time-calibrated phylogeny including the 17 studied species from Moorea was used in the D-PGLS analysis and in the tests for phylogenetic signal.

Results

Trophic diversity

Stomach contents

The stomachs of 273 individuals were analysed but 35 of them were empty (Table 1). In every species, stomachs were partially filled with unidentifiable items. The origin of this amorphous material was uncertain, and thus this item was excluded from all statistical analyses. For the four ubiquitous species, we found no significant differences in stomach contents between the lagoonal individuals and the ones caught in the outer reef (Supplementary Table S1). No significant differences appeared between the population of A. septemfasciatus from Opunohu Bay and the one from Haapiti. Overall, we found some significant differences in the stomach contents among the 17 species (ANOSIM global test, R = 0.501, P < 0.001), but some can be clustered together (pairwise comparison tests, R > 0.5; Fig. 2; Supplementary Table S1). Cluster A comprises nine species (D. trimaculatus, C. iomelas, C. margaritifer, Chromis vanderbilti, Pomacentrus pavo, Chromis viridis, Pomachromis fuscidordalis, D. flavicaudus and Chromis acares) for which zooplankton contributed the most to their diet (71–91%). Individuals of D. trimaculatus and C. viridis were partially feeding on vagile benthic invertebrates, respectively, 6 and 15%. Abudefduf sexfasciatus and Dascyllus aruanus formed the second cluster (B). Zooplankton and benthic algae almost equally contributed to the diet of D. aruanus, whereas benthic food sources (algae, vagile invertebrates and benthic eggs) filled 23% of stomachs of A. sexfasciatus. Cluster C grouped A. septemfasciatus, Chrysiptera brownriggii, Stegastes nigricans, Plectroglyphidodon lacrymatus, Plectroglyphidodon johnstonianus and Stegastes fasciolatus for which stomachs were filled with 71–100% of benthic algae. Vagile invertebrates (8%) were also found in A. septemfasciatus but insects filled 25% of their stomachs (Fig. 2).

Fig. 2
figure 2

Dietary compositions of the 17 damselfish species caught in Moorea in 2014. The six food categories are represented by different colour patterns. Clustering was performed with analysis of similarity (ANOSIM) on stomach content data

Stable isotopes

The potential food sources displayed lower δ13C and δ15N values than damselfishes (Fig. 3a), but their δ34S values were within the same range as the ones δ34S of fishes, except for red algae from the outer reef whose value was slightly higher (Fig. 3b). The algal sources from the lagoon had δ13C values varying between −12‰ and −10‰, between 4 and 5‰ for δ15N values. In contrast, red algae from the outer reef displayed lower δ13C values and higher δ15N values. It should be noted that we sampled different types of algae in the outer reef but we only obtained isotope ratios for red algae. The values of vagile invertebrates from the lagoon were −12.7‰ for δ13C and 6.0‰ for δ15N. Samples of zooplankton collected in the lagoon and in the outer reef showed similar values for δ15N and δ34S (t tests, t 3 = 0.46, P > 0.05 and t 3 = 1.59, P > 0.05), but their δ13C values were significantly different (t test, t 3 = −3.71, P < 0.05). Overall, potential food sources displayed variation in δ13C values when comparing the two main reef zones. Zooplankton and algae showed less negative δ13C values in the lagoon than in the outer reef (Fig. 3a). However, δ34S values (17.7–19.8‰) of these food sources were found within a same range between reef zones (Fig. 3b).

Fig. 3
figure 3

a Average (±standard deviation, SD) δ15N and δ13C values of the 17 damselfish species caught in Moorea in 2014. Clustering (Groups 1, 2 and 3) was based on multiple pairwise comparisons on PCC–N scores of damselfishes. Grouping within the outer reef was shown with A and B; whereas it was indicated with a, b and c in the lagoon. b Average (±SD) δ34S and δ13C values of the 17 damselfish species caught in Moorea in 2014. Clustering (Groups i, ii and iii) was based on multiple pairwise comparisons on δ34S values of damselfishes. Species abbreviations are provided in Table 1. Four species (Chromis iomelas, Chromis margaritifer, Dascyllus flavicaus and Dascyllus trimaculatus) were ubiquitous with individuals foraging in the two main reef zones, i.e. the lagoon and the outer reef. One species (Abudefduf septemfasciatus) was caught in two distinct reef locations (in front of Haapiti and in Opunohu Bay). An upward-pointing triangle represents species caught in front of Haapiti, whereas a downward-pointing triangle indicates species collected in Opunohu Bay. White-filled triangles represent species caught in the lagoon, whereas black-filled triangles mean species gathered in the outer slope of the barrier reef (the outer reef). Food sources are represented by a diamond icon and were all collected in Opunohu Bay. The white-filled diamond refers to the lagoon, while the grey-filled diamond means that food sources were gathered in the outer reef

Significant differences among damselfish species according to their PCC–N scores were found (Kruskal–Wallis test, H 20 = 209.62, P < 0.001). Post hoc tests showed three main groups of species (referred to as groups 1, 2, and 3; Supplementary Table S2), which are illustrated on the plot of δ15N versus δ13C (Fig. 3a) and further supported by results of the dendrogram (Supplementary Fig. S2). Group 1 is composed of three species exclusively found in the outer reef (C. acares, C. vanderbilti and P. fuscidorsalis), individuals from the outer reef of the four ubiquitous species (C. iomelas, C. margaritifer, D. flavicaudus and D. trimaculatus) and also lagoonal individuals of D. trimaculatus. Group 2 is composed of nine species in total, including lagoonal individuals of three ubiquitous species (C. iomelas, C. margaritifer and D. flavicaudus), three species strictly from the outer reef (P. johnstonianus, P. lacrymatus and S. fasciolatus) and three species only foraging in the lagoon (A. sexfasciatus, C. viridis and P. pavo). Group 3 consisted of four species only present in the lagoon: A. septemfasciatus from Opunohu and Haapiti, C. brownriggii, D. aruanus and S. nigricans. Furthermore, the variation in δ13C values of potential food sources might impact the trophic diversity of damselfishes along this isotopic axis. Therefore, we repeated statistical analyses on PCC–N scores for each damselfish assemblage: the one from the outer reef and the one from the lagoon. Kruskal–Wallis test and multiple pairwise comparisons delineated two groups of species within the outer reef assemblage (H 8 = 95.51, P < 0.001). The first group comprised seven species including Pomachromis sp., four Chromis and two Dascyllus spp. (Supplementary Table S3; Fig. 3a). The second group in the outer reef contained both species of Plectroglyphidodon and S. fasciolatus. In the lagoon, significant differences among species revealed the presence of three groups (Kruskal–Wallis test, H 11 = 94.45, P < 0.001; Supplementary Table S4; Fig. 3a). The first group consisted of lagoonal individuals from the four ubiquitous species (two Chromis spp. and two Dascyllus spp.) and the second group comprised A. sexfasciatus, C. viridis and P. pavo. Finally, the third group included the same species of Group 3.

Significant differences among damselfish species were also found according to their δ34S values (Kruskal–Wallis test, H 20 = 153.64, P < 0.001). Post hoc tests delineated three main groups (referred to as groups i, ii, and iii; Supplementary Table S5, Fig. 3b), which were further assessed by results of the dendrogram (Supplementary Fig. S3). δ34S values highlighted a segregation between damselfish species from the outer reef and those from the lagoon (Fig. 3b). Group i consisted of five species exclusively caught on the outer reef (C. acares, C. vanderbilti, P. fuscidorsalis, P. lacrymatus and P. johnstonianus), individuals from the outer reef of four ubiquitous species (C. iomelas, C. margaritifer, D. flavicaudus and D. trimaculatus) and finally comprised lagoonal individuals belonging to C. iomelas and C. margaritifer. Group ii included five species all from the lagoon (A. sexfasciatus, C. viridis, C. brownriggii, P. pavo and S. nigricans) and lagoonal assemblages of D. flavicaudus and D. trimaculatus. But it also comprised one species (S. fasciolatus) from the outer reef. Finally, Group iii encompassed two lagoonal species, A. septemfasciatus (from Haapiti and Opunohu) and D. aruanus.

Diversity of habitat and social behaviour

Data regarding habitat and social behaviour are summarized in Table 2. Seven species were exclusively caught in the lagoon. Five of them were gregarious or found in pairs and the other two (C. brownriggii and S. nigricans) presented a solitary behaviour. They were mostly living above 12–16 m depth; however, A. septemfasciatus and C. brownriggii were not encountered below 2–3 m. The two Abudefduf sp. were freely swimming in the water column, while C. viridis, C. brownriggii, D. aruanus and P. pavo were staying close to the bottom at a distance of 0.5–1.0 m. A majority of these species were found above various types of substrate even though D. aruanus and C. viridis were mainly foraging within live, branching corals. Abudefduf septemfasciatus was the only species found in sandy areas in between coral reef patches, and S. nigricans had its shelter in dead corals or rocks. Four species (C. iomelas, C. margaritifer, D. trimaculatus and D. flavicaudus) were ubiquitous and non-territorial. They were all facultative coral-dwelling species forming medium to large shoals in maximum depths of 20 to 55 m. Only D. trimaculatus was observed to freely swim through the entire water column. Finally, the six remaining species exclusively foraged in the outer reef. Three of them (C. acares, C. vanderbilti and P. fuscidorsalis) were gregarious and facultative coral dwellers but staying close to the substrate at maximal depths of 20–37 m. The three last species (P. johnstonianus, P. lacrymatus and S. fasciolatus) were solitary and exhibited a territorial behaviour. Plectroglyphidodon johnstonianus was found deeper than the two other species and was also more restricted into the type of substrate (i.e. live corals).

Table 2 Habitat and behavioural variables coded into five categories for each damselfish species caught in Moorea

Relationship between diet, habitat and social behaviour

Standard multivariate linear regressions revealed significant relationships between trophic data, defined either by stomach contents (SC) or by stable isotopes (SI), and habitat–behaviour information. These correlations were further confirmed when integrating the phylogenetic relationships among species using the D-PGLS analysis (Table 3).

Table 3 Results of standard multivariate linear regression and D-PGLS (multidimensional phylogenetic regression least squares) tests applied on the 17 damselfish species from Moorea (collected in 2014) to test the degree of association between the two-dimensional (2D) space of trophic data (either obtained with stomach content (SC) or with stable isotope (SI) analyses) and the 2D space depicting habitat–behaviour information

Phylogenetic signals of ecological traits

Both stomach contents (K mult = 1.40, P = 9 × 10−4) and habitat–behaviour information (K mult = 1.17, P = 1 × 10−4) showed significant phylogenetic signals. On the other hand, trophic data from stable isotopes did not present any phylogenetic signals (K mult = 0.65, P = 0.22).

Discussion

Trophic ecology of damselfishes in Moorea

At Toliara reef in Madagascar, Frédérich et al. (2009) defined three trophic groups of damselfishes, i.e. pelagic feeders, benthic feeders and an intermediate group. A similar level of trophic diversity is observed within the Pomacentridae from Moorea. The principal criterion used to differentiate the pelagic feeders from other trophic strategies is their propensity to almost exclusively feed on zooplanktonic prey (Frédérich et al. 2016b). Based on our dual dietary tracers (C, N isotope ratios and stomach contents), seven species are representative of this trophic strategy. Three of them (C. acares, C. vanderbilti and P. fuscidorsalis) are only foraging in the outer reef, whereas the other four species (C. iomelas, C. margaritifer, D. flavicaudus and D. trimaculatus) also have individuals distributed in lagoonal zones close to the reef crest. As previously suggested by Wyatt et al. (2012), zooplanktivory is more common in areas in proximity with the open ocean probably because of its constant input of water column-based plankton.

Benthic feeders include algivorous and corallivorous species and also damselfish species that mainly eat small benthic invertebrates. Both trophic markers reveal that six species (A. septemfasciatus, C. brownriggii, P. johnstonianus, P. lacrymatus, S. fasciolatus and S. nigricans) belong to this trophic group. Contrary to the zooplanktivorous species, benthic feeders are found across the whole coral reef ecosystem in Moorea, i.e. from the beach shore to the outer reef. Even though benthic algae were the main food items for P. johnstonianus at Moorea, other studies suggest that this species might be able to bite coral polyps (Allen 1991; Kuo and Shao 1991; Ho et al. 2009).

Frédérich et al. (2009) also defined an intermediate trophic group for which the types and origins of prey are diverse. In Moorea, four species belong to this feeding strategy: P. pavo, C. viridis, A. sexfasciatus and D. aruanus. Stomach contents reveal that P. pavo and C. viridis mainly feed on zooplankton but also ingest benthic algae and invertebrates (Fig. 2), which is confirmed by their δ13C and δ15N values (Fig. 3a). Both species are not only chasing zooplankton but also supplement their diet with local, benthic prey. Trophic markers (C and N isotope ratios and stomach contents) provide evidence of omnivory in A. sexfasciatus. At Toliara reef, A. sexfasciatus was exclusively feeding on zooplankton (Frédérich et al. 2009), while the feeding regime of populations from Seychelles was classified as intermediate (Manica 2002). This geographic variation among populations supports trophic opportunism in A. sexfasciatus. Finally, D. aruanus also shows a dietary plasticity as this species feeds on planktonic prey and benthic algae in (almost) equal proportions, and its isotope ratios for C and N are very distinct (Fig. 3a). Frédérich et al. (2010) found a gradual shift of foraging tactics related to the size of D. aruanus, with smaller individuals depending more on food sources from the benthic compartment and, with larger ones mainly feeding on pelagic prey. The sampled D. aruanus in our study differed in length (29.8–47.3 mm; Table 1), and thus the large diet breadth in Moorea could also be related to size variation.

Dietary cross-reef gradient

Research devoted to the study of variations in trophodynamics remain scarce, especially for coral reef ecosystems (see exceptions in Kolasinski et al. 2009; Greenwood et al. 2010; Wyatt et al. 2012; Davis et al. 2014; Hanson et al. 2016). The coral reef ecosystem of Moorea presents a complex topography, including a protected lagoon with many coral patches, a fringing reef shaped as a wall, and a barrier reef with a crest bounding the open ocean (Fig. 4). The influence of these morphological features on the trophic ecology of Pomacentridae is emphasized by the significant differences in S isotope ratios among species. Indeed, δ34S has been used to unravel food sources for mobile consumers (Jardine et al. 2012) and to ascertain within-producer variability (Connolly et al. 2004; Hamilton 2009; Mittermayr et al. 2014). Pelagic producers using seawater sulphates (~22.9‰) have higher δ34S values, whereas consumers depending on sulphur from sediments (~1‰) have lower δ34S values (Kharlamenko et al. 2001; Connolly et al. 2004). Consequently, δ34S values help to discriminate between organisms feeding on prey from the pelagic compartment and the others relying on food from the benthos. Here, the δ34S results revealed that the assemblage of damselfishes from the outer reef (Group i) can be segregated from the pomacentrid assemblage (Group ii, iii) present in the protected lagoon (Fig. 3b). The diet of Group i is mainly dependent on oceanic productivity and its subsequent input of planktonic prey. On the other hand, δ34S values of Group ii show a higher reliance on local, autochthonous resources (filamentous algae and vagile invertebrates). The species, A. septemfasciatus, belonging to Group iii reinforces this dietary gradient across the coral reefs along the coastline at Moorea. This species uniquely forages above sandy banks surrounded by coral patches next to the beach shore. The low δ34S value observed in A. septemfasciatus is probably related to insects found in their stomachs, indicating a dietary dependence on terrestrial input. The ingress of water column-based phytoplankton in the coral reef food-web is not restricted to zones in permanent contact or close to the open ocean, but is rather progressively distributed. This hypothesis is sustained by findings of two studies conducted, respectively, on the pelagic feeder D. flavicaudus (Hanson et al. 2016) and on the benthic feeder S. nigricans (McMahon et al. 2016). Results on D. flavicaudus, also collected within the Opunohu Bay in Moorea, revealed that this species actively selects oceanic copepods irrespective of the fish position in the reef (lagoon versus outer reef; Hanson et al. 2016). In spite of its foraging area in shallow lagoonal waters and its benthic dietary specialization, Stegastes nigricans still partially assimilates C from oceanic sources (McMahon et al. 2016). Overall, the trophic ecology of damselfishes in Moorea is intrinsically linked to their locations within the reef ecosystem. The trophic strategies reflect the influx of oceanic-derived plankton and its assimilation by the reef food-web. The majority of pelagic feeders is found in areas closer to the open ocean or outside the reef system, all benthic feeders are ubiquitous and the intermediate feeding strategy is only present in the protected lagoon (Fig. 4).

Fig. 4
figure 4

Position of damselfish species along a schematic representation of the coral reef ecosystem in Moorea, French Polynesia. Species abbreviations are found in Table 1. Trophic groups are represented by white-filled squares for “benthic feeders”, grey-filled squares for “intermediate group” and black-filled squares for “pelagic feeders”. The gradient from white to black colour indicates the degree of reliance on food sources from an autochthonous/locally produced origin towards an allochthonous/oceanic provenance. The axes are not to scale

The relationships between diet, habitat and social behaviour

Previous studies about damselfishes carried out in Florida and Madagascar have suggested that diet, habitat and social behaviour could be correlated (Emery 1973; Frédérich et al. 2009). Here, we quantitatively demonstrate a tight association between these ecological variables in the damselfish community from Moorea. We further confirm these correlations when the phylogenetic relatedness among damselfish species is integrated. Almost all pelagic feeders (i.e. 4 Chromis spp. and 2 Dascyllus spp.) are found within the Chrominae subfamily (Fig. 5), except for P. fuscidorsalis. They exhibit similar social behaviours forming large aggregations (either shoals or schools) up to 20 m depth and live in areas bathed by the open ocean or just behind the barrier reef crest. They are also associated with either live or dead corals. The second most species-rich guild in Moorea is the benthic feeders, and within that group, four species belong to the Stegastinae subfamily (i.e. 2 Stegastes spp. and 2 Plectroglyphidon spp.). In contrast to pelagic feeders, benthic feeders mostly display a territorial, solitary behaviour, and they can establish their shelter on other types of substrate than corals. Only, P. johnstonianus forages among branches of live corals. Stegastes nigricans and P. lacrymatus are able to harvest macroalgal lawn like farmers (Hata and Makoto 2002; Ceccarelli et al. 2005). The last trophic strategy—the intermediate group—is represented by A. sexfasciatus in the Abudefdufinae, P. pavo in the Pomacentrinae and C. viridis and D. aruanus in the Chrominae. Species from the intermediate group are all gregarious, but only forage in the protected lagoon at usually shallower depths than pelagic feeders. Two of them (C. viridis and D. aruanus) are obligate inhabitants of live corals.

Fig. 5
figure 5

Consensus time-calibrated tree illustrating the three dietary strategies for the 17 damselfish species from Moorea and with indication of the subfamilies. Trophic groups are represented by white-filled squares for “benthic feeders”, grey-filled squares for “intermediate group” and black-filled squares for “pelagic feeders”

Ecological trait conservatism and community structure

Diet, defined with stomach contents, presents a phylogenetic signal suggesting some conservatism through the evolution of damselfish communities. We also provide some evidence of conservatism for the behaviour which seems, therefore, less labile than previously thought (Blomberg et al. 2003). Contrary to the study of Blomberg et al. (2003), we coded this character with ecological information and created a unique multivariate trait called “habitat–behaviour”. This combination of traits delineates a high level of habitat and behavioural diversity which appears relatively conserved through the evolution of damselfishes. In general, the causes of conservatism and PNC patterns are diverse, can interact with one another and produce complex outcomes (Revell et al. 2008; Crisp and Cook 2012). They include both direct (e.g. heritability, selection) and indirect processes (e.g. antagonistic niche interactions or dispersal opportunity) (Crisp and Cook 2012). Here, closely related pomacentrid species feed on the same types of prey and exhibit similar habitat features and social behaviours (e.g. Stegastinae and Chrominae). Thus, this ecological resemblance seems to be greater than expected under a Brownian motion model of evolution. In agreement with the concept of niche retention (Cooper et al. 2010), damselfish lineages could have somehow inherited these characters from their ancestors and slowly diverged. This equivalency might also arise from stabilizing selection and constraints (Cooper et al. 2010; Crisp and Cook 2012). A higher dietary specialization (primarily feeding on one particular type of prey), a narrowing of the habitat–behaviour niche (a partial exploitation of the core species niche) and a limitation of larval dispersal opportunities (induced by physical barrier) are among the possible constraints which could generate a PNC pattern for the stomach content and the habitat–behaviour traits.

Interestingly, trophic specializations defined by the CNS isotope ratios are evolutionarily more labile than diet from stomach contents. The greater malleability of isotopic trait over macroevolutionary time is probably due to its complex signature which embodies more facets of ecological niches (i.e. the dietary, habitat and behavioural components) and over a long period of time, from weeks to months (Tieszen et al. 1983). The C and N isotope ratios are primarily proxies of trophic ecology (i.e. type of prey, foraging location) but may also reflect internal physiological changes during special events such as ontogeny, metamorphosis, starvation or even pregnancy (e.g. Habran et al. 2010; Hammerschlag-Peyer et al. 2011; Frédérich et al. 2012; Gajdzik et al. 2015). Furthermore, the S isotope ratios mostly reflect the fish position within the reef-scape (lagoon versus outer reef) and the partitioning of microhabitats within each reef zone (pelagic versus benthic compartments). Isotopic data integrate several types of biological information (including ecology and physiology), which might curb the phylogenetic signal of the isotopic trait during the evolution of lineages. The lack of evidence of PNC pattern for the isotopic trait, in contrast to the pattern of stomach content data, suggests that the true diet (a combination of these two techniques) of damselfishes could not be so well matched to the phylogeny.

Furthermore, detecting a phylogenetic signal is context-dependent and influenced by many factors (Losos 2008). Indeed, the signal of a subset of species, such as the studied community of damselfishes, may differ from the one for more inclusive groups (Losos 2008). At the family level, damselfishes observed a macroevolutionary pattern made of iterative ecological radiation and convergences (Frédérich et al. 2013, 2016a). Our results illustrate that this particular process of diversification has produced communities in which closely related species are more ecologically similar than expected by chance. This outcome differs from the case of Anolis lizards, where ecological similarity and phylogenetic relatedness is very weak (Losos et al. 2003). These contrasting results from two old radiations (>15–20 million years ago) suggest that community evolution may occur in different, complex ways. Here, the phylogenetic signals detected may reflect the prevalence of geographic settings producing ecologically similar species during the evolutionary genesis of damselfish community structure.

Conclusion

The trophic ecology of damselfishes in Moorea reveals two opposing trophic strategies: pelagic feeders depending on water column-derived zooplankton and benthic feeders relying on food (algae and vagile invertebrates) from the benthos. In between, there are species displaying different degrees of food exploitation throughout the whole bentho-pelagic compartment. Sulphur isotope ratios show a gradient across the coral reef ecosystem, from a system mostly relying on oceanic support (i.e. the outer reef) towards a system more dependent on autochthonous local productivity (i.e. the lagoon). We demonstrate a tight association between dietary, habitat and behavioural traits in the community of damselfishes from Moorea. Diet defined by stomach contents and habitat–behaviour are conserved through evolution of damselfishes. On the other hand, the isotopic trait is evolutionarily more labile probably because it is affected by a complex array of factors related to diet, habitat and physiology. Further studies focusing on other clades of reef fishes and including other damselfish communities from various regions would improve our understanding of the processes shaping the assembly of fish community in the coral reef ecosystem.