Animals often change their habitat throughout ontogeny; yet, the triggers for habitat transitions and how these correlate with developmental changes – e.g. physiological, morphological and behavioural – remain largely unknown. Here, we investigated how ontogenetic changes in body coloration and of the visual system relate to habitat transitions in a coral reef fish. Adult dusky dottybacks, Pseudochromis fuscus, are aggressive mimics that change colour to imitate various fishes in their surroundings; however, little is known about the early life stages of this fish. Using a developmental time series in combination with the examination of wild-caught specimens, we revealed that dottybacks change colour twice during development: (i) nearly translucent cryptic pelagic larvae change to a grey camouflage coloration when settling on coral reefs; and (ii) juveniles change to mimic yellow- or brown-coloured fishes when reaching a size capable of consuming juvenile fish prey. Moreover, microspectrophotometric (MSP) and quantitative real-time PCR (qRT-PCR) experiments show developmental changes of the dottyback visual system, including the use of a novel adult-specific visual gene (RH2 opsin). This gene is likely to be co-expressed with other visual pigments to form broad spectral sensitivities that cover the medium-wavelength part of the visible spectrum. Surprisingly, the visual modifications precede changes in habitat and colour, possibly because dottybacks need to first acquire the appropriate visual performance before transitioning into novel life stages.

Throughout different life stages, animals may change their morphology, physiology and behaviour. Such ontogenetic variability often correlates with changes in diet, predation pressure or social status, which in turn are often associated with major habitat transitions (e.g. Booth, 1990; Childress and Herrnkind, 2001; Dahlgren and Eggleston, 2000; Evans and Fernald, 1990; Grant, 2007). However, despite a large body of literature on ontogenetic variability, studies looking at the development of multiple traits within individuals and how they relate to habitat transitions remain scarce. For example, it is well established that many animals alter some aspects of their visual system when shifting to novel habitats during ontogeny (Hunt et al., 2014), but how these changes interrelate with developmental changes in other traits such as body coloration remains poorly understood.

The complex and varied life histories of coral reef fishes make them particularly well suited for studies of the causes and consequences of ontogenetic habitat transitions. Most coral reef fishes experience a change in environment when moving from a pelagic larval phase in the open ocean to reef-associated juvenile and adult phases. In association with these migrations, the visual system as well as the pigmentation of the skin may be modified (Collin and Marshall, 2003; Evans and Browman, 2004; Evans and Fernald, 1990; Youson, 1988). Ontogenetic changes to the visual system are generally extensive and involve multiple morphological and/or physiological adaptations that cause a shift in peak spectral sensitivity (λmax), which is used to adapt vision to varying light conditions or to solve novel visual tasks (Collin and Marshall, 2003; Evans and Browman, 2004; Evans and Fernald, 1990). This can be achieved through a gain or loss of different photoreceptor types in the retina (rod cells used for scotopic vision and/or various cone cell types used for photopic vision), qualitative and/or quantitative changes in the expression of visual pigments (opsins) within the photoreceptors themselves, or the use of different light-absorbing chromophores that bind to the opsin pigment: shorter wavelength sensitive vitamin A1-based (retinal) or longer wavelength sensitive vitamin A2-based (3,4-didehydroretinal) chromophores, respectively (Collin and Marshall, 2003).

Ontogenetic colour changes, in contrast, are less well documented in coral reef fishes, but generally include a change from transparent or silvery larval stages in the open ocean to often differently coloured juvenile and adult stages on the reef (Booth, 1990; Youson, 1988). While a transparent/silvery appearance may be used to camouflage fish larvae in open water light environments (McFall-Ngai, 1990), juvenile fish use their coloration for a number of strategies that facilitate access to food and reduce predation risks, including: aggressive mimicry, protective mimicry and several mechanisms of crypsis (Booth, 1990; Moland et al., 2005). When morphing into adults, however, many coral reef fishes become large enough or acquire appropriate defensive strategies to avoid predation. Coloration may from this point on also be used for sexual displays or during territorial behaviour (e.g. Booth, 1990; Kodric-Brown, 1998; Sale, 1993).

List of abbreviations
     
  • dps

    days post-settlement

  •  
  • JND

    just noticeable difference

  •  
  • LWS

    long-wavelength sensitive

  •  
  • LWS

    long-wavelength sensitive opsin gene

  •  
  • MSP

    microspectrophotometry

  •  
  • MWS

    mid-wavelength sensitive

  •  
  • qRT-PCR

    quantitative real-time PCR

  •  
  • RH1

    rhodopsin 1 opsin gene

  •  
  • RH2Aα, RH2Aβ, RH2B

    rhodopsin like 2 opsin genes

  •  
  • SL

    standard length

  •  
  • SWS

    short-wavelength sensitive

  •  
  • SWS1

    short-wavelength sensitive 1 opsin gene

  •  
  • SWS2Aα, SWS2Aβ, SWS2B

    short-wavelength sensitive 2 opsin genes

  •  
  • ΔL

    luminance contrast

  •  
  • ΔS

    chromatic colour contrast

  •  
  • λmax

    peak spectral sensitivity

The dusky dottyback, Pseudochromis fuscus Müller and Troschel 1849, is a small (maximum standard length ∼7 cm) predatory reef fish common to reefs throughout the Indo-Pacific ocean, including at our study site at Lizard Island, Australia, where both yellow and brown colour morphs can be found in sympatry (Munday et al., 2003). It has recently been shown that adult dottybacks flexibly adapt their colour from yellow to brown and vice versa to mimic the coloration of damselfishes (Pomacentrus spp.) in their surroundings (Cortesi et al., 2015a). By doing so, dottybacks gain multiple fitness benefits including an increase in predatory success on juvenile fish prey (aggressive mimicry) and habitat-associated crypsis (yellow morphs on live coral, brown morphs on coral rubble) that decreases predation risk (Cortesi et al., 2015a). It has also been shown that dottybacks, amongst other fish species, possess an additional gene that is part of a triplet of opsins responsible for visual discrimination in the short-wavelength ‘violet – blue’ region of the visible spectrum (SWS2B, SWS2Aα and SWS2Aβ; Cortesi et al., 2015b). Interestingly, in dottybacks, these opsins are spectrally distinct from one another and are differentially expressed between ontogenetic stages: larval dottybacks express SWS2Aβmax=457 nm), whereas adult dottybacks express SWS2Aαmax=448 nm) and SWS2Aβ (Cortesi et al., 2015b). Finally, dottybacks are demersal spawners that guard their eggs until they hatch, after which larvae undergo a pelagic phase before returning to settle on coral reefs (Michael, 2004; Kuiter, 2004). Taken together, a pelagic larval phase, ontogenetic modifications of the visual system, adult-specific feeding and habitat associations provide a rich substrate for the study of multi-trait ontogeny and its relationship to habitat transitions.

In this context, we explored the relationship between habitat transitions and ontogeny in dottybacks using histological, neurophysiological and molecular approaches. We conducted a developmental time series in the laboratory and explored wild-caught dottyback specimens to examine when, and under what conditions, ontogenetic colour changes would take place. We then assessed how these changes related to modifications of the dottyback visual system by using a combination of microspectrophotometry (MSP) and quantitative real-time PCR (qRT-PCR) approaches. Finally, we used theoretical fish visual models from the perspectives of the dottyback and of a dottyback predator, the coral trout, Plectropomus leopardus (St John, 1999), to assess whether changes of the visual system and skin colour would benefit the various life history strategies dottybacks adopt throughout ontogeny.

Study site and species

The field part of the study was conducted at Lizard Island (14°40′S, 145°27′E) and Heron Island (23°44′S, 151°91′E), Great Barrier Reef, Australia, between March 2007 and November 2013. Adult and juvenile dottybacks were collected on snorkel from shallow reefs (depth 2–5 m; yellow morphs from live coral, brown morphs from coral rubble, juveniles independent of habitat type) surrounding Lizard Island using an anaesthetic clove oil solution (10% clove oil, 40% ethanol, 50% seawater) and hand nets. Larval dottybacks and damselfishes (Pomacentrus spp.) were caught overnight at Lizard Island using light traps during the summer recruitment pulses in November 2007 and October–November 2013. Adult coral trout (N=1 Heron Island, no morphometrics; N=2 Lizard Island, total length 35.5 and 46 cm) were caught using de-barbed hooks and line in March 2007 (Heron Island) and November 2007 (Lizard Island). After capture, fish were placed in sealed bags of seawater, or in large plastic containers, and taken back to the laboratory for further examination. Coral trout and adult and larval dottybacks were used immediately for MSP, or eyes (adult and juvenile dottybacks) and in some cases the whole body (larval dottybacks) were stored on RNAlater (Life Technologies) for subsequent gene expression analysis. The skin of juvenile dottybacks was also used for cell histological assessments. Additional larval dottybacks and damselfishes were used for a developmental time series (see below). Fish sizes are reported in standard length (SL) throughout the study.

