- Altmetric
Sexual dimorphism in gene expression is likely to be the underlying source of dimorphism in a variety of traits. Many analyses implicitly make the assumption that dimorphism only evolves when selection favors different phenotypes in the two sexes, although theory makes clear that it can also evolve as an indirect response to other kinds of selection. Furthermore, previous analyses consider the evolution of a single transcript or trait at a time, ignoring the genetic covariance with other transcripts and traits. We first show which aspects of the genetic-variance–covariance matrix, G, affect dimorphism when these assumptions about selection are relaxed. We then reanalyze gene expression data from Drosophila melanogaster with these predictions in mind. Dimorphism of gene expression for individual transcripts shows the signature of both direct selection for dimorphism and indirect responses to selection. To account for the effect of measurement error on evolutionary predictions, we estimated a G matrix for eight linear combinations of expression traits. Sex-specific genetic variances in female- and male-biased transcription, as well as one relatively unbiased combination, were quite unequal, ensuring that most forms of selection on these traits will have large effects on dimorphism. Predictions of response to selection based on the whole G matrix showed that sexually concordant and antagonistic selection are equally capable of changing sexual dimorphism. In addition, the indirect responses of dimorphism due to cross-trait covariances were quite substantial. The assumption that sexual dimorphism in transcription is an adaptation could be incorrect in many specific cases.
Introduction
The prevailing model of the evolution of sexual dimorphism (e.g., Rice and Chippindale 2008; Bonduriansky and Chenoweth 2009; Cox and Calsbeek 2009) supposes that a sexually monomorphic ancestral population is subjected to selection that drives the male and female means apart. Examples of extreme sexual dimorphism tied to sex-specific functions, such as the horns of bighorn sheep, constitute intuitive evidence for this scenario. Another kind of evidence for this model is the existence of sexual conflict, that is, persistent antagonistic selection on sex-specific traits (Rice 1984; Partridge and Hurst 1998; Arnqvist and Rowe 2005). Since the genomes of the two sexes are similar, differing principally in the sex chromosomes, a population may evolve toward the sex-specific optima very slowly (Lande 1980), resulting in sexual dimorphism that is less than optimal. There is direct experimental evidence in favor of such conflicts from experiments that alter the relative strength of selection on the sexes, and result in changes in traits expressed in both sexes (Prasad et al. 2007). We call this the genomic constraint hypothesis of sexual dimorphism.
A readily available source of high-throughput data on sexual dimorphism is messenger RNA abundance in the sexes (Ingleby et al. 2015; Mank 2017). Furthermore, differences in gene expression are likely to underlie dimorphism in many other phenotypic traits. Several lines of evidence suggest that genomic constraint and intralocus conflict shapes the evolution of gene expression in Drosophila melanogaster.Hollis et al. (2014) minimized sexual conflict by enforcing monogamous mating for more than 100 generations, and observed that expression of sex-biased transcripts shifted in the direction of female expression, suggesting that biased genes are on an average less different in their expression than would be optimal. Griffin et al. (2013) reanalyzed the gene expression data of Ayroles et al. (2009), and found that estimates of genetic correlations between male and female gene expression for a particular gene, rMF, were correlated with multiple aspects of sexual dimorphism, including the degree of sex bias within D. melanogaster, the rate of evolution of expression bias among species, and the degree of sexually antagonistic selection (SAS) that D. melanogaster experiences. In addition, Innocenti and Morrow (2010) showed that transcripts exhibiting sex by fitness interactions, which may indicate antagonistic selection, have larger rMF than other transcripts. All of these results are expected under the genomic constraint hypothesis.
On the other hand, concordant selection on the sexes can also result in increases in dimorphism if the sexes differ in their evolvability (Fisher 1930; Lande 1980; Leutenegger and Cheverud 1982; Cheverud et al. 1985; Lynch and Walsh 1998, chapter 24; Bonduriansky and Chenoweth 2009; Wyman et al. 2013). The model of Connallon and Clark (2014) elegantly combines the effects of antagonistic and concordant selection. It shows that under general conditions almost any change in the sex-specific optima will generate at least transient dimorphism and sexual conflict even when selection on the two sexes is initially concordant. Despite the widespread acknowledgment by theoreticians of concordant selection’s possible role in the evolution of dimorphism, analyses of empirical data rarely incorporate this possibility. The analysis of gene expression by Griffin et al. (2013) did not consider any alternatives to the genomic constraint hypothesis. We have recently proposed a transformation of the G matrix that separates the genetic variation allowing responses to concordant versus antagonistic selection (Cheng and Houle 2020), and makes clear that the conditions under which concordant selection can have large effects on sexual dimorphism are not rare. In addition, the sex-averaged expression of genes in the genus Drosophila is, on average, subject to very weak stabilizing selection that allows a substantial short-term role for genetic drift (Bedford and Hartl 2009).
A quantitative genetic framework is useful to capture the ability of genetic variation to either allow or constrain the evolution of sexual dimorphism (Lande 1980). The additive variances and covariances among male- and female-expressed traits, summarized in a G matrix, make it possible to predict how traits will respond to current selection. The covariances between trait values in one sex with those in the other sex are key to the potential resolution of sexual conflicts. These covariances can be collected into a submatrix of G known as the B matrix. The diagonals of the B matrix are the genetic covariances of homologous traits expressed in different sexes, and are commonly summarized using the genetic correlation .
We set out to expand on the analyses of Griffin et al. (2013) because they made simplifying assumptions about the genetic context in which dimorphism evolves, and their analysis does not fully match the nature of the data. As noted above,
Our analysis of the Ayroles et al. (2009)D. melanogaster expression data set allows us to explore the possible importance of concordant and antagonistic selection on sexual dimorphism from two rather different perspectives. First, we can ask what aspects of the current pattern of variances and covariances are correlated with the current level of sexual dimorphism. These correlations reflect the influence of past selection. Second, we can predict the effects of current selection on dimorphism in gene expression.
To detect the signature of past selection, we analyzed the sample covariance matrix of sex-specific line means, which we term G*, to see if cross-transcript and cross-sex covariances can explain more variation in sexual dimorphism than
To predict how current selection will shape dimorphism, we estimated a G matrix for a small number of linear combinations of gene expression traits that collectively have statistically significant genetic variances. This yields a statistically unbiased G matrix that we use to compare the predicted selection responses to antagonistic and concordant selection.
Before proceeding to these results, we first use some simple models of the response of sexual dimorphism to selection to build intuition about the roles of asymmetries in male and female genetic variance, and of cross-trait covariances in the evolution of sexual dimorphism. The major take-home lesson of this theoretical section is that the magnitude of indirect responses to SCS can rival the direct responses to SAS that are traditionally regarded as responsible for sexual dimorphism. Readers who wish to bypass the mathematical development can skip ahead to the empirical results and the worked examples of responses to selection in the Results section.
What Influences the Rate of Evolution of Sexual Dimorphism?
In this section, we show which parts of the G matrix influence the evolution of sexual dimorphism under two extreme selective scenarios for one and two traits. The first scenario is symmetrical sexually antagonistic selection (SAS) where male and female traits are selected to change in opposite directions, and dimorphism is thus under direct selection. The second scenario is symmetrical sexually concordant selection (SCS) where male and female traits are selected in the same direction. Dimorphism can also evolve in this scenario as an indirect response when male and female traits respond at different rates.
Consider k quantitative traits, with phenotypic values z1, z2, …, zk. Lande (1980) formulated the quantitative genetic prediction equation:
One Trait Case
Griffin et al.’s (2013) analysis focused on
The change in sexual dimorphism under antagonistic selection is:
The effect of
Under concordant selection, the change in dimorphism is:
This can be put in the same form as equation (3), yielding:
Thus, concordant selection will change dimorphism whenever there are different genetic variances in the two sexes, as previously noted by many authors (see the Introduction). The response can either increase or decrease sexual dimorphism if selection is on a previously dimorphic trait.
Comparison of equations (3) and (5) shows that in the single trait case, the rate of change in dimorphism will be higher under concordant selection than antagonistic selection of equal strength, when
Two Trait Case
When k = 2, differences in genetic variances between the sexes remain a key source of dimorphism. However, to focus on other features of the G matrix that can promote dimorphism, but are absent from the k = 1 case, we consider the special case when all trait variances are 1, yielding the G matrix:
If only the focal trait is under selection (e.g., for antagonistic selection
The first term in brackets is the average correlation between the traits in males and females, and the second is the average cross-sex correlation. Under concordant selection, sexual dimorphism changes at the rate:
The fact that there are indirect responses to selection makes the interpretation of the existing degree of dimorphism in particular traits more challenging. For example, it is quite possible for the change in dimorphism of the selected trait to be less than that of the unselected trait. The direct response to antagonistic selection,
If both traits are under directional selection, there are two orthogonal, SAS vectors
The direct responses are given by the leftmost term in parentheses. The middle term gives the indirect responses due to the average within-sex correlations between traits,
Concordant selection,
In this special case, where all genetic variances are equal, there is no direct response in dimorphism. The first term inside the parentheses,
In general, traits will experience a mixture of antagonistic and concordant selection simultaneously. The overall rate of change in sexual dimorphism is a function of all the components of the G matrix. As the number of traits increases, the conditions under which the effects of concordant selection on dimorphism can exceed that of antagonistic selection of equal strength become more varied, as the asymmetries of the off-diagonal elements of
Results
Gene-Wise Analysis
Of the 12,071 genes investigated, we detected significant genetic variation in 10,489 genes, similar to the results obtained by Ayroles et al. (2009). We do not consider the nonsignificant genes further. Dimorphism of expression of the ith gene is quantified as
Which Aspects of G Correlate with Dimorphism of Transcription?
Under the familiar hypothesis that SAS drives the evolution of dimorphism, equations (3) and (6) predict that the absolute value of sexual dimorphism,
The Pearson correlation matrix of


Exploratory distribution, density, and smoothed trend plots for
These raw relationships are confounded, as suggested by the complex relationships among predictor variables evident in supplementary table S1, Supplementary Material online, and figure 1. To help disentangle these factors, we used multiple regression of sexual dimorphism, measured as

| All Genes | Biasedd | Unbiasedd | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Parametera | Pred.b | Median | Quantilesc 2.5%, 97.5% | R 2 | Median | Quantilesc 2.5%, 97.5% | R 2 | Median | Quantilesc 2.5%, 97.5% | R 2 |
|
| 0.04 | 0.03, 0.05 | 3.2 | 0.03 | 0.02, 0.03 | 6.2 | 0.03 | 0.03, 0.04 | 1.8 | |
| τ | 0.78 | 0.49, 0.96 | 3.5 | 0.99 | 0.82, 1.12 | 32.6 | −0.01 | −0.10, 0.10 | 0.0 | |
|
| A+ | 0.20 | 0.02, 0.34 | 2.1 | 0.05 | −0.04, 0.11 | 0.8 | 0.14 | 0.10, 0.19 | 1.2 |
|
| A− | −0.63 | −0.76, −0.48 | 15.5 | −0.10 | −0.15, −0.04 | 4.5 | −0.28 | −0.38, −0.19 | 2.3 |
|
| C+ | 0.11 | 0.07, 0.16 | 1.1 | 0.00 | −0.02, 0.02 | 0.3 | 0.04 | 0.02, 0.07 | 0.4 |
|
| A? | 4.81 | 2.99, 7.66 | 6.7 | 0.41 | 0.19, 0.60 | 0.3 | −0.95 | −2.13, 0.50 | 4.2 |
|
| A? | 0.03 | −1.52, 1.41 | 0.1 | 0.09 | −0.08, 0.30 | 0.2 | 0.15 | −0.49, 0.96 | 0.0 |
|
| C+ | 3.72 | −6.10, 14.23 | 1.8 | 0.01 | −0.44, 0.52 | 1.3 | 1.17 | −1.58, 5.59 | 0.6 |
|
| C+ | −0.09 | −0.23, 0.20 | 0.0 | −0.00 | −0.08, 0.13 | 0.4 | −0.07 | −0.14, 0.01 | 0.1 |
Note.—A, antagonistic prediction; C, concordant prediction;?, both
a Parameter symbols explained in the text;
b Predicted sign of relationships with
c Quantiles from 1,000 bootstrap resamples at the inbred line level. When the bootstrap 95% quantiles have consistent sign, we consider the effects to be statistically significant. Significant values are shown in bold face.
d Biased genes have
Separate analyses of the biased
Innocenti and Morrow (2010) estimated selection on expression for a subset of the transcripts in our data set, but unfortunately did not report selection effect sizes. Transcripts with a significant sex by fitness interactions (their models used transcription as the dependent variable) experience some SAS, whereas those with a significant main effect of fitness experience some SCS. Note that selection may include both concordant and antagonistic components (Cheng and Houle 2020). When the identity of genes with a fitness main effect, or a sex-by-fitness interaction, were entered as predictors in the multiple regression model, these terms had small negative effects on
Quantitative Genetic Analysis of Gene Expression
Ayroles et al. (2009) measured gene expression in just 40 inbred lines, which precludes estimating a G matrix for more than a small number of traits. To choose these traits, we performed principal component analyses within the male-, female-, and relatively-unbiased gene classes, as described in the Methods. Through exploratory analyses described in supplementary results, Supplementary Material online, we chose the first two PCs of male-biased genes (symbolized MB), and of female-biased genes (FB), and the first four PCs for relatively unbiased genes (UB). These analyses revealed no evidence for genetic variance in female expression of MB genes, or for male expression of FB genes, suggesting that direct selection to alter expression in the low-expressing sex will be relatively ineffective. Accordingly, we dropped these traits from G. The transcriptional modules inferred by Ayroles et al. (2009) are not generally associated with the sex-bias class PCs used in the quantitative genetic analysis (see supplementary methods, results, and table S4, Supplementary Material online).
The best-fitting model suggested that genetic variation in the 12 traits can be explained well by a 9 dimensional model, resulting in the G matrix shown in table 2. The resulting data set consisted of 12 traits, although only the four UB (UB1–UB4) traits were estimated in both sexes. Thus, only the portions of table 2 involving these traits (outlined in boxes) correspond to Lande’s (1980)B matrix. For these UB traits,

|
|


Table 2. Genetic Correlation and Covariance Matrices from the 12 Trait Analyses.
Note.—Genetic variances are shown in bold face on the main diagonal. Genetic correlations are above the main diagonal, and genetic covariances are below. Sampling standard errors are shown in italic font on the line below the estimates. The boxes outline the GM, GF, and B submatrices for the four relatively unbiased traits where we estimated covariances between traits in both sexes. The diagonal elements of B are shown in bold italics.
Examination of table 2 also reveals several other correlations indicative of constraints on the evolution of biased gene expression. The most striking of these is female expression of FB1 and of UB1 where
Predicted Responses to Selection
We used G to predict the effects of current selection on changes in dimorphism from its current level. We predicted the responses to symmetrical antagonistic and concordant versions of five different selection gradients: directional selection on each of the four UB traits individually, and directional selection on all four simultaneously with the results shown in table 3. We show two different estimates of the amount of evolution under each selective regime. Evolvability, e, is the response in the direction of the selection gradient, whereas respondability, R, is the length of the total response to selection (Hansen and Houle 2008). As expected from the positive rMF, the responses to SCS selection are overall larger than the responses to SAS.

| Antagonisticb | Concordantc | UB | Vector correlation. | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Sel.a | E | R | e | R | A | C | ratio | A | C |
| UB1 | 35.6 (21.0–52.9) | 60.6 (35.6–89.2) | 90.8 (53.1–133.7) | 104.7 (62.9–155.0) | 27.4 (16.3–40.5) | 31.2 (16.0–49.4) | 0.87 (0.66–1.26) | 0.27 (−0.22 to 0.60) | 0.83 (0.65–0.97) |
| UB2 | 7.9 (4.1–12.7) | 24.9 (14.0–38.2) | 87.7 (55.1–132.0) | 94.1 (60.0–140.6) | 10.4 (5.7–16.1) | 16.1 (6.6–29.7) | 0.63 (0.34–1.46) | 0.34 (−0.09 to 0.60) | 0.89 (0.73–0.98) |
| UB3 | 4.2 (1.9–7.5) | 15.2 (6.8–24.9) | 84.4 (50.6–125.7) | 88.6 (54.0–130.1 | 6.3 (2.8–10.6) | 7.5 (3.0–16.5) | 0.81 (0.29–2.24) | 0.33 (−0.30 to 0.73) | 0.97 (0.88–1.00) |
| UB4 | 7.0 (3.7–11.5) | 16.2 (8.9–25.8) | 73.0 (45.2–108.8) | 77.4 (48.5–114.3) | 6.2 (3.2–10.7) | 7.2 (2.3–18.7) | 0.86 (0.28–2.85) | 0.39 (−0.52 to 0.80) | 0.97 (0.82–1.00) |
| UB | 27.6 (17.3–40.4) | 48.9 (28.4–73.3) | 70.4 (44.7–103.5) | 75.9 (48.7–110.6) | 23.8 (14.7–34.7) | 13.2 (3.8–26.2) | 1.80 (0.93–5.42) | 0.10 (−0.46 to 0.46) | 0.92 (0.80–0.99) |
Note.—Values are medians (2.5–97.5% quantiles). UB, all four UB traits are simultaneously selected; e, evolvability, the response in the direction of selection; R, respondability, the total response to selection; A, C, total change in dimorphism under A or C selection; ratio,
a Selection regime: symbols indicate trait subject to directional selection.
b Selected male traits have positive gradients, whereas female traits negative selection gradients.
c All selected traits have positive gradients in both sexes.
d Predicted change in length of dimorphism vector.
The key prediction concerns the total change in sexual dimorphism, the change in the length of the multivariate vector of differences between the sexes,
To get a sense for how much dimorphism can be created by concordant selection, we can compare the direct response to concordant selection with the indirect response in dimorphism in table 3. These ratios range from 0.34 to 0.09 for the four UB traits. The total change in dimorphism when trait UB1 is concordantly selected, for example, is more than 1/3 as much (
We also predicted the response of dimorphism of the relatively unbiased traits to selection on the sex-biased MB and FB traits with results shown in supplementary table S5, Supplementary Material online. The total changes in dimorphism under these scenarios are of comparable magnitudes to the changes arising from selection on the UB traits. Indirect responses of dimorphism to selection on sex-biased traits can have important effects on other traits.
The scenarios in table 3 and supplementary table S5, Supplementary Material online, assume that there is no selection on the traits not under directional selection. Alternatively, we can assume that traits not under directional selection are subject to such strong stabilizing selection that a response is only possible in the direction of the selection gradient (Hansen et al. 2003; Hansen and Houle 2008). Under this sort of selection, SAS and SCS again have similar effects on overall dimorphism as shown in supplementary table S6, Supplementary Material online, although the responses are much less than for the corresponding unconditional scenarios in table 3.
The results in table 4 show how these predictions are affected by the symmetry of G. To make these comparisons, we substituted the symmetrical version of

| (UB | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
| ||||||
| Sel.a | A | C | A | C | A | C | A | C | A | C |
| UB1 | 1.00 | 0.37 | 1.00 | 0.93 | 1.81 | 0.91 | 1.00 | 0.00 | 1.68 | 0.00 |
| UB2 | 1.00 | 0.77 | 1.00 | 0.53 | 2.53 | 0.27 | 1.00 | 0.00 | 3.13 | 0.00 |
| UB3 | 1.00 | 0.94 | 1.00 | 1.32 | 4.67 | 1.04 | 1.00 | 0.00 | 4.94 | 0.00 |
| UB4 | 1.00 | 0.81 | 1.00 | 0.84 | 5.21 | 0.91 | 1.00 | 0.00 | 5.36 | 0.00 |
| UB | 1.00 | 0.59 | 1.00 | 1.41 | 1.33 | 1.38 | 1.00 | 0.00 | 1.48 | 0.00 |
a Selection regime (as in table 3).
b See text for explanation of modified G matrices.
Discussion
Most previous analyses of the relationship between sexual dimorphism and genetic variation have made two limiting assumptions (e.g., Poissant et al. 2010; Griffin et al. 2013). The first is that sexual dimorphism is shaped by direct, sexually antagonistic selection (SAS) that favors dimorphism. The second is that genetic constraints on the evolution of dimorphisms can be well–characterized by a single parameter, the intersexual genetic correlation of each trait,
We reanalyzed genetic variation in gene expression in D. melanogaster (Ayroles et al. 2009) to include the effects of other types of selection, and to capture the effects of other aspects of inheritance on the evolution of dimorphism. When we predict the ability of gene expression to respond to contemporary selection, sexually concordant selection (SCS) that selects the phenotypes of each sex in the same direction is equally capable of causing the evolution of sexual dimorphism as SAS that selects the sexes in opposite directions. When we use the current G matrix to retrodict the current level of dimorphism, we confirm that
Asymmetry in genetic variances between the sexes has long been predicted to cause dimorphism in response to SCS (Fisher 1930; Lande 1980; Leutenegger and Cheverud 1982; Cheverud et al. 1985; Lynch and Walsh 1998, chapter 24; Bonduriansky and Chenoweth 2009; Wyman et al. 2013), but the role of such differences has rarely been considered in relation to observed sexual dimorphisms. An exception is Leutenneger and Cheverud’s (1982) proposal that dimorphism of primate canine teeth and body weight is caused by indirect response to selection on an average body size mediated by differences in genetic variances between the sexes.
Our analysis of the two trait case, as well as a more comprehensive analysis of the k trait case (Cheng and Houle 2020), shows that asymmetries in the cross-trait covariances between the male and female genetic variance–covariance (G) matrices, and asymmetries within the cross-sex covariance (B) matrix also play a role in the evolution of dimorphism. The one-trait analyses that feature
To investigate the effects of past selection on current sexual dimorphism, we estimated the G matrix for all of the genes with significant genetic variation in gene expression, which we term G*. As in previous studies (e.g., Griffin et al. 2013), there was strong evidence that between sex-correlations were negatively related to dimorphism. In addition, the average within-sex genetic variance of the focal trait and average within-sex correlations of the focal trait with all other traits were positively related to dimorphism. Our novel finding is that aspects of G* that predict changes in dimorphism under concordant selection, such as the difference between male and female trait variances, are also correlated with current levels of dimorphism, although to a lesser extent than those that predict dimorphism under antagonistic selection. Rigorous statistical testing of these results is not possible as the expression of individual genes is not independent.
To predict the possible effects of current selection on sexual dimorphism, and overcome the lack of independence of expression among genes, we generated unbiased estimates of G for a relatively small number of linear combinations of expression traits that captured the major axes of variation in female-biased, male-biased, and relatively unbiased genes. For five of these eight traits, genetic variation in males and females was highly asymmetrical. This alone will cause the evolution of dimorphism under any selection regime with a concordant component. Predictions of response to selection based on the unbiased G matrix showed that SCS and SAS are approximately equally capable of changing sexual dimorphism. The same result holds for selection that includes nonlinear components that restrict the evolution of some traits, while favoring changes in others. If antagonistic and concordant selection are equally strong, they will contribute roughly equally to dimorphism in the responses of gene expression to selection. In addition, the indirect responses due to cross-trait correlations were sometimes quite substantial. For example, selection on the highly dimorphic genes is predicted to change the dimorphism in the less–dimorphic genes by a comparable amount to direct selection on the less–dimorphic genes.
A substantial body of evidence suggests differences in the evolution of expression in male- versus female-biased genes (Allen et al. 2018). Interspecific evolution of male-biased gene expression is more rapid (Ellegren and Parsch 2007), male-biased genes have more genetic variance, greater tissue-specificity and higher intersexual correlations than female-biased genes (Mank et al. 2008; Assis et al. 2012; Allen et al. 2018). In contrast, our quantitative genetic analyses show that the genetic variance of female-biased traits in females is higher than the genetic variance of male-biased traits in males. We were unable to accurately estimate the intersexual correlations in sex-biased genes, as we found no significant genetic variation in the less-highly expressing sex for these genes. However, the single largest genetic correlation in our matrix was between a female-biased expression trait and female expression of an unbiased expression trait. A better-estimated G matrix will be necessary to address the evolutionary differences between the male- and female-biased genes.
Summarizing these empirical results, analysis of aggregate measures of genetic variation suggests that substantial variation in dimorphism can be created by directional selection, regardless of whether that selection is antagonistic or concordant. In addition, the dimorphism of individual genes shows traces of both antagonistic and concordant selection.
Lande’s (1980) original explication of the quantitative genetics of dimorphism clearly incorporated the likelihood that concordant selection would affect dimorphism. Lande chose to emphasize the effects of antagonistic selection for dimorphism based on the assumption that evolution of sex-averaged means would be relatively unconstrained and rapidly achieve their optima, whereas evolution of differences between the sexes would tend to be constrained, and take a long time to evolve to their optima. This point is made explicit in the model of Connallon and Clark (2014) who show that the evolution of some dimorphism is almost inevitable whenever selection perturbs any initially monomorphic population. In this case, even if changes in trait optima are random, sex-specific traits will tend to be under antagonistic selection more frequently than they are under concordant selection.
A key motivation for our work is the observation that SAS is rarer than SCS, and, more importantly, is relatively weak when it is observed (Cox and Calsbeek 2009; Morrissey 2016). The available data on which to base this conclusion are admittedly rather weak (Cheng and Houle 2020), but unless this conclusion is rejected by future studies, it is clear that we must take seriously the possibility that some sexual dimorphism is just the byproduct of selection for other trait changes.
Lande’s (1980) argument that concordant selection should be rare and that antagonistic selection persistent is based on two complementary arguments. One is that selection regimes change infrequently, allowing the population to approach sex-averaged optima. The alternative is that changes in the direction of concordant selection often take place before a sex-averaged optimum can be achieved. This alternative scenario is consistent with the pattern of sex-specific selection identified by Morrissey (2016), as well as the frequent observation of very strong linear selection gradients in many populations (Kingsolver et al. 2001; Hereford et al. 2004). A second assumption is that sexual dimorphism is under strong selection, at least when perturbed away from the optimum state. When sexual dimorphism is weakly selected, the dimorphism created by indirect responses to selection may persist. One simple scenario for weak selection on dimorphism is selection for a minimum level of gene expression in one sex, with very small fitness costs to additional expression, whereas selection favors higher expression in the other sex. In this case, directional selection on just one sex creates equal selection for concordant and antagonistic changes (Cheng and Houle 2020).
In conclusion, several aspects of our results suggest the possibility that sexual dimorphism of gene expression in D. melanogaster may reflect the indirect effects of concordant selection on the dimorphic traits, or the indirect effects of selection on other traits. Our estimate of the G matrix suggests many unexpected correlations and asymmetries that will together generate dimorphism under any selective regime, as well as under genetic drift. Strong selection on one aspect of gene expression will frequently generate widespread perturbations in the expression of genes that are not directly selected. The upshot of these factors is that dimorphism in the expression of any particular gene cannot be assumed to be adaptive. We do not doubt that many aspects of transcription do reflect persistent selection for sexual dimorphism. Deciding which aspects of dimorphism are so selected requires more detailed analyses than have so far been applied.
Materials and Methods
Gene Expression Data
We reanalyzed the adult gene expression (Ayroles et al. 2009) in inbred lines of the Drosophila Genome Reference Project (Mackay et al. 2012). Each DGRP line was independently derived from a different inseminated female D. melanogaster sampled from a single outbred population, followed by 20 generations of brother–sister mating.
Ayroles et al. (2009) assayed whole-body gene expression using Affymetrix Drosophila Genome 2.0 microarrays. They assayed expression twice in each sex in each of 40 DGRP lines, for a total of 160 chips. The data were normalized and processed using the R Bioconductor package oligo (Carvalho and Irizarry 2010; Huber et al. 2015). In some cases, a single probe assayed expression of transcripts at more than one gene. We assigned results from such probes to just one of these genes, chosen arbitrarily. This left expression data on 12,701 genes. Gene expression was in log2 units, so differences in expression are equivalent to log2(ratios).
Gene-by-Gene Analyses
We tested for the presence of significant genetic variation at each gene using a mixed model analysis with sex, probe, and probe-by-sex effects fixed, and line, line-by-sex and line-by-probe effects treated as random. For 11,039 genes, a single probe was assayed, and the probe effects were omitted from the model. We compared the likelihood of the data for models that included or omitted all the random effect terms using a likelihood ratio test with 2 df for the genes with only one probe, and three df for genes with more than one probe. Genes were retained for further analysis if P < 0.01 for the total line effects. Mixed model analyses were fit using Proc Mixed in SAS/STAT software (SAS Institute Inc 2016).
For genes with significant line effects, we retained the least squares means from this model for each sex and line, and then calculated the covariance matrix of these means to form G*. Sexual dimorphism in expression of the ith gene,
From equation (3), we predict that if antagonistic selection plays a major role,
From equation (7), we can see that differences of the corresponding off-diagonal elements of
In addition, we also investigated the effects of the mean level of expression,
Values of
Selection on Gene Expression in Drosophila melanogaster
The nature of selection on transcripts was derived from table S1 in Innocenti and Morrow (2010). For 15 genotypes with high and low male and female fitnesses, they tested whether fitness predicted the expression of each transcript, and for a sex by fitness interaction. They only report P values for tests judged to be significant, so it is unclear how many total transcripts were tested. When paired with the Ayroles et al. (2009) data set, 516 genes had least one transcript with a significant main effect, 1,300 had a significant interaction, and 348 had both effects significant.
Quantitative Genetic Analysis of Bias Classes
We performed separate principal component analyses (PCA) on the covariances of least-squares means of expression in each sex for the male-, female, and relatively-biased genes. For the unbiased genes, we performed a PCA on the covariance matrix of line-sex averages. For the two biased sets, we performed a PCA of expression in the dominant sex. We partitioned the variance in the principal component scores into genetic and nongenetic sources using restricted maximum-likelihood implemented in the program Wombat (Meyer 2006–2019). We assumed that all the inbred lines were unrelated. Whole-genome sequencing of these lines suggests that this is a good, albeit imperfect, approximation of the relationship among them (Huang et al. 2014). Estimation of the genetic variance–covariance matrix, G, was carried out for both full- and reduced-rank models (Kirkpatrick and Meyer 2004; Meyer and Kirkpatrick 2005, 2008), and we selected the best-fitting model on the basis of Akaike’s information criterion corrected for small sample size (AICc).
We assessed the fit of models with different numbers of traits drawn from the three expression bias classes, eventually settling on a 12-trait data set as described in the Results section. Sampling variances of matrix elements remained stable under models fit to even fewer traits. Once we obtained well-estimated matrices, we back-transformed estimates to the original scores and used the REML-MVN approach (Meyer and Houle 2013; Houle and Meyer 2015) to generate 1,000 replicate matrices drawn from the sampling distribution of the matrix G. These replicate estimates of G were used to generate the sampling distribution of the predicted responses to selection. In most cases, the distributions of G-derived statistics were asymmetrical, so we report medians and 2.5% and 97.5% quantiles.
Analyses of Modified G Matrices
To investigate which aspects of G matrix structure have effects on the evolution of dimorphism, we formed five modified matrices that highlight those aspects of G that affect the evolution of dimorphism. The k = 2 theory developed above, as well as the more general analyses of Cheng and Houle (2020) suggests that the evolvability of dimorphism to antagonistic selection is promoted by the average genetic variance in males and females,
Acknowledgments
We thank two anonymous reviewers for their very careful consideration, and their many helpful comments that improved the paper; M. Kirkpatrick, M. Morrissey, J. Sztepanacz, C. P
Data Availability
All data for these analyses are already in the public domain. Data from Ayroles et al. (2009) were downloaded from https://www.ebi.ac.uk/arrayexpress/experiments/E-MEXP-1594. Probe-to-gene mapping was downloaded from https://metazoa.ensembl.org/index.html via BioMart. Table S1 from Innocenti and Morrow (2010) was downloaded from https://doi.org/10.1371/journal.pbio.1000335.s004. Tissue-specific expression data in GSE7763_RAW.tar were downloaded from https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE7763. All of these data sets were last accessed on January 5, 2021.
Predicting the Evolution of Sexual Dimorphism in Gene Expression

