{'fraction_non_alphanumeric': 0.03305213663393722, 'fraction_numerical': 0.021324851334531877, 'mean_word_length': 5.01297189422917, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
What Drives Ontogenetic Niche Shifts of Fishes in Coral Reef Ecosystems?

Ontogenetic niche shifts are taxonomically and ecologically widespread across the globe. Consequently, identifying the ecological mechanics that promote these shifts at diverse scales is central to an improved understanding of ecosystems generally. We evaluated multiple potential drivers of ontogenetic niche shifts (predation, growth, maturation, diet shifts, and food availability) for three fish species between connected coral reef and nearshore habitats. In all cases, neither diet compositional change nor sexual maturity functioned as apparent triggers for emigration from juvenile to adult habitats. Rather, the fitness advantages conferred on reef inhabitants (that is, enhanced growth rates) were primarily related to high prey availability on reefs. However, there exists a clear trade-off to this benefit as survival rates for small fishes were significantly reduced on reefs, thereby revealing the potential value of (and rationale behind high juvenile abundances in) nearshore habitat as predation refugia. We ultimately conclude that predation risk functions as the primary early life stage inhibitor of ontogenetic niche shifts towards more profitable adult habitats in these systems. Furthermore, this study provides a case study for how complex, meta-dynamic populations and ecosystems might be better understood through the elucidation of simple ecological trade-offs.


INTRODUCTION
Ontogenetic niche shifts are extremely common features of the life-cycles of diverse organisms (Werner and Gilliam 1984;Fryxell and Sinclair 1988;Post 2003). Understanding the mechanisms that promote these shifts is a highly active area of research in ecology as important variables would clearly be implicated in population stability and ecosystem function at multiple scales (Brodersen and others 2008). Various hypotheses have been generated for explaining the ecological basis for niche shifting in animals. These include conditional differences between individuals (Jonsson and Jonsson 1993;Kaitala and others 1993;Brodersen and others 2008), strong inter-and intra-specific competition (Cox 1968;Biebach 1983), genetic differences between migrants and residents (Biebach 1983), or a mixed evolutionary stable strategy resulting from frequency-dependent selection (Kaitala and others 1993). However, current knowledge on the drivers of niche shifts is overwhelmingly dominated by vertebrate species in terrestrial environments (Cox 1968;Lundberg 1987Lundberg , 1988Kaitala and others 1993) even though niche shifts in aquatic ecosystems and species are equally common. For example, salmon and other anadromous fish species migrate from oceans to spawn upstream in rivers at specific sizes and ages (Jonsson and Jonsson 1993). Similarly, freshwater fishes perform both large-and small-scale migrations in rivers (for example, from lentic backwater habitats into main channel areas during floods), all of which are known to involve trade-offs between seasonal fluctuations in predation risk and growth potential (Schindler 1999;Brodersen and others 2008;Skov and others 2011;Rypel and others 2012).
As opposed to basic niche shifts, that can vary depending on their function and temporal scale (for example, diel migrations or seasonal spawning migrations), ontogenetic niche shifts have a more permanent and unidirectional character. Yet, both theoretical and empirical studies suggest that the benefits of permanent niche shifts must outweigh the associated risk of movement for them to actually occur (Dahlgren and Eggleston 2000;Grol and others 2011;Rypel and others 2012). In coastal marine environments, daily and seasonal variations in abiotic factors, such as temperature, salinity and turbidity, can apparently trigger migrations (Travers and others 2006). However, key biotic drivers (for example, predation and competition) could be equally important (Jonsson and Jonsson 1993;Edgar and Shaw 1995;Hyndes and others 1997;Verweij and others 2006;Grol and others 2011).
Optimal foraging theory predicts that foraging behaviors are a product of prey profitability and size selection by predators (Werner and Hall 1988). Thus, as the dietary needs of animals expand during ontogeny (Laegdsgaard and Johnson 2001), a need or advantage to shifting habitats often arises. However, niche shifts could just as easily result from the onset of sexual maturity and the biological need to seek reproductive partners or to move to environments that promotes spawning and enhances gamete survival-an iconic example being the longdistance spawning migrations of oceanic salmon to natal riverine spawning zones (Ueda 2011;review by Leggett 1977). Yet, although multiple studies have focused on single drivers of ontogenetic habitat migrations, few studies have endeavored to examine multiple drivers.
In tropical seascapes, ontogenetic niche shifts are especially common. The principle pattern usually involves fishes shifting from vegetated nearshore juvenile habitats (for example, mangroves, algal fields, seagrass beds) to spatially segregated deepwater adult habitats (for example, coral reefs, offshore shelf areas) (Nagelkerken and others 2002;Dorenbosch and others 2005a, b;Adams and others 2006;Nagelkerken 2007;Nakamura and others 2008;Shibuno and others 2008;Kimirei and others 2011). These size-related habitat shifts may be a strategy to minimize mortality and maximize growth (Dahlgren and Eggleston 2000;Grol and others 2011). However, little empirical evidence exists to disentangle the multiple sub-factors that underlie these ecological phenomena. For example, the availability of prey (Galarowicz and others 2006), size-specific changes in diet (McCormick and Makey 1997), predation risk others 2011), andgrowth (McCormick 1998) may all influence ontogenetic niche shifts by marine fishes at some level.
In this study, we examine multiple drivers of ontogenetic niche shifts from juvenile to adult habitats in several species of coral reef fish. We hypothesized that an ontogenetic switch to large prey items becomes a limiting factor at some point during early life growth in juvenile habitats, ultimately reducing growth (and thus also maturation) rates in nearshore habitats, thereby incentivizing a potential habitat switch to reefs. We examined differences in diet, growth, maturity, and survival from predation among habitats through ontogeny, coupled to differences in food abundances. This enabled us to critically evaluate the degree to which these ecological factors differ among habitats and life stages, and why and when ontogenetic niche shifts may occur more generally in tropical coastal environments.