For the purpose of this study, we define larval dottybacks as those that are translucent (settlement stage larvae; 11–13 mm SL). After settlement has taken place (2–3 days), fish start to develop skin pigments and turn grey to light brown and are henceforth described as juveniles (SL≤48 mm). Adult stages are reached as soon as fishes adopt a mimic colour (either yellow or dark brown; SL≥43 mm; Figs 1 and 2). Juvenile and adult morphs were initially differentiated by eye based on their coloration, and the categorization was later reviewed based on the shape of their spectral reflectance curves (according to Marshall, 2000). Although our classification might not conform entirely to the traditional way ontogenetic stages in fishes are allocated (Balon, 1975), i.e. adult dottybacks in our study might not all have started to produce gametes, this classification coincides with two major life history transitions of dottybacks (also see Results and Discussion below).

Fig. 1.

Integrative approach to study multi-trait developmental adaptations during ontogenetic habitat shifts in the dusky dottyback, Pseudochromis fuscus. Developmental adaptations are marked with a star. (A) Dottybacks experience two major ontogenetic habitat transitions: settlement on coral reefs when returning from the pelagic environment as larvae, and reaching a size that enables them to feed on juvenile fish prey when turning into mimics as adults. (B) When returning to the reef, larval dottybacks are almost translucent (∼13 mm in standard length, SL), after which they quickly become pigmented and cryptic against their habitat background, before changing to their mimic colorations when turning into adults (∼43 mm). (C) Changes of the dottyback visual system precede ontogenetic colour change, probably because dottybacks need to alter their visual system to complete complex visual tasks before ontogenetic colour change can occur (see Discussion). The graph at the bottom shows the relative single (SWS1 and SWS2s) and twin (RH2s and LWS) cone opsin gene expression measured by quantitative real-time PCR (qRT-PCR) for larval expression profiles (N=18), juvenile expression profiles (N=17) and adult expression profiles (N=18). The smallest dottyback to express an adult profile was 26 mm. Note that larvae/juveniles mainly express three cone opsin genes within their retina, while adults mostly express five (also see Fig. S2). Crosses indicate no expression of SWS1 and RH2B genes. The box indicates Q2 and Q3, with the line indicating the median. The whiskers indicate Q1 and Q4 of the data, with dots marking outliers. *Holmes and McCormick, 2010.

Fig. 1.

Integrative approach to study multi-trait developmental adaptations during ontogenetic habitat shifts in the dusky dottyback, Pseudochromis fuscus. Developmental adaptations are marked with a star. (A) Dottybacks experience two major ontogenetic habitat transitions: settlement on coral reefs when returning from the pelagic environment as larvae, and reaching a size that enables them to feed on juvenile fish prey when turning into mimics as adults. (B) When returning to the reef, larval dottybacks are almost translucent (∼13 mm in standard length, SL), after which they quickly become pigmented and cryptic against their habitat background, before changing to their mimic colorations when turning into adults (∼43 mm). (C) Changes of the dottyback visual system precede ontogenetic colour change, probably because dottybacks need to alter their visual system to complete complex visual tasks before ontogenetic colour change can occur (see Discussion). The graph at the bottom shows the relative single (SWS1 and SWS2s) and twin (RH2s and LWS) cone opsin gene expression measured by quantitative real-time PCR (qRT-PCR) for larval expression profiles (N=18), juvenile expression profiles (N=17) and adult expression profiles (N=18). The smallest dottyback to express an adult profile was 26 mm. Note that larvae/juveniles mainly express three cone opsin genes within their retina, while adults mostly express five (also see Fig. S2). Crosses indicate no expression of SWS1 and RH2B genes. The box indicates Q2 and Q3, with the line indicating the median. The whiskers indicate Q1 and Q4 of the data, with dots marking outliers. *Holmes and McCormick, 2010.

Fig. 2.

Developmental time series tracing ontogenetic colour change in dottybacks. (A) When returning from the pelagic environment, larval dottybacks are almost translucent, showing only a little pigmentation on their cranial plate (B), and along the dorsal axis (C). (D–F) Within the first 2–3 days post-settlement (dps), black pigment rapidly starts to form inside melanophores and disperses over the whole body. (G–I) At 7–9 dps, dottybacks attain an overall grey to light-brown coloration, which is maintained (J,K,M,P) until juvenile dottybacks change into their mimic colorations as adults (Q,R). Note, yellow- and red-pigmented cells (xanthophores and erythrophores) first accumulate along the dorsal axis (C,F), spreading to the dorsal, caudal and anal fin (I,J,L,N,O), before migrating across the lateral axis to spread to the entire body (K,M,P). Red arrows point to developing xanthophores, blue arrows point to developing melanophores.

Fig. 2.

Developmental time series tracing ontogenetic colour change in dottybacks. (A) When returning from the pelagic environment, larval dottybacks are almost translucent, showing only a little pigmentation on their cranial plate (B), and along the dorsal axis (C). (D–F) Within the first 2–3 days post-settlement (dps), black pigment rapidly starts to form inside melanophores and disperses over the whole body. (G–I) At 7–9 dps, dottybacks attain an overall grey to light-brown coloration, which is maintained (J,K,M,P) until juvenile dottybacks change into their mimic colorations as adults (Q,R). Note, yellow- and red-pigmented cells (xanthophores and erythrophores) first accumulate along the dorsal axis (C,F), spreading to the dorsal, caudal and anal fin (I,J,L,N,O), before migrating across the lateral axis to spread to the entire body (K,M,P). Red arrows point to developing xanthophores, blue arrows point to developing melanophores.

Statistical analyses were conducted in R v.3.3.0 (R Core Team, 2013) using the package lme4 v.1.1-12 (Bates et al., 2015). Assumptions of normality and homogeneity of variance were assessed using histograms, residual plots and quantile–quantile plots.

Developmental time series

To investigate the course of ontogenetic colour change in dottybacks and eventual changes of the visual system associated with it, we placed single larval dottybacks (N=8) in holding tanks (40 cm×30 cm×25 cm) together with either yellow (Pomacentrus amboinensis) or brown juvenile damselfish (Pomacentrus chrysurus; four replicates per colour with five individuals each). Adult dottybacks are known to change their body coloration to imitate yellow and brown damselfishes (Cortesi et al., 2015a); therefore, we investigated whether juvenile dottybacks would adopt their mimic coloration immediately post-settlement.

Larval holding tanks (40 cm×30 cm×25 cm) were placed in daylight under shade cloth at the Lizard Island Research Station, with a constant supply of fresh seawater sourced directly from the ocean in front of the station. To make each tank into a reef mesocosm, we added 1 cm of sand substrate to the bottom of each tank, a live coral colony (cauliflower coral, Pocillopora damicornis, ∼30 cm in circumference and ∼10 cm in height) in the middle of the tank, and pieces of coral rubble (∼20 cm in circumference and ∼10 cm in height), placed in each corner. All larval fish were fed ad libitum with freshly hatched Artemia nauplii, twice daily.

To measure their size and take photographs of individual fish, dottybacks were temporarily removed from their tanks at different time points. Measurements were taken to the closest millimetre and photographs of various body parts were taken under a Zeiss Discovery v8 Stereoscope with an integrated AxioCam Erc5s microscope camera attached to a standard desktop computer running Zen2011 software (www.zeiss.com; Fig. 2). On day 34 post-settlement (dps), individuals from the developmental time series started to overlap in length (18–24 mm, mean±s.e.m. SL=22.3±0.8 mm) with the juveniles caught from the reef (N=16, 19–48 mm, 35.4±1.9 mm), and fish were then killed using an overdose of clove oil (40 mg l−1). Sections of their skin were taken for histological assessments and the eyes were transferred to RNAlater for subsequent gene expression analysis. As a control, additional larval dottybacks were kept in four separate holding tanks without damselfishes. Control fish were killed with an overdose of clove oil (40 mg l−1) either 1 dps (N=8) or 7–9 dps (N=8), before their bodies were transferred to RNAlater for subsequent gene expression analysis (see below).

Skin histological assessment

To assess the type of chromatophores (skin pigment cells) that were present at different ontogenetic time points, we took skin biopsies (0.5–1 cm2) from fish at the end of the developmental time series (34 dps, N=8; see above) and of larger juveniles (N=3, 38.0±2.3 mm) located and caught from the reef in January–February 2012. Biopsies were taken from behind the pectoral fin and were treated following the methods of Cortesi et al. (2015a). Results from juvenile fish were subsequently compared with skin histological assessments previously attained from adult dottyback morphs (data taken from Cortesi et al., 2015a; N=8 morphs each, yellow 55.4±3.1 mm, brown 61.6±2.8 mm; Fig. 3).

Fig. 3.

Skin micrographs of dottybacks across ontogeny. (A) Typical skin biopsies of juvenile dottybacks at the end of the developmental time series (∼24 mm SL). Arrows depict red-pigmented cells (presumable erythrophores), yellow-pigmented cells (presumable xanthophores) and black-pigmented cells (melanophores). The red cells are absent in the skin (B,C) and scales (D) of larger juvenile dottybacks (∼38 mm) and adult dottybacks (yellow and brown morphs, ∼58 mm). Instead, larger dottybacks show low numbers (<1%) of ‘hybrid’ cells containing yellow and black pigment within their scales (E) and skin (F) (sensuBagnara and Hadley, 1973). Scale bars: 100 µm.

Fig. 3.

Skin micrographs of dottybacks across ontogeny. (A) Typical skin biopsies of juvenile dottybacks at the end of the developmental time series (∼24 mm SL). Arrows depict red-pigmented cells (presumable erythrophores), yellow-pigmented cells (presumable xanthophores) and black-pigmented cells (melanophores). The red cells are absent in the skin (B,C) and scales (D) of larger juvenile dottybacks (∼38 mm) and adult dottybacks (yellow and brown morphs, ∼58 mm). Instead, larger dottybacks show low numbers (<1%) of ‘hybrid’ cells containing yellow and black pigment within their scales (E) and skin (F) (sensuBagnara and Hadley, 1973). Scale bars: 100 µm.

MSP

We used MSP to measure the spectral absorbance of different photoreceptor types in the retina of larval (N=1) and adult dottybacks (N=3), and of adult coral trout (N=3). MSP and raw absorbance spectra were analysed following the methods of Hart et al. (2011) and fitted with visual pigment absorbance spectrum templates of Stavenga et al. (1993) to be used for subsequent fish visual models (see below; Table 1, Fig. 4; Table S1, Fig. S1). Both the dottyback and coral trout contained single as well as twin cones within their retina. The individual members of the twin cones had a very similar overall morphology; however, one member generally contained a shorter shifted mid-wavelength sensitive visual pigment (MWS), while the other member contained a longer shifted long-wavelength sensitive visual pigment (LWS) (this was not always the case for the coral trout twin cones; see Results). Single cones contained a short-wavelength sensitive pigment (SWS).

Table 1.

Spectral characteristics of visual pigment found in the scotopic rod and the photopic single and twin cone photoreceptors of the dusky dottyback, Pseudochromis fuscus

Spectral characteristics of visual pigment found in the scotopic rod and the photopic single and twin cone photoreceptors of the dusky dottyback, Pseudochromis fuscus
Spectral characteristics of visual pigment found in the scotopic rod and the photopic single and twin cone photoreceptors of the dusky dottyback, Pseudochromis fuscus
Fig. 4.

Normalized pre-bleach absorbance spectra of the dottyback visual pigments measured with microspectrophotometry (MSP). (A) The visual pigment found in the rod photoreceptor used for scotopic vision (N=24). (B,C) The ‘violet–blue’ short-wavelength sensitive (SWS) single cones (B, short SWS, N=11; C, long SWS, N=4). (D) The ‘short-green’ mid-wavelength sensitive (MWS) member of the twin cones (N=2). (E) The ‘long-green’ MWS member of the twin cones (N=19). (F) The ‘red’ LWS member of the twin cones (N=9). (G) The mean of the broad absorbance spectra found mostly in the LWS member of twin cones and thought to be the result of co-expression of RH2Aβ and LWS visual pigments (N=13). The corresponding opsin genes are shown in the top right of each panel. Spectra were fitted with vitamin A1-based rhodopsin templates of the appropriate λmax calculated using the equations of Stavenga et al. (1993). Note that in G, no visual template was fitted, but instead the visual templates for the short MWS-twin and LWS-twin are shown.

Fig. 4.

Normalized pre-bleach absorbance spectra of the dottyback visual pigments measured with microspectrophotometry (MSP). (A) The visual pigment found in the rod photoreceptor used for scotopic vision (N=24). (B,C) The ‘violet–blue’ short-wavelength sensitive (SWS) single cones (B, short SWS, N=11; C, long SWS, N=4). (D) The ‘short-green’ mid-wavelength sensitive (MWS) member of the twin cones (N=2). (E) The ‘long-green’ MWS member of the twin cones (N=19). (F) The ‘red’ LWS member of the twin cones (N=9). (G) The mean of the broad absorbance spectra found mostly in the LWS member of twin cones and thought to be the result of co-expression of RH2Aβ and LWS visual pigments (N=13). The corresponding opsin genes are shown in the top right of each panel. Spectra were fitted with vitamin A1-based rhodopsin templates of the appropriate λmax calculated using the equations of Stavenga et al. (1993). Note that in G, no visual template was fitted, but instead the visual templates for the short MWS-twin and LWS-twin are shown.

Opsin genes, synteny and their phylogeny