Study Area
The study was conducted in a large shoreline-island-reef complex near Kunduchi, Dar es Salaam, Tanzania ( Figure 1). Major marine habitats sam-pled in the study area consisted of mangroves, seagrass beds and coral reefs. The mangrove forest on the mainland is dominated by Sonneratia alba and freshwater input into the system is only substantial during heavy rainfall. The offshore islands (Mbudya and Bongoyo) are fringed by shallow coral reefs followed by seagrass beds at greater depths. Seagrass beds also occur along the coastline of the mainland. 'Far reef' and 'Gold reef' are submerged patch reefs dominated by massive coral colonies and a variety of soft corals.

Fish Sampling
Individuals of three fish species (Lethrinus harak, Lethrinus lentjan, and Lutjanus fulviflamma) were collected from the three focal habitats and analyzed for stomach content, gonadal maturation, and age estimation by analysis of otolith sagittae (Table 1). All fish collections took place concurrently with underwater visual census surveys to estimate fish abundances in the same habitats on a monthly basis over 2 years (Kimirei and others 2011). Fishes from mangrove habitat were collected with a 1 9 10 m seine dragged against the current during outgoing tide. Hook and line angling, and a fyke net were used to supplement fish catch in the mangrove habitat and guard against gear selectivity in fish size. Fishes captured using baited hook and line were not used for stomach content analysis. Fishes from the seagrass beds were purchased from local fishermen that utilized beach seines at low tide. Specimens from coral reef habitats were captured using a spear gun. All fishes were either immediately analyzed or kept in a freezer pending analysis the following day.
For each fish, total length was measured to the nearest mm (Table 1). For diet analysis, stomach contents were analyzed under a stereomicroscope and all prey items identified to the lowest possible taxonomic level (Supplementary Table 1). Proportions of food items in each stomach were estimated in relative volumetric quantity of the food items, that is, the volume of the contents of the stomach was set at 100% and the food items found were estimated by eye, as a volumetric percentage of the total stomach volume (Hyslop 1980; Cocheret de la Moriniè re and others 2003a). Gravimetric methods were not used due to large errors associated with measuring small stomach volumes of juvenile fish which also contain water (blotting may damage the samples), whereas methods that involve frequency estimation would underestimate large food items and overestimate small food categories (Hyslop 1980).
Otolith sagittae were removed from each fish and used to estimate the age of each fish. Each otolith was cross-sectioned using standard methodology (Maceina 1988) and examined under a dissecting microscope utilizing reflected light. Ages were determined blindly (that is, with no knowledge of the sample number or fish size) twice by an experienced reader, and disagreements between reads one and two (4% of all samples) were settled using another experienced reader.
For maturity analysis, gonads were used to visually determine sex and stage of maturity. Maturity stages were based on a seven point staging key modified from Ntiba and Jaccarini (1990), Kaunda-Arara and Ntiba (1997), and Kulmiye and others (2002). Stages I, IIa, III, IV, V, VI and IIb represented immature, developing, maturing (active), ripe, fully ripe and spawning, just spawned, and recovering, respectively.

Abundance of Prey Items
Quantification of potential prey abundance across habitats was conducted during July-November 2008. A 50 9 50 cm quadrat was randomly placed in each of the three habitats and all flora and loose substrate within the quadrat collected by hand and placed into a bag. Only epifauna were collected because the studied fish species feed on slowmoving prey on the substratum or those associated with the vegetation (Carpenter 1996). For seagrass beds, all seagrass shoots were carefully cut and collected into a hand-closed plastic bag to minimize escape of prey. For mangroves, the roots were cut off and all loose pieces collected in a plastic bag. Similarly, for coral reefs all detached corals were collected. A total of 6, 13, and 12 quadrats were sampled in the mangrove, seagrass and reef habitats, respectively. Water was drained from the samples which were subsequently stored at -20°C pending analysis. All collected substrates and vegetation, along with the interiors of dead mangrove roots were visually inspected for potential food items larger than 2 mm.

Survival from Predation
Differences in relative survival rates among habitats were estimated using tethering experiments for two of the focal species (L. fulviflamma and L. harak). Insufficient specimens could be obtained for the third species. Fish of three different size classes for each species (1-4, 7-10, and 13-16 cm) were subsequently tethered during daytime in seagrass beds, mangroves, and on the coral reef. Individual fish were attached by a barbed hook through the lower jaw to a thin length (50-80 cm) of light monofilament line. The barb effectively avoided escape of the fish from the tether. The line length was selected such that the fish were able to hide within the bottom vegetation. The line was attached to an iron pole ($40 cm) that was anchored into the substratum. Each tethering trial lasted 90 min, after which the total number of surviving fish was determined. Tethering lines that were devoid of the fish as well as the hook were a clear case of predation. In some cases, the hook was still attached to the line but the fish was gone. As the number of cases in which this occurred was approximately three times higher for the smallest size class of fish than for the largest size class we are confident that this resulted from predation. We used the same hook size and line thickness for all fish, so in case fish escaped this would be most evident for the larger, stronger fish. However, we found the exact opposite pattern. Furthermore, we looked at the fish predation patterns based only on broken tethering lines devoid of fish and hook, as well as based on all cases of missing fish (that is, broken lines plus intact lines with hook but devoid of fish). The same pattern was evident for both approaches so we are confident that the technique was not biased by fish escapes. Furthermore, the hooks had a protruding barb making it very difficult for the hooks to be detached from the bony fish mouths. For both fish species, trials were conducted at two sites per habitat, except for L. harak in mangrove habitat which was only conducted at one site. During each trial, 6-14 fish (average: 10 fish per trial) were tethered simultaneously. Different size classes and species were never tethered in the same trial, and the sequence of tethering was done randomly across different sites, species and size classes.