Dottyback opsin genes were searched for in the genomic raw reads of the specimen that was sequenced as part of the whole-genome sequencing project at the Centre for Ecological and Evolutionary Synthesis (CEES) in Oslo, and the opsin gene sequences of the Nile tilapia, Oreochromis niloticus (Spady et al., 2006), were used as a reference against which to map the reads. Mapping and extraction of dottyback opsins followed the methods described in Cortesi et al. (2015b). Opsin sequences from 16 species were subsequently combined with the dottyback sequences to generate a dataset for the phylogenetic reconstruction of genes (Fig. 5). Genomes from three species were accessed from the Assembly or the SRA databases in GenBank (http://www.ncbi.nlm.nih.gov/genbank) and opsin genes were extracted following the methods of Cortesi et al. (2015b). Additional single gene coding sequences from 14 species were directly accessed from GenBank.

Fig. 5.

Vertebrate opsin gene phylogeny and gene synteny of dottyback opsins. The dottyback genome contains nine visual opsin genes (eight cone genes used for photopic vision and one rhodopsin gene used for scotopic vision) and the pineal gland exo-rhodopsin. Note that in addition to having three SWS2 genes (Cortesi et al., 2015b), dottybacks possess an additional RH2A gene, which is similar in synteny to the RH2A duplicates in the Nile tilapia, Oreochromis niloticus (O'Quin et al., 2011).

Fig. 5.

Vertebrate opsin gene phylogeny and gene synteny of dottyback opsins. The dottyback genome contains nine visual opsin genes (eight cone genes used for photopic vision and one rhodopsin gene used for scotopic vision) and the pineal gland exo-rhodopsin. Note that in addition to having three SWS2 genes (Cortesi et al., 2015b), dottybacks possess an additional RH2A gene, which is similar in synteny to the RH2A duplicates in the Nile tilapia, Oreochromis niloticus (O'Quin et al., 2011).

The combined opsin dataset was aligned using the l-ins-i algorithm in MAFFT 6.8 (Katoh and Toh, 2008) and the most appropriate model of sequence evolution was estimated in jModeltest v.2 (Darriba et al., 2012), using the Akaike information criterion (AIC) for model selection. A Bayesian inference phylogenetic hypothesis was calculated on the CIPRES platform (Miller et al., 2010), using the GTR+I+Γ model and an MCMC search with two independent runs and four chains each in MrBayes v.3.2.1 (Ronquist et al., 2012). Each run was set to 10 million generations, with trees sampled every 1000 generations (i.e. 10,000 trees/run) and a burn-in of 25%. Vertebrate-ancestral opsin gene sequences (VA-opsins) from four fish species were used as outgroups to reconstruct the phylogenetic relationship between opsins. The Dottyback genome data have been submitted to GenBank; other accession numbers are depicted after the species names in Fig. 5.

Opsin gene expression

To investigate whether the expression of cone opsins changed throughout ontogeny, we extracted RNA from the whole head of larvae prior to settlement (N=10, 11–13 mm, 12.2±0.4 mm) and at 1 dps (N=8, 12–13 mm, 12.8±0.3 mm), and small juveniles from the developmental time series 7–9 dps (N=8, 13–15 mm, 13.9±0.3 mm) and 34 dps (N=8, 18–24 mm, 22.3±0.8 mm). Additionally, RNA was extracted from retina tissue of larger juveniles (N=7, 19–41 mm, 31.8±3.1 mm) and adult morphs (N=6 each; yellow, 51–68 mm, 57.5±3.1 mm; brown, 49–65 mm, 58.5±2.7 mm) located and caught from the reef between April 2011 and February 2012. Importantly, juveniles from the reef overlapped in size with individuals from the developmental time series and reached all the way to the adult size class.

RNA extraction and qRT-PCR experiments were conducted following the methods of Stieb et al. (2016). In brief, unique primers were designed for each cone opsin gene, whereby either the forward or the reverse primer spanned an exon–exon boundary to warrant cDNA amplification (Table S2). Primer efficiency was validated using a fivefold dilution series of an opsin pool with a starting concentration of 0.1–0.5 nmol μl−1, making sure that the critical threshold cycle (Ct) values of the dilution series encompassed the Ct values of the samples (Table S2). The opsin pool contained equal ratios of fragments of each opsin gene that were amplified from cDNA (measured on an Agilent 2100 BioAnalyzer, Agilent Technologies). Opsin expression was calculated for short-wavelength sensitive genes (SWS1 and SWS2 expressed in single cones) and long-wavelength sensitive genes (RH2 and LWS, expressed in twin cones) separately as the fraction of total opsin gene expression within either single or twin cones, using the opsin pool as a reference to normalize between PCR plates. Individuals from different ontogenetic stages were randomly assigned to each RT reaction plate, and experiments were carried out with three technical replicates each (for further details on the approach, refer to Carleton and Kocher, 2001 and Stieb et al., 2016).

Expression data were transformed to the natural logarithm to compare opsin gene expression between different ontogenetic stages. Initially, a principal component analysis (PCA) followed by MANOVA revealed three distinct groups among ontogenetic stages: larvae prior to settlement and 1 dps (MANOVA, single cones: Pillai1,16=0.3, P=0.2; twin cones: Pillai1,16=0.2, P=0.4), small juveniles 7–9 and 34 dps (MANOVA, single cones: Pillai1,15=0.3, P=0.2; twin cones: Pillai1,15=0.3, P=0.1), and larger juveniles and adult morphs (yellow and brown dottybacks; MANOVA, single cones: Pillai2,15=0.5, P=0.2; twin cones: Pillai2,15=0.3, P=0.5). Importantly, PCA revealed that one large juvenile from the reef at 19 mm overlapped in expression with the small juvenile expression profile (Fig. S2A). Ontogenetic stages were subsequently joined into three different subgroups for expression analysis: larval expression (N=18), juvenile expression (N=17) and adult expression (N=18; Fig. 1; Fig. S2).

Measurement of body coloration and visual models of colour discrimination

Spectral reflectance measurements of juvenile dottybacks (N=6, 38.0±3.2 mm) located and caught between April and May 2011 were obtained following the methods of Cortesi et al. (2015a). Juvenile spectra were combined with measurements previously attained from adult dottybacks (yellow, N=31; brown, N=32), and from the yellow (Pomacentrus amboinensis and P. moluccensis) and brown (P. chrysurus) damselfishes they imitate as adults (N=8 each; data taken from Cortesi et al., 2015a; Fig. 6A). These spectra were then used in theoretical fish visual models (Vorobyev and Osorio, 1998; Vorobyev et al., 2001) to determine: (i) whether an adult expression profile would change the ability of dottybacks to discriminate between damselfishes compared with a juvenile expression profile (Fig. 6E), and (ii) how the predatory coral trout may perceive juvenile and adult dottybacks against a coral rubble or live coral background (Fig. 6F; for measurements of background spectra, see Cortesi et al., 2015a; Fig. 6B).

Fig. 6.

Theoretical fish vision models used to investigate the possible benefits of ontogenetic changes in dottybacks. (A,B) Mean spectral reflectance measurements of juvenile (N=6) and adult (yellow, N=31; brown, N=32) dottybacks and (A) the damselfish they mimic as adults (yellow and brown, N=8 each) and (B) the habitat types that dottybacks are found on [yellow morphs on live coral, brown morphs on coral rubble (Munday et al., 2003) and juveniles across habitat types]. (C,D) Visual templates of juvenile and adult dottybacks (C) and the predatory coral trout, Plectropomus leopardus (D; see also Fig. 4, Fig. S2). In C, the dashed spectral curves are adult specific while the continuous curves belong to both larval/juvenile and adult dottyback visual systems. The genes corresponding to the visual pigments found in different photoreceptor types are shown (see also Fig. 4). These visual templates were used to calculate the chromatic (hue, ΔS) and luminance contrast (ΔL) (Vorobyev and Osorio, 1998; Vorobyev et al., 2001) between yellow and brown damselfish models (Pomacentrus amboinensis and P. moluccensis, yellow; P. chrysurus, brown) when perceived by different dottyback stages (P. fuscus; E), and between dottybacks and different habitat types when perceived by the coral trout (P. leopardus; F). In E, juvenile dottybacks were modelled to have three spectral sensitivities (trichromacy), while adult dottybacks were modelled to have four spectral sensitivities (tetrachromacy) using the long MWS (RH2Aα) and either an A1-based LWS (LWS) or a broad absorbance spectra-based LWS (putative RH2Aβ and LWS co-expression) for the twin cone members. In F, the coral trout was modelled as a trichromat using separate values for the MWS and LWS twin cone members, or as a dichromat using the broad absorbance spectra for both twin cone members. Details on statistical values in F are provided in Table 2. Note that, independent of the visual receiver, ΔS was lower when visual models were computed using the broad absorbance spectra. Coral trout image credit: G. A. C. Phillips.

Fig. 6.

Theoretical fish vision models used to investigate the possible benefits of ontogenetic changes in dottybacks. (A,B) Mean spectral reflectance measurements of juvenile (N=6) and adult (yellow, N=31; brown, N=32) dottybacks and (A) the damselfish they mimic as adults (yellow and brown, N=8 each) and (B) the habitat types that dottybacks are found on [yellow morphs on live coral, brown morphs on coral rubble (Munday et al., 2003) and juveniles across habitat types]. (C,D) Visual templates of juvenile and adult dottybacks (C) and the predatory coral trout, Plectropomus leopardus (D; see also Fig. 4, Fig. S2). In C, the dashed spectral curves are adult specific while the continuous curves belong to both larval/juvenile and adult dottyback visual systems. The genes corresponding to the visual pigments found in different photoreceptor types are shown (see also Fig. 4). These visual templates were used to calculate the chromatic (hue, ΔS) and luminance contrast (ΔL) (Vorobyev and Osorio, 1998; Vorobyev et al., 2001) between yellow and brown damselfish models (Pomacentrus amboinensis and P. moluccensis, yellow; P. chrysurus, brown) when perceived by different dottyback stages (P. fuscus; E), and between dottybacks and different habitat types when perceived by the coral trout (P. leopardus; F). In E, juvenile dottybacks were modelled to have three spectral sensitivities (trichromacy), while adult dottybacks were modelled to have four spectral sensitivities (tetrachromacy) using the long MWS (RH2Aα) and either an A1-based LWS (LWS) or a broad absorbance spectra-based LWS (putative RH2Aβ and LWS co-expression) for the twin cone members. In F, the coral trout was modelled as a trichromat using separate values for the MWS and LWS twin cone members, or as a dichromat using the broad absorbance spectra for both twin cone members. Details on statistical values in F are provided in Table 2. Note that, independent of the visual receiver, ΔS was lower when visual models were computed using the broad absorbance spectra. Coral trout image credit: G. A. C. Phillips.

Table 2.

Summary of the chromatic and luminance (achromatic) contrast between dottyback ontogenetic stages when perceived against different habitat backgrounds by the coral trout, Plectropomus leopardus

Summary of the chromatic and luminance (achromatic) contrast between dottyback ontogenetic stages when perceived against different habitat backgrounds by the coral trout, Plectropomus leopardus
Summary of the chromatic and luminance (achromatic) contrast between dottyback ontogenetic stages when perceived against different habitat backgrounds by the coral trout, Plectropomus leopardus
The visual models calculate the chromatic distance between two colours (ΔS) within the visual ‘space’ of the fish based on an opponent mechanism, which is limited by the noise of the different photoreceptors (Vorobyev and Osorio, 1998; Vorobyev et al., 2001), whereby, ΔS=1 is an approximate threshold of discrimination, ΔS<1 indicates colours are chromatically indistinguishable, and ΔS>1 indicates colours are discriminable from one another (just noticeable difference, JND; e.g. Cheney et al., 2014; Boileau et al., 2015). In addition, the coral trout might also use differences in luminance contrast (ΔL) to detect dottybacks against their habitat background. In general, coral reef fishes are assumed to use the LWS receptor to perceive differences in ΔL, with some direct evidence in damselfishes (Siebeck et al., 2014). Hence, we used the differences in the natural logarithm quantum catch (Q) of the coral trout LWS receptor (522 or 532 nm λmax; see Results) to calculate ΔL between dottybacks and habitat types:
(1)

Members of twin cones have previously been shown to contribute individually to colour vision in some coral reef fishes (Pignatelli et al., 2010). Consequently, dottybacks with juvenile expression (SWS2Aβ, RH2Aα, LWS) were modelled as trichromatic and those with adult expression (SWS2Aα, SWS2Aβ, RH2Aα, LWS or LWS/RH2Aβ; see Results) as tetrachromatic using different visual sensitivities for the LWS member of the adult twin cones: first, a vitamin A1-based visual template (561 nm λmax) and second, a broader absorbance spectrum presumably derived from opsin co-expression (552 nm λmax; Figs 4 and 6). Because broad absorbance spectra were also found in the coral trout twin cones, we modelled its visual system to be either trichromatic or dichromatic. These models were computed using two A1-based templates for the MWS (507 nm λmax) and LWS (532 nm λmax) members of the twin cones or using a broad absorbance spectrum for both twin cone members (522 nm λmax), respectively (Fig. 6, Fig. S1).

Spectral sensitivity curves were multiplied by the lens transmission cut-off (dottyback T50=435 nm; coral trout T50=411 nm; Siebeck and Marshall, 2001) to generate species-specific visual templates (Fig. 6C,D). Cone receptor ratios were based on previously conducted morphological assessments of coral reef fish retinas (N.J.M., unpublished) and set to 1:4 (SWS:LWS) for dichromatic, 1:2:2 for trichromatic (SWS:MWS:LWS) and 1:1:2:2 (SWS:SWS:MWS:LWS) for tetrachromatic visual systems. To account for the light environment under which fish and the background habitat are viewed, we modelled colour discrimination using illumination measurements taken from their natural environments at a water depth of 5 m (as per Cortesi et al., 2015a).

To examine whether dottybacks with a juvenile or an adult expression would differ in their ability to discriminate between damselfish colours (N=8 yellow, N=8 brown damselfishes; 64 pairwise comparisons), we used a linear mixed model (LMM) in lmerTest v.2.0-11 (R package lme4) with ΔS square-root transformed as the response variable. Signal receiver (juvenile, adult, adult co-expression) was set as fixed factor, and damselfish identities were set as random factors. We used likelihood ratio tests to compare a model with random intercepts-only to a model with random slopes and intercepts (models fitted by maximum likelihood). However, we found no significant difference between approaches and the final model was computed using random intercepts-only. Linear models (LMs) were used to investigate whether the coral trout would perceive juvenile and adult dottybacks differently when seen against various habitat backgrounds (trichromatic and dichromatic results were analysed separately). The nature of significant differences was further examined using Tukey–Kramer HSD means comparison tests.

Do dottybacks change colour during ontogenetic habitat shifts?

When larval dottybacks settle onto reefs after their pelagic larval stage, they are translucent and show only a few pigmented chromatophore cells, mostly along the dorsal axis and on the cranial plate (Fig. 2A–C). Within the first 2–3 dps, pigments rapidly start to form and to disperse over the whole body (Fig. 2D–F). At 7–9 dps, fish attain an overall grey to light-brown coloration (Fig. 2G–I). This coloration is maintained (Fig. 2K,M,P) until juvenile dottybacks change to either dark brown or yellow colour morphs as adults, when feeding and habitat specializations take place (Figs 1 and 2Q,R).

While melanophores (black pigment cells) immediately spread across the whole body, erythrophores and xanthophores (red and yellow pigment cells) first accumulate along the dorsal axis (Fig. 2C,F), spreading to the dorsal and caudal fin (Fig. 2I,J,L), before migrating across the lateral and ventral axis to spread across the entire body (Fig. 2K,M). At the end of the developmental time series, at 34 dps, juvenile dottybacks possessed a mixture of melanophores, erythrophores and xanthophores within their skin (Fig. 3A). However, erythrophores were absent in the skin of larger juvenile and adult dottybacks (Fig. 3B–D). Instead, in addition to melanophores and xanthophores, we sporadically found ‘mosaic’ cells (sensuBagnara and Hadley, 1973) within the skin of these specimens (<1% of overall chromatophores), i.e. chromatophores that contained black and yellow pigments and thus appeared to be at a transitional stage between melanophores and xanthophores (Fig. 3E,F).

When returning from the pelagic environment, larval dottybacks measured 11–13 mm, after which fish continuously grew until reaching 18–24 mm at the end of the developmental time series at 34 dps. Juvenile dottybacks caught from the reef (independent of habitat type) ranged from 19 to 48 mm and did not differ in coloration from dottybacks that were raised with either yellow or brown damselfish in our developmental time series. The smallest dottyback to adopt a mimic coloration was 43 mm for yellow morphs and 44 mm for brown morphs.

Does the dottyback visual system change during ontogenetic habitat shifts?

Using MSP, we found seven different types of visual pigments within dottyback retinas, of which two were adult specific (summarized in Table 1). Rods contained a MWS pigment with a mean λmax at 498 nm (N=24 cells; Fig. 4A). There were two spectrally distinct types of single cones containing SWS (‘blue’) pigments: adult-specific cones containing a visual pigment with a mean λmax at 448 nm (N=11 cells; Fig. 4B) and cones that occurred throughout ontogeny with a visual pigment having a mean λmax at 457 nm (N=4 cells; Fig. 4C; see also Cortesi et al., 2015b). Most dottyback twin cones were made up of a member containing a MWS (‘green’)-sensitive visual pigment with a mean λmax at 524 nm (long MWS, N=19 cells; Fig. 4E) and a second member containing a LWS (‘red’) visual pigment with a mean λmax at 561 nm (N=9 cells; Fig. 4F). However, we also found one twin cone in adult dottybacks that contained two shorter shifted MWS pigments with a mean λmax at 512 nm (short MWS, N=2 cells; Fig. 4D). In addition, the LWS members of twin cones in adult fish were found to sporadically depict unusually broad absorbance spectra (N=12 cells), with a mean λmax of 552 nm (Fig. 4G). Moreover, we also found one MWS member with a broad absorbance spectrum at 523 nm λmax (see Discussion on the possible origin of these broad spectra; Fig. 4G, Table 1).

Using whole-genome sequencing, we recovered 10 different opsin genes from the dottyback genome, nine of which are orthologous to visual opsin genes from other vertebrates and similar in synteny to the visual opsin genes of the Nile tilapia (O'Quin et al., 2011), and one of which is orthologous to exo-rhodopsin, the opsin gene expressed in the pineal gland of fishes (Mano et al., 1999; Fig. 5). Phylogenetic analyses revealed that dottyback visual opsins belong to the known visual opsin gene families in percomorph fishes (Rennison et al., 2012), including one rod opsin gene used for scotopic vision (RH1) and six cone opsin genes used for photopic vision: four ‘UV–blue’-sensitive genes (SWS1, SWS2Aα, SWS2Aβ and SWS2B; see also Cortesi et al., 2015b), one ‘blue–green’-sensitive gene (RH2B) and one ‘red’-sensitive gene (LWS). In addition, we discovered a novel, possibly dottyback-specific duplication of the ‘green’-sensitive RH2A gene: RH2Aα and RH2Aβ, which cluster together in the phylogeny (Fig. 5).

Independent of ontogeny, dottybacks did not express the UV-sensitive SWS1 or the green-sensitive RH2B genes (Fig. 1C; Fig. S2). Larval dottybacks were found to express three single (SWS2) and two twin cone (RH2 and LWS) opsins within their retina (percentage of overall single or twin cone opsin expression): SWS2B, 4.2±0.5%; SWS2Aα, 1.6±1.4%; SWS2Aβ, 94.1±1.4%; RH2Aα, 74.9±2.5%; and LWS, 23.9±2.5%. However, both SWS2B and SWS2Aα were expressed at very low levels and are therefore unlikely to be used for vision. Juvenile dottybacks, in contrast, were found to express one single and two twin cone opsins: SWS2Aβ, 99.4±0.1%; RH2Aα, 50.2±4.7%; and LWS, 49.6±4.7%. Finally, dottybacks with an adult expression profile were found to express two single and three twin cone opsins: SWS2Aα, 71.71±2.5%; SWS2Aβ, 28.23±2.5%; RH2Aα, 20.5±3.0%; RH2Aβ, 45.8±2.7%; and LWS, 33.2±2.0% (Fig. 1C; Fig. S2).

The largest juveniles with juvenile expression profiles were found to be between 19 mm (wild caught) and 24 mm (developmental time series), and the smallest juvenile with an adult expression profile was found to be 26 mm (wild caught). Hence, the transition between the juvenile and the adult expression profile occurs when dottybacks reach ∼25 mm, well before the juvenile to adult colour change and habitat specialization take place. Moreover, these data together with the MSP measurements enabled us to assign visual pigments (and sensitivities) to opsin genes: SWS2Aα at 448 nm λmax (adult specific), SWS2Aβ at 457 nm λmax, RH2Aα at 524 nm λmax, RH2Aβ at 512 nm λmax (adult specific) and LWS at 561 nm λmax (Table 1 and Fig. 4).

Coral trout visual system

The coral trout rod cells contained a MWS pigment with a mean λmax at 497 nm (N=22 cells; Fig. S1A), while single cones contained a SWS pigment with a mean λmax at 455 nm (N=10 cells; Fig. S1B). Similar to the dottybacks, the coral trout twin cone members were found to have absorbance spectra that were broader than would be expected based on the presence of only a single pigment binding either an A1 or an A2 chromophore. However, in this case, broad absorbance spectra were found for almost every cell and often both twin cone members had a similar spectral absorbance ranging from 507 to 532 nm λmax (mean λmax=522 nm, N=48 cells; Fig. S1C).

Colour discrimination by juvenile and adult dottybacks and by the predatory coral trout

Using theoretical vision models, we found that the chromatic contrast (ΔS) between differently coloured damselfish models increased for adult dottybacks compared with juvenile dottybacks (ΔS brown versus yellow damselfish: adult dottybacks with A1-based LWS=5.5±0.5; adult dottybacks with broad LWS spectrum=5.0±0.4; juvenile dottybacks=4.3±0.3; LMM: χ22=16.9, P<0.001). However, while adult dottybacks with an A1-fitted LWS had a significantly higher ΔS compared with juvenile dottybacks (pairwise post hoc Tukey contrast: z=−4.2, P<0.001), this difference was not apparent when using the broad LWS spectrum (pairwise post hoc Tukey contrast: z=−0.1, P=0.1; Fig. 6E).

From the perspective of the predatory coral trout, we found that when perceived against different habitat backgrounds, there was a significant difference between juvenile and adult dottybacks for colour (ΔS: LM, dottyback colour×habitat type, trichromat: F2,134=134.9, P<0.001; dichromat: F2,134=124.2, P<0.001) and luminance contrast (ΔL: LM, dottyback colour×habitat type, trichromat: F2,134=55.0, P<0.001; dichromat: F2,134=48.4, P<0.001; Fig. 6F). While adult yellow and brown morphs have previously been shown to match their habitat (yellow on live coral and brown on coral rubble; Cortesi et al., 2015a), we found no difference in colour and luminance contrast for juveniles against either habitat type (ΔS and ΔL values as well as pairwise post hoc Tukey contrast tests are summarized in Table 2; Fig. 6F). However, although using different chromaticity models did not change our conclusions and ΔL remained similar between models, ΔS was consistently lower for the dichromatic models than for the trichromatic models (Table 2, Fig. 6F).

Using a multidisciplinary approach, we show that dottybacks experience two major ontogenetic habitat shifts, which are associated with multi-trait developmental modifications. Starting their life as translucent larvae, dottybacks are likely to be well camouflaged within the open water of the pelagic environment. Upon returning to the reef to settle, larvae quickly become pigmented and adopt a coloration that, independent of the habitat background, appears cryptic from the perspective of their predators. The smallest adult dottybacks from our study were ∼43 mm, which coincides with the predicted minimum size at which dottybacks are capable of feeding on juvenile fish prey (Holmes and McCormick, 2010; Fig. 1A). Hence, adopting their characteristic mimic coloration at this ontogenetic stage is likely to deliver substantial fitness benefits in terms of deceiving and capturing prey, and – at the same time – maintaining cryptic benefits due to model-associated habitat specialization (see also Cortesi et al., 2015a, for further details on multiple fitness benefits of this mimicry system).

Interestingly, we found that the type of chromatophore within the skin of dottybacks changes throughout ontogeny. Smaller juveniles have a combination of erythrophores, xanthophores and melanophores, while larger juveniles and adults lose erythrophores, and instead possess low numbers of mosaic cells containing both yellow and black pigments. Note, however, that the occurrence of adult orange dottyback morphs in Papua New Guinea indicates that, in some populations, erythrophores may be maintained throughout ontogeny (Messmer et al., 2005). Furthermore, as erythrophores and xanthophores are characterized by their carotenoid (red/orange)- and/or pteridine (yellow)-derived coloration (Fujii, 1993; Sköld et al., 2016), dottybacks may only possess one ‘red–yellow’ chromatophore type. Changes in hue of this chromatophore could then be achieved by varying the amount and/or type of pigment within the cell. Such trans-differentiation of chromatophore cells is a rarely described phenomenon in fish (Leclercq et al., 2009), but could also explain the mosaic cells we found in larger dottybacks. If cells were able to change their pigment content, then the non-developmental colour changes in adult mimics (Cortesi et al., 2015a) could occur without having to invest in the production of novel cellular structures. However, chromatographic approaches are needed to unambiguously distinguish between chromatophore types and pigment contents thereof in dottybacks.

The visual systems of coral reef fish larvae often undergo major morphological changes when the fish return to the reef and metamorphose into their juvenile phenotypes (Evans and Browman, 2004; Evans and Fernald, 1990). Generally, early-stage larvae possess a pure cone retina and are sensitive to shorter wavelengths of light, which is ideal for a life in a well-lit epipelagic environment (Britt et al., 2001; Evans and Browman, 2004; Evans and Fernald, 1990; Hunt et al., 2014). Our study did not include larval dottybacks from their early planktonic stages, which could explain why we only found very low levels or no expression of the shorter SWS (SWS1 ‘UV’ and SWS2B ‘violet’) and MWS (RH2B ‘blue–green’) pigments. What we found instead is that at the time when dottyback larvae return from the pelagic environment, they possess a fully developed retina containing all photoreceptor types (single cones, twin cones and rods) that are also present in adults. These photoreceptors mainly express three longer-wavelength shifted cone opsins (SWS2Aβ, RH2Aα, LWS), theoretically providing settlement-stage fish with the ability to see colours likely to be necessary for survival on the reef (Evans and Fernald, 1990).

Using qRT-PCR, we showed that juvenile dottybacks change to an adult visual system when reaching ∼25 mm, thereby predating the ontogenetic colour change and juvenile to adult habitat transition, which only occurs when dottybacks are substantially larger (∼43 mm). While it has previously been shown that dottybacks express an additional blue opsin gene as adults (SWS2Aα; Cortesi et al., 2015b), we found that, just like in cichlids (Spady et al., 2006) and black bream, Acanthopagrus butcheri (Shand et al., 2008), larger dottybacks in addition start to express a second green opsin within their retina (RH2Aβ; Fig. 1; Fig. S2). Strikingly, the synteny of green genes, while unknown for black bream, is alike in dottybacks and cichlids, with the RH2Aα gene occurring in a prominent reversed orientation between the upstream RH2B and the downstream RH2Aβ genes (O'Quin et al., 2011; Fig. 5). However, it remains to be investigated whether these findings are instances of convergence or whether it is a more commonly occurring pattern in fishes that possess multiple RH2A genes, such as the Japanese rice fish, Oryzias latipes (Matsumoto et al., 2006), or the tiger rockfish, Sebastes nigrocinctus (Fig. 5).

Interestingly, in adult dottybacks, RH2Aβ was found to be the highest expressed twin cone gene, but pure RH2Aβ pigment was only found in two out of 43 cells. This suggests that the large absorbance spectra in the adult LWS twin cones may derive from the co-expression of RH2Aβ with LWS (RH2Aβ with RH2Aα in the case of the MWS twin cone). The proposed dottyback scenario of co-expression involving two orthologous green genes (RH2A) with a difference in λmax of ∼10 nm and a longer shifted red gene (LWS), has recently been reported for the freshwater cichlid Metriaclima zebra (Dalton et al., 2014). In M. zebra, co-expressing multiple visual pigments within a single photoreceptor significantly enhances luminance discrimination, but the drawback seems to be a decrease in chromatic colour discrimination (Dalton et al., 2014). In support of these findings, we found a very similar pattern when modelling dottyback and coral trout visual tasks using the broad absorbance spectra instead of A1-based visual templates. This suggests that pigment co-expression may serve a common function even across very distantly related species, which raises the question whether opsin co-expression has a long-lasting evolutionary history in fishes?

An alternative to opsin co-expression would be that both the dottyback and coral trout twin cone outer segments contained a mixture of A1 and A2 chromophores, something that has previously been found to cause broad absorbance spectra in frogs (Reuter et al., 1971). However, so far there are very few (if any) coral reef fishes that have been reported to contain A2 chromophores within their photoreceptors (e.g. Toyama et al., 2008). Moreover, given that for both species the rod and SWS cones and in the dottyback also the ‘normal’ MWS and LWS cones are fitted by A1 templates, it is unlikely that the broad spectra are due to chromophore mixtures. Nevertheless, methods such as in situ hybridization, gene knock-out approaches or chromophore extractions are necessary to unambiguously assess whether the broad spectra are caused by pigment co-expression or by chromophore mixtures.

Finally, the visual models showed that adult dottybacks might have an increased ability to distinguish between the colorations of the damselfishes they mimic compared with juvenile dottybacks, at least when relying on pure A1-based LWS photoreceptors. Having excellent colour discrimination could be essential for dottybacks to determine the differences between the fishes they are going to mimic, which might partly explain why juvenile dottybacks switch their visual system well before ontogenetic colour changes take place. Interestingly, it has recently been observed that opsins are also expressed in a variety of non-eye tissues of fishes including the skin, where they are thought to mediate colour change via chromatophore light sensing (e.g. Chen et al., 2013; Davies et al., 2015). Whether the dottybacks also express opsins in their skin and how light sensing may contribute to colour change in this species warrants further investigation.

Using theoretical visual models as well as modelling only a few visual tasks, however, has its limitations. The assumption that juvenile dottybacks are trichromatic while adults are tetrachromatic, or, for that matter, that the coral trout is either dichromatic or trichromatic, needs to be verified by behavioural experimentation. Moreover, the models show that both juvenile and adult dottybacks should have colour vision and behavioural experiments are therefore needed to establish the significance (if any) of the changes in colour discrimination between different developmental stages. This is important because it is currently not understood what a change in JND beyond the discrimination threshold of 1 signifies for the animal, and whether the discrimination threshold varies depending on direction and position in colour space. Finally, behavioural experiments are also needed to test the role putative opsin co-expression may play for vision in these species.

In conclusion, despite the evolutionary importance of ontogenetic habitat shifts, detailed studies investigating the triggers for the transitions and how these interrelate with multi-trait developmental adaptations remain scarce. Here, we examined ontogenetic habitat transitions in the dusky dottyback, an enigmatic mimic with the ability to imitate differently coloured model species in its surroundings. We show that dottybacks start their lives well camouflaged within their respective habitats and while their visual systems quickly adapt to a lifestyle on coral reefs, changes to their mimic adult coloration and associated habitat specialization only occur once dottybacks are big enough to feed on juvenile fish prey. Therefore, our study highlights the importance of comparative approaches to understand how species adapt and evolve to an ever-changing environment.

We would like to thank Eva C. McClure, Peter A. Waldie and William E. Feeney for assistance in the field, Mark McCormick and Mark Meekan for the use of light traps, and the staff at the Lizard Island Research Station for logistical help. We would furthermore like to thank the members of the Teleost Genome Project at CEES, University of Oslo, for providing unpublished raw sequence reads, and two anonymous referees for valuable suggestions.

Author contributions

F.C. conceived the study and designed the experiments together with N.J.M., K.L.C. and W.S. F.C., Z.M., S.M.S., N.S.H. and U.E.S. performed the experiments and analysed the data. F.C., Z.M., K.L.C., W.S. and N.J.M. wrote the initial manuscript. All authors reviewed and approved the final version of the manuscript.

Funding

F.C. was supported by an Australian Endeavour Research Fellowship (2012), Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung Doctoral Mobility and Early Postdoctoral Mobility Fellowships (148460; 165364), and a Doctoral Fellowship (2013) from the Lizard Island Research Station, a facility of the Australian Museum; Z.M. was supported by Novartis – Universität Basel Excellence Scholarship for Life Sciences; S.M.S. was supported by the German Academic Exchange Service (Deutscher Akademischer Austauschdienst) (2012–2014); N.S.H. was supported by an Australian Research Council QEII Research Fellowship (DP0558681); U.E.S was supported by an Australian Research Council APD Fellowship (DP557285); K.L.C. was supported by the University of Queensland and the Australian Research Council; W.S. was supported by the Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung and the European Research Council; and N.J.M. was supported by the Australian Research Council.

Data availability

Bagnara
,
J. T.
and
Hadley
,
M. E.
(
1973
).
Chromatophores and Color Change: The Comparative Physiology of Animal Pigmentation
.
Engelwood Cliffs
,
USA
:
Prentice-Hall
.
Balon
,
E. K.
(
1975
).
Terminology of intervals in fish development
.
J. Fish. Res. Board. Can.
32
,
1663
-
1670
.
Bates
,
D.
,
Mächler
,
M.
,
Bolker
,
B.
and
Walter
,
S.
(
2015
).
Fitting linear mixed-effects models using lme4
.
J. Stat. Softw.
67
,
1
-
48
.
Boileau
,
N.
,
Cortesi
,
F.
,
Egger
,
B.
,
Muschick
,
M.
,
Indermaur
,
A.
,
Theis
,
A.
,
Büscher
,
H. H.
and
Salzburger
,
W.
(
2015
).
A complex mode of aggressive mimicry in a scale-eating cichlid fish
.
Biol. Lett.
11
,
20150521
.
Booth
,
C. L.
(
1990
).
Evolutionary significance of ontogenetic colour change in animals
.
Biol. J. Linn. Soc.
40
,
125
-
163
.
Britt
,
L. L.
,
Loew
,
E. R.
and
McFarland
,
W. N.
(
2001
).
Visual pigments in the early life stages of Pacific northwest marine fishes
.
J. Exp. Biol.
204
,
2581
-
2587
.
Carleton
,
K. L.
and
Kocher
,
T. D.
(
2001
).
Cone opsin genes of african cichlid fishes: tuning spectral sensitivity by differential gene expression
.
Mol. Biol. Evol.
18
,
1540
-
1550
.
Chen
,
S.-C.
,
Robertson
,
R. M.
and
Hawryshyn
,
C. W.
(
2013
).
Possible involvement of cone opsins in distinct photoresponses of intrinsically photosensitive dermal chromatophores in tilapia Oreochromis niloticus
.
PLoS ONE
8
,
e70342
.
Cheney
,
K. L.
,
Cortesi
,
F.
,
How
,
M. J.
,
Wilson
,
N. G.
,
Blomberg
,
S. P.
,
Winters
,
A. E.
,
Umanzör
,
S.
and
Marshall
,
N. J.
(
2014
).
Conspicuous visual signals do not coevolve with increased body size in marine sea slugs
.
J. Evol. Biol.
27
,
676
-
687
.
Childress
,
M. J.
and
Herrnkind
,
W. F.
(
2001
).
Influence of conspecifics on the ontogenetic habitat shift of juvenile Caribbean spiny lobsters
.
Mar. Freshwater Res.
52
,
1077
-
1084
.
Collin
,
S. P.
and
Marshall
,
N. J.
(
2003
).
Sensory Processing in Aquatic Environments
.
New York
,
USA
:
Springer-Verlag
.
Cortesi
,
F.
,
Feeney
,
W. E.
,
Ferrari
,
M. C. O.
,
Waldie
,
P. A.
,
Phillips
,
G. A. C.
,
McClure
,
E. C.
,
Sköld
,
H. N.
,
Salzburger
,
W.
,
Marshall
,
N. J.
and
Cheney
,
K. L.
(
2015a
).
Phenotypic plasticity confers multiple fitness benefits to a mimic
.
Curr. Biol.
25
,
949
-
954
.
Cortesi
,
F.
,
Musilová
,
Z.
,
Stieb
,
S. M.
,
Hart
,
N. S.
,
Siebeck
,
U. E.
,
Malmstrøm
,
M.
,
Tørresen
,
O. K.
,
Jentoft
,
S.
,
Cheney
,
K. L.
,
Marshall
,
N. J.
, et al. 
(
2015b
).
Ancestral duplications and highly dynamic opsin gene evolution in percomorph fishes
.
Proc. Natl. Acad. Sci. USA
112
,
1493
-
1498
.
Dahlgren
,
C. P.
and
Eggleston
,
D. B.
(
2000
).
Ecological processes underlying ontogenetic habitat shifts in a coral reef fish
.
Ecology
81
,
2227
-
2240
.
Dalton
,
B. E.
,
Loew
,
E. R.
,
Cronin
,
T. W.
and
Carleton
,
K. L.
(
2014
).
Spectral tuning by opsin coexpression in retinal regions that view different parts of the visual field
.
Proc. R. Soc. B Biol. Sci.
281
,
20141980
.
Darriba
,
D.
,
Taboada
,
G. L.
,
Doallo
,
R.
and
Posada
,
D.
(
2012
).
jModelTest 2: more models, new heuristics and parallel computing
.
Nat. Methods
9
,
772-772
.
Davies
,
W. I. L.
,
Tamai
,
T. K.
,
Zheng
,
L.
,
Fu
,
J. K.
,
Rihel
,
J.
,
Foster
,
R. G.
,
Whitmore
,
D.
and
Hankins
,
M. W.
(
2015
).
An extended family of novel vertebrate photopigments is widely expressed and displays a diversity of function
.
Genome Res.
25
,
1666
-
1679
.
Evans
,
B. I.
and
Browman
,
H. I.
(
2004
).
Variation in the development of the fish retina
. In
Development of Form and Function in Fishes, and the Question of Larval Adaptation
(ed.
J. J.
Govoni
), pp.
145
-
166
.
Bethesda, MD
:
American Fisheries Society Symposium 40
.
Evans
,
B. I.
and
Fernald
,
R. D.
(
1990
).
Metamorphosis and fish vision
.
J. Neurobiol.
21
,
1037
-
1052
.
Fujii
,
R.
(
1993
).
Cytophysiology of fish chromatophores
. In
International Review of Cytology
(ed.
W.
Kwang
,
M. F.
Jeon
and
J.
Jonathan
), pp.
191
-
255
.
San Diego
,
USA
:
Academic Press
.
Grant
,
J. B.
(
2007
).
Ontogenetic colour change and the evolution of aposematism: a case study in panic moth caterpillars
.
J. Anim. Ecol.
76
,
439
-
447
.
Hart
,
N. S.
,
Theiss
,
S. M.
,
Harahush
,
B. K.
and
Collin
,
S. P.
(
2011
).
Microspectrophotometric evidence for cone monochromacy in sharks
.
Naturwissenschaften
98
,
193
-
201
.
Holmes
,
T. H.
and
McCormick
,
M. I.
(
2010
).
Size-selectivity of predatory reef fish on juvenile prey
.
Mar. Ecol. Prog. Ser.
399
,
273
-
283
.
Hunt
,
D. M.
,
Hankins
,
M. W.
,
Collin
,
S. P.
and
Marshall
,
N. J.
(
2014
).
Evolution of Visual and Non-visual Pigments
.
New York
:
Springer
.
Katoh
,
K.
and
Toh
,
H.
(
2008
).
Recent developments in the MAFFT multiple sequence alignment program
.
Brief. Bioinform.
9
,
286
-
298
.
Kodric-Brown
,
A.
(
1998
).
Sexual dichromatism and temporary color changes in the reproduction of fishes
.
Am. Zool.
38
,
70
-
81
.
Kuiter
,
R. H.
(
2004
).
Basslets, Hamlets and Their Relatives: A Comprehensive Guide to Selected Serranidae and Plesiopidae
.
London
:
TMC Publishing
.
Leclercq
,
E.
,
Taylor
,
J. F.
and
Migaud
,
H.
(
2009
).
Morphological skin colour changes in teleosts
.
Fish Fish.
11
,
159
-
193
.
Mano
,
H.
,
Kojima
,
D.
and
Fukada
,
Y.
(
1999
).
Exo-rhodopsin: a novel rhodopsin expressed in the zebrafish pineal gland
.
Mol. Brain Res.
73
,
110
-
118
.
Marshall
,
N. J.
(
2000
).
The visual ecology of reef fish colors
. In
Animal Signals Signalling and Signal Design in Animal Communication
(ed.
Y.
Espmark
,
T.
Amundsen
and
G.
Rosenqvist
), pp.
83
-
120
.
Trondheim
,
Norway
:
Akademika Publishing
.
Matsumoto
,
Y.
,
Fukamachi
,
S.
,
Mitani
,
H.
and
Kawamura
,
S.
(
2006
).
Functional characterization of visual opsin repertoire in Medaka (Oryzias latipes)
.
Gene
371
,
268
-
278
.
McFall-Ngai
,
M. J.
(
1990
).
Crypsis in the pelagic environment
.
Am. Zool.
30
,
175
-
188
.
Messmer
,
V.
,
van Herwerden
,
L.
,
Munday
,
P. L.
and
Jones
,
G. P.
(
2005
).
Phylogeography of colour polymorphism in the coral reef fish Pseudochromis fuscus, from Papua New Guinea and the Great Barrier Reef
.
Coral Reefs
24
,
392
-
402
.
Michael
,
S. W.
(
2004
).
Basslets, Dottybacks & Hawkfishes: Plus Seven More Aquarium Fish Families with Expert Captive Care Advice for the Marine Aquarist
.
Neptune City, NJ
:
T. F. H. Publications
.
Miller
,
M. A.
,
Pfeiffer
,
W.
and
Schwartz
,
T.
(
2010
).
Creating the CIPRES Science Gateway for inference of large phylogenetic trees
.
Gateway Computing Environments Workshop (GCE)
,
IEEE
,
1
-
8
.
Moland
,
E.
,
Eagle
,
J. V.
and
Jones
,
G. P.
(
2005
).
Ecology and evolution of mimicry in coral reef fishes
. In
Oceanography and Marine Biology: An Annual Review
(ed.
R. N.
Gibson
,
J. D. M.
Gordon
and
R. J. A.
Atkinson
), pp.
455
-
482
.
Boca Raton, FL
:
CRC Press
.
Munday
,
P. L.
,
Eyre
,
P. J.
and
Jones
,
G. P.
(
2003
).
Ecological mechanisms for coexistence of colour polymorphism in a coral-reef fish: an experimental evaluation
.
Oecologia
137
,
519
-
526
.
O'Quin
,
K. E.
,
Smith
,
D.
,
Naseer
,
Z.
,
Schulte
,
J.
,
Engel
,
S. D.
,
Loh
,
Y.-H. E.
,
Streelman
,
J. T.
,
Boore
,
J. L.
and
Carleton
,
K. L.
(
2011
).
Divergence in cis-regulatory sequences surrounding the opsin gene arrays of African cichlid fishes
.
BMC Evol. Biol.
11
,
120
.
Pignatelli
,
V.
,
Champ
,
C.
,
Marshall
,
J.
and
Vorobyev
,
M.
(
2010
).
Double cones are used for colour discrimination in the reef fish, Rhinecanthus aculeatus
.
Biol. Lett.
6
,
537
-
539
.
R Core Team
(
2013
).
R: A Language and Environment for Statistical Computing
.
Vienna
,
Austria
:
R foundation for statistical computing
, .
Rennison
,
D. J.
,
Owens
,
G. L.
and
Taylor
,
J. S.
(
2012
).
Opsin gene duplication and divergence in ray-finned fish
.
Mole. Phylogenet. Evol.
62
,
986
-
1008
.
Reuter
,
T. E.
,
White
,
R. H.
and
Wald
,
G.
(
1971
).
Rhodopsin and porphyropsin fields in the adult bullfrog retina
.
J. Gen. Physiol.
58
,
351
-
371
.
Ronquist
,
F.
,
Teslenko
,
M.
,
van der Mark
,
P.
,
Ayres
,
D. L.
,
Darling
,
A.
,
Höhna
,
S.
,
Larget
,
B.
,
Liu
,
L.
,
Suchard
,
M. A.
and
Huelsenbeck
,
J. P.
(
2012
).
MrBayes 3.2: efficient Bayesian phylogenetic inference and model choice across a large model space
.
Syst. Biol.
61
,
539
-
542
.
Sale
,
P. F.
(
1993
).
The Ecology of Fishes on Coral Reefs
.
San Diego
,
USA
:
Academic Press, Inc
.
Shand
,
J.
,
Davies
,
W. L.
,
Thomas
,
N.
,
Balmer
,
L.
,
Cowing
,
J. A.
,
Pointer
,
M.
,
Carvalho
,
L. S.
,
Trezise
,
A. E. O.
,
Collin
,
S. P.
and
Beazley
,
L. D.
(
2008
).
The influence of ontogeny and light environment on the expression of visual pigment opsins in the retina of the black bream, Acanthopagrus butcheri
.
J. Exp. Biol.
211
,
1495
-
1503
.
Siebeck
,
U. E.
and
Marshall
,
N. J.
(
2001
).
Ocular media transmission of coral reef fish - can coral reef fish see ultraviolet light?
Vision Res.
41
,
133
-
149
.
Siebeck
,
U. E.
,
Wallis
,
G. M.
,
Litherland
,
L.
,
Ganeshina
,
O.
and
Vorobyev
,
M.
(
2014
).
Spectral and spatial selectivity of luminance vision in reef fish
.
Front. Neural Circuits
8
,
118
.
Sköld
,
H. N.
,
Aspengren
,
S.
,
Cheney
,
K. L.
and
Wallin
,
M.
(
2016
).
Fish chromatophores—from molecular motors to animal behavior
. In
International Review of Cell and Molecular Biology
(ed.
W. J.
Kwang
), pp.
171
-
219
.
San Diego
,
USA
:
Academic Press, Inc
.
Spady
,
T. C.
,
Parry
,
J. W. L.
,
Robinson
,
P. R.
,
Hunt
,
D. M.
,
Bowmaker
,
J. K.
and
Carleton
,
K. L.
(
2006
).
Evolution of the cichlid visual palette through ontogenetic subfunctionalization of the opsin gene arrays
.
Mol. Biol. Evol.
23
,
1538
-
1547
.
St John
,
J.
(
1999
).
Ontogenetic changes in the diet of the coral reef grouper Plectropomus leopardus (Serranidae): patterns in taxa, size and habitat of prey
.
Mar. Ecol. Prog. Ser.
180
,
233
-
246
.
Stavenga
,
D. G.
,
Smits
,
R. P.
and
Hoenders
,
B. J.
(
1993
).
Simple exponential functions describing the absorbance bands of visual pigment spectra
.
Vision Res.
33
,
1011
-
1017
.
Stieb
,
S. M.
,
Carleton
,
K. L.
,
Cortesi
,
F.
,
Marshall
,
N. J.
and
Salzburger
,
W.
(
2016
).
Depth dependent plasticity in opsin gene expression varies between damselfish (Pomacentridae) species
.
Mol. Ecol.
.
Toyama
,
M.
,
Hironaka
,
M.
,
Yamahama
,
Y.
,
Horiguchi
,
H.
,
Tsukada
,
O.
,
Uto
,
N.
,
Ueno
,
Y.
,
Tokunaga
,
F.
,
Seno
,
K.
and
Hariyama
,
T.
(
2008
).
Presence of rhodopsin and porphyropsin in the eyes of 164 fishes, representing marine, diadromous, coastal and freshwater species—a qualitative and comparative study
.
J. Photochem. Photobiol.
84
,
996
-
1002
.
Vorobyev
,
M.
and
Osorio
,
D.
(
1998
).
Receptor noise as a determinant of colour thresholds
.
Proc. R. Soc. B Biol. Sci.
265
,
351
-
358
.
Vorobyev
,
M.
,
Brandt
,
R.
,
Peitsch
,
D.
,
Laughlin
,
S. B.
and
Menzel
,
R.
(
2001
).
Colour thresholds and receptor noise: behaviour and physiology compared
.
Vision Res.
41
,
639
-
653
.
Youson
,
J. H.
(
1988
).
First metamorphosis
. In
The Physiology of Developing Fish: Volume 11B: Viviparity and Posthatching Juveniles
(ed.
W. S.
Hoar
and
D. J.
Randall
), pp.
135
-
194
.
San Diego
,
USA
:
Academic Press, Inc
.

Competing interests

The authors declare no competing or financial interests.

Supplementary information