Data and Statistical Analysis
Food items identified from stomachs were grouped into two main categories per fish species and habitat. The first category comprised all large prey items and included fish, large crustaceans (crabs, shrimps), worms (Polychaeta, Oligochaeta, Nematoda), mollusks (Gastropoda, Bivalvia and Cephalopoda), and Echinoidea. The second category consisted of all small prey items and included all small crustaceans (Copepoda, Isopoda, Amphipoda, Tanaidacea, Mysidacea, Cumacea, and Ostracoda). The dietary proportions of these two main prey categories were then computed per fish size class (1 cm classes) and habitat for each species separately, and plotted as a function of fish size. A power function (allometric) of the form y = a * x b (where a and b are constants) was fitted to these data. Food abundance data were statistically compared only for those items that were most common in the stomachs of the three fish species, using an unbalanced nested ANOVA (as habitats had different numbers of sites sampled) with sites nested under habitats. Comparison of means was done by a Gabriel post-hoc test, or a Games-Howell posthoc test as a non-parametric alternative when variances were still heterogeneous after data transformation. The data were tested for homogeneity of variance using a Levene's test, and log-or square root-transformed prior to analysis. SPSS 16 was used for all analyses, unless otherwise stated.
In addition, the mean abundance of large prey items available per individual fish was estimated for each habitat. Only commonly consumed large prey items were included. A food item was considered common if at least 25% of all stomachs analyzed contained at least 10% volume of that particular food item (see Supplementary Table 1). These were large crustaceans for all fish species in all habitats, in addition to Mollusca and Echinoidea for L. harak on the reef, Echinoidea for L. lentjan on the reef, and worms for L. lentjan on the seagrass beds. At the transect/quadrat level, total density of large food items for the respective fish species in the respective habitats (mangrove, seagrass, and coral reef) was then divided by the total density of fish larger than 5 cm total length in the respective habitat per species. A cut-off size of 5 cm was used as at this size fishes had largely shifted in diet to larger prey items (see ''Results''). Fish density data used to calculate the amount of prey items available per individual fish were obtained from a different study (Kimirei and others 2011), using underwater visual census surveys in belt transects at the same sites and during the same period as this study. A one-way ANOVA followed by a Gabriel post-hoc test was used to determine whether food density per fish differed among habitats.
Growth analysis was based on fish age obtained from the otolith analyses. For each species, fish growth was modeled using the Von Bertalanffy Growth Function, L t = L ¥ [1e -k(t-t 0 ) ], where L t = length at time t, L ¥ = the theoretical maximum length, k = a growth coefficient (the rate at which length approaches L ¥ ), t = fish age in years, and t 0 = theoretical time at age 0. However, because growth is completed over several habitat types, and is generally non-asymptotic, differences in growth between habitats for each species (for example, seagrass vs. mangrove) were evaluated using analysis of covariance (ANCOVA) combined with Tukey's post-hoc tests. In these models, TL was the dependent variable, log 10 (age) was a covariate, and habitat type was a categorical variable (Rypel 2011).
For maturity analysis, proportions of immature (stages I and IIa) and mature (III, IV, V, VI and IIb) individuals were computed per size class (1 cm increments) per habitat. The proportion of mature individuals (%) was plotted as a function of total fish length (cm) and fitted with a sigmoid logistic function of the form: y = A 2 + (A 1 -A 2 )/(1 + (x/ x 0 ) p ) (where A 1 = max, A 2 = min, and p = 3 are constants). Fish density in the adult habitat (that is, shallow and deep coral reefs and deep mud flats pooled) were averaged per centimeter, expressed as a percentage of the total density of all habitats for the respective size class, and also fitted with a sigmoid logistic curve. The size at which fish initiate migration from juvenile to adult habitat was defined as the size (total length) at which 25% of the total density occurred in the adult habitat.
Survival rate was measured in percentage survival at the end of the tethering experiment. For each of the three fish size classes in each of the three habitats, replicates consisted of the trials done at the various sites and combining the two species to obtain sufficient data for statistical analysis. Three logistic regressions were used to compare differences in survival among habitats for each size class. In each regression, survival was used as a dependent variable, and habitat type was used as a categorical variable.

Ontogenetic Diet Shifts
The importance of combined large food items increased significantly with fish length for all species (Figure 2). L. harak larger than 13 cm fed entirely on large prey items (100%) in the seagrass and on the reef; prey items consisted mainly of large crustaceans and fish in the seagrass beds, and on the reef also of worms, mollusks and echinoderms (Supplementary Table 1). For L. lentjan, the large prey items consumed were composed mainly of large crustaceans and fish, and in the seagrass beds also of worms. L. lentjan consumed large proportions of echinoderms (35-80%) on the coral reef. L. fulviflamma larger than 9 cm fed for greater than 80%, on average, on large prey items in the seagrass and coral reef; these consisted mainly of fish, crabs, and shrimps with varying proportions per size class and habitat.
Two species (L. harak and L. fulviflamma) showed a significant decrease in the proportion of small food items consumed with body size, whereas L. lentjan showed minor consumption of small food items across all size classes (Figure 2). The ontogenetic diet shift from small to large prey items was evident at a very early life stage ($5 cm), well before the ontogenetic movement to the coral reef seemed to occur. The size at which approximately 25% of the total fish density was observed in the adult habitat (indicating an approximate start of ontogenetic niche shifts), coincided strongly with feeding on large food items (65-90% of the stomach content as predicted by the allometric regression lines, Figure 2).

Abundance of Prey Items
The mean density of large prey species differed significantly among habitats for decapods and echinoids (nested ANOVA, F 2,14.4 = 5.225, P = 0.020 and F 2,21.8 = 4.322, P = 0.026, respectively). Decapods and echinoids were significantly more abundant on coral reefs than in mangroves and seagrass beds (Figure 3, Gabriel post-hoc tests, P < 0.015 and P < 0.050, respectively). Molluscs showed no overall significant habitat differences (nested ANOVA, F 2,12.9 = 1.834, P = 0.199), but had a significant nested term (F 11,17 = 2.768, P = 0.029) indicating that at some collection sites mangroves had significantly lower molluscs abundances than seagrass beds (Figure 3, Gabriel post-hoc test, P = 0.050). Small prey items like amphipods were significantly more abundant on coral reefs than in the mangroves (Games-Howell post-hoc test, P = 0.048; Figure 3).
The abundance of large prey items available per individual fish in the different habitats was highest in the intertidal mangroves and on the coral reef for L. harak and L. lentjan (Figure 4). Conversely, for L. fulviflamma, the largest quantities of potential prey per individual were available in the seagrass beds, followed by the coral reef.

Growth
The Von Bertalanffy growth coefficients for L. harak, L. lentjan, and L. fulviflamma were L a = 49.2, 46.1, and 21.1, K = 0.07, 0.06, and 0.32, T o = -2.00, -2.76, and -0.70, respectively. Growth was significantly higher for fish from the coral reef compared to those from the seagrass beds or mangroves, for each of the three fish species ( Figure 5; Table 2). For L. fulviflamma, size at age was also significantly higher for seagrass fish than for mangrove fish. Furthermore, although size at age was significantly higher on the reef for this species, the slope of the reef length-at-log 10 (age) regression was reduced for this species indicating a lower rate of growth for large fish.

Maturation
Maturation was a function of size, but not of habitat type. Logistic curves best explained the variability in percent maturation as a function of fish size (r 2 > 0.97) and all fitted curves were significantly different from a value of zero (Figure 6). However, the maturation curves did not vary significantly among habitats for any of the species (ANCOVA, F = 0.938, 1.500 and 0.864 for L. harak, L. lentjan, and L. fulviflamma, respectively; P > 0.236). The size at first maturity (L 50 ), defined as the size at which 50% of all individuals were mature, varied by less than 1 cm among habitats for L. lentjan (14.0 and 14.7 cm in seagrass beds and on coral reefs, respectively) and for L. fulviflamma (15.8 and 16.0 cm in the mangroves and seagrass beds, respectively). In all cases, L 50 occurred at a larger body size than that at which individuals appeared to move to the adult habitat ( Figure 6). No significant differences were found in maturity at size between female and male fish within habitats for any of the species (ANCOVA, F = 0.001, 0.183, and 4.039 for L. harak, L. lentjan, and L. fulviflamma, respectively; P > 0.079 for all species and habitats), and the L 50 values were similar for male versus female fish (differences between male/female L 50 across habitats and species were <1 cm).

Survival
Survival rate of tethered fish in all habitats increased with fish size (Figure 7), but with significantly higher survival of the smaller (1-4 cm TL) and medium size (7-10 cm) fishes in the mangroves (v 2 = 17.753, P < 0.001 and v 2 = 7.939, P = 0.005 for the small and medium sizes, respectively) and seagrass beds (v 2 = 27.315, P < 0.001 and v 2 = 7.768, P = 0.005 for small and medium sizes, respectively) than on the coral reef. While survival rate was just below 40% for the 1-4 cm size class in the mangroves and seagrass beds, it was greater A C B Figure 5. Length-at-age for A Lethrinus harak, B Lethrinus lentjan, and C Lutjanus fulviflamma in various habitats fitted to a logarithmic growth function with associated r 2 values. Mg mangrove, Sg seagrass, Cr coral reef. than 50% of all individuals in the size range 7-10 cm in these habitats (Figure 7). For the largest size class (13-16 cm), survival rate was relatively high across habitats (>60%) and no significant habitat-based differences were observed.

DISCUSSION
Ontogenetic niche shifts are a pervasive life-history feature of many mobile organisms and are hypothesized to be triggered by a variety of biotic and abiotic factors. Yet previous studies have focused only on single drivers (for example, diet-Cocheret de la Moriniè re and others 2003b, maturation -Sheaves 1995, or predation-Dahlgren andEggleston 2000;Hammerschlag and others 2010b). In this study, multiple potential drivers (diet, food abundance, growth, maturation, and survival) were simultaneously evaluated to reveal their relative importance in explaining the manifestation of niche shifts from juvenile to adult habitats for several coral reef fish species. Previous studies have suggested that ontogenetic diet shifts in particular function as the tipping point for ontogenetic niche shifts in diverse ecosystems (Holbrook and Schmitt, 1992;Hyndes and others 1997;Moura and others 2008;Roznik and others 2009;Hultgren and Stachowicz 2010). However, neither diet shifts nor maturation triggered crosshabitat migrations in this study. Rather, ontogenetic diet shifts from small to large prey items occurred at relatively small sizes (approx. £ 5 cm body length), well prior to ontogenetic habitat shifts (occurring at $11-15 cm; Figure 8), and fish matured at sizes larger than at which they moved to the adult habitat.
The ideal free distribution theory (Fretwell and Lucas 1970) predicts that foragers are distributed across habitat patches in proportion to their food A C B Figure 6. Maturity (% mature) and relative fish density in adult habitats (from visual census surveys; see ''Materials and methods'') as a function of fish size, fitted with sigmoid logistic curves for A Lethrinus harak, B Lethrinus lentjan, and C Lutjanus fulviflamma, with associated r 2 values. Open symbols and dotted lines represent maturity data, whereas black stars and solid lines indicate density data. **P < 0.001, Mg mangrove, Sg seagrass, Cr coral reef, Density fish density in adult habitat. Figure 7. Survival rate (species combined) as a function of fish size from tethering experiments. Within each size class, significant differences among habitats (P < 0.05, based on logistic regression) are indicated by letters (a and b) above the bars; if bars have a letter in common they do not differ, if bars do not have a letter in common they differ. Mg mangrove, Sg seagrass, Cr coral reef. Image credits: Tracey Saxby, IAN Image Library (ian.umces. edu/imagelibrary).
supply. In our study, both small and large food items were significantly more abundant, but juvenile fish densities lower in coral reef habitats compared to any other juvenile habitat type. Thus based on these data, it might be expected that larger juveniles would occupy and feed extensively in coral reef habitats where preferred prey items are considerably more abundant. However, this was not the case in this study and suggests that other factors were interacting with prey availability to create the ontogenetic niche shifts typically observed in coral reef ecosystems.
Similarly, there were more prey items available for L. harak and L. lentjan on coral reef habitats compared to seagrass bed habitats, indicating that the seagrass beds did not provide an optimal foraging habitat for either species. In contrast, for L. fulviflamma, the coral reef habitat did not contain more food items per individual fish compared to the seagrass bed habitat; however, this was not reflected in L. fulviflamma growth rates. Although for two fish species the mangroves provided equally high food availability per fish as on the reef, visual census surveys revealed that these species do not favor mangroves as juvenile habitat in this area (Kimirei and others 2011). Despite high productivity of certain consumer resources in mangrove habitats (Nagelkerken and others 2008), previous stable isotope studies have similarly indicated low dependency of fish on mangroves as a nutritional source (Layman 2007;Kruitwagen and others 2010;Heithaus and others 2011). Our comparison of prey availability, along with realized growth rate differences among habitats, provides further support that food availability was not the proximate driver for fish habitat utilization across the studied seascape (Figure 8).
High predation-risk habitats are generally avoided by individuals or size classes of fish that are predation-prone, regardless of the advantages these habitats offer in terms of food abundance (Werner and Hall 1988;Dahlgren and Eggleston 2000;Hammerschlag and others 2010a, b). For example, predation risk is typically higher on coral reefs than in back-reef or lagoon areas (Chittaro and others 2005;Dorenbosch and others 2009;Grol and others 2011) and in transition zones between refugia and feeding habitats (Hammerschlag and others 2010b). In this study, fish most likely traded off fast growth for safety by avoiding high predation-risk habitats (coral reef) and living in relatively slowgrowth environments (mangroves and seagrass beds). Previously, Grol and others (2011) showed that the decision by pelagic larval fish to settle into mangrove/seagrass habitat is driven by a much higher predation risk on the adult reef habitat, but this does not explain what triggers movement to the reef at larger body sizes at which fish have a Figure 8. Conceptual model illustrating common ecological trade-offs for fish between juvenile nearshore and adult reef habitats. Ecological attributes for each habitat are listed in boxes. The large horizontal arrow indicates a unidirectional niche shift. Example 'A' notes a lack of movement (indicated by an X) from juvenile to adult habitats at fish sizes below 5 cm total length (TL) despite that at this size fish switch from feeding on smaller to larger prey items. At this size, survival is highest in juvenile habitats and fishes are restricted to these habitats despite several advantages that the adult habitat offers (high food abundance and fast growth). Example 'B' highlights large fish (>10 cm TL) that experience similar survival rates in juvenile versus adult habitats and elect to migrate to the more profitable adult reef habitat. Image credits: Tracey Saxby, IAN Image Library (ian.umces.edu/imagelibrary). similar predation risk across habitats. This study shows that although higher food abundances and growth potential drives ontogenetic niche shifts from 'safer' inshore juvenile habitats (mangroves and seagrass beds) to relatively 'risky' adult habitats (especially coral reefs), high predation risk delays movement into adult habitats until fish reach a size at which predation risk is similar across habits (see Figure 8).
The importance of Indo-Pacific coastal habitats (especially mangroves) as nurseries for coral reef fishes has been debated for decades (see reviews by Faunce and Layman 2009;Nagelkerken 2009). However, emerging evidence indicates that these habitats produce significant numbers of fish that move and recruit to adjacent coral reefs thereby enhancing reef fish populations (Nakamura and others 2008;Verweij and others 2008). Despite their ecological bottlenecks (low food abundance, low growth potential, low maturation rates), these habitats play a critical role as refugia for juveniles and as long-term sources of propagules to reefs for a variety of coral reef fish species. Furthermore, these fish populations provide an important source of protein and income for human populations in the tropics (Munro and William 1985;Munro 1996). The implications of the current study are that the production of juveniles by several habitats (Kimirei and others 2011; Nagelkerken and others 2012) and prevalent cross-ecosystem connectivity creates a 'portfolio effect' (Rypel and others 2012; Yates and others 2012) that can reduce variability in overall production of adults and enhance sustainability of coral reef fisheries. This 'bet-hedging' strategy may prove to increase in importance with the rapid degradation of coral reefs world-wide (for example, Jones and others 2004), with non-reef habitats buffering against local disturbances and associated loss of juvenile fish production on coral reefs. Incorporation of coastal ecosystem connectivity into the design of marine protected areas has already been shown to be beneficial for reef fish productivity (Edwards and others 2010; Nagelkerken and others 2012; Olds and others 2012), while it also supports populations of threatened reef fish species (Mumby and others 2004;Dorenbosch and others 2006).
This study serves as an important case study for how illumination of simple ecological trade-offs can yield a more complete understanding of complex ecosystems. For example, ontogenetic diet shifts and gonad maturation did not appear to be important drivers of ontogenetic niche shifts in this ecosystem type, even though these factors have been suggested as important in other environments (Hansen and others 1989;Hyndes and others 1997). Rather, predation risk seemed to function as the primary filter inhibiting movements of individuals to more profitable adult habitats. However, although predation risk was clearly an important factor, high growth potential in adult habitats might also be critical under other circumstances as the extent to which predation-growth trade-offs might vary over different spatial and temporal scales remains unknown and unstudied. For example, could ontogenetic niche shifts occur earlier in life or at smaller sizes if predation risk is lessened through natural recruitment variability or over-fishing of predators by humans? Conversely, could niche shifts be delayed as a result of the ongoing reef degradation resulting in lower food availability and growth rates on coral reefs?
Threats to marine ecosystems are mounting such that marine protected areas are increasingly expected to fail to conserve current levels of diversity (Jones and others 2004). Many researchers have argued for improved integration of ecosystem-based theory into various management initiatives to abate these trends (Pikitch and others 2004;Lotze and others 2006). This study and several others have strongly suggested that simple ecological trade-offs (for example, the growth to predation risk trade-off) ultimately give rise to the ontogenetic habitat shifts observed in the life-cycles of myriad species (Dahlgren and Eggleston 2000;Grol and others 2011;Rypel and others 2012). We contend that a specific better understanding of ontogenetic niche shifts, and the ecological tradeoffs that promote them, would lead to improved conservation management of coral reef environments. For example, marine protected areas emphasize connectance of reefs to neighboring nearshore habitats such that ontogenetic fish migrations are allowed to occur (Mumby 2006;Nagelkerken and others 2012). Future studies might therefore explicitly evaluate the extent to which ecological trade-offs and ontogenetic niche shifts differ in managed versus natural ecosystems. Such studies would allow for consideration of novel management strategies aimed specifically at maximizing efficacy of marine protected areas and promoting coral reef fisheries sustainability. Appreciation is expressed to Niek Slooter, Estrella Tapias, Ben Griffioen, Coen Wagner, Peter Smittenaar, and Mathias Igulu for their invaluable field assistance, and Hassan and Mmanga for operating the research boat.

OP E N A C C ES S
This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.