<?xml version="1.0" ?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.3 20210610//EN"  "JATS-archivearticle1-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.3" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="nlm-ta">elife</journal-id>
<journal-id journal-id-type="publisher-id">eLife</journal-id>
<journal-title-group>
<journal-title>eLife</journal-title>
</journal-title-group>
<issn publication-format="electronic" pub-type="epub">2050-084X</issn>
<publisher>
<publisher-name>eLife Sciences Publications, Ltd</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">104507</article-id>
<article-id pub-id-type="doi">10.7554/eLife.104507</article-id>
<article-id pub-id-type="doi" specific-use="version">10.7554/eLife.104507.1</article-id>
<article-version-alternatives>
<article-version article-version-type="publication-state">reviewed preprint</article-version>
<article-version article-version-type="preprint-version">1.3</article-version>
</article-version-alternatives>
<article-categories><subj-group subj-group-type="heading">
<subject>Plant Biology</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Diverse Genotype-by-Weather Interactions in Switchgrass</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes" equal-contrib="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-4606-1832</contrib-id>
<name>
<surname>MacQueen</surname>
<given-names>Alice H</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
<xref ref-type="author-notes" rid="n1">#</xref>
<email>alicem@uchicago.edu</email>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0001-8625-8042</contrib-id>
<name>
<surname>Zhang</surname>
<given-names>Li</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
<xref ref-type="author-notes" rid="n1">#</xref>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-6269-0276</contrib-id>
<name>
<surname>Smith</surname>
<given-names>Samuel Pattillo</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
<xref ref-type="aff" rid="a2">2</xref>
<xref ref-type="author-notes" rid="n1">#</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0003-1835-8409</contrib-id>
<name>
<surname>Bonnette</surname>
<given-names>Jason E</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Boe</surname>
<given-names>Arvid R</given-names>
</name>
<xref ref-type="aff" rid="a3">3</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-8291-6316</contrib-id>
<name>
<surname>Fay</surname>
<given-names>Philip A</given-names>
</name>
<xref ref-type="aff" rid="a4">4</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0003-0825-6855</contrib-id>
<name>
<surname>Fritschi</surname>
<given-names>Felix B</given-names>
</name>
<xref ref-type="aff" rid="a5">5</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-8182-1059</contrib-id>
<name>
<surname>Lowry</surname>
<given-names>David B</given-names>
</name>
<xref ref-type="aff" rid="a6">6</xref>
<xref ref-type="aff" rid="a7">7</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Mitchell</surname>
<given-names>Robert B</given-names>
</name>
<xref ref-type="aff" rid="a8">8</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0001-5526-9793</contrib-id>
<name>
<surname>Rouquette</surname>
<given-names>Francis M</given-names>
<suffix>Jr</suffix></name>
<xref ref-type="aff" rid="a9">9</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0003-0802-6881</contrib-id>
<name>
<surname>Wu</surname>
<given-names>Yanqi</given-names>
</name>
<xref ref-type="aff" rid="a10">10</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-3655-748X</contrib-id>
<name>
<surname>Harpak</surname>
<given-names>Arbel</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
<xref ref-type="aff" rid="a2">2</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0001-9550-9288</contrib-id>
<name>
<surname>Juenger</surname>
<given-names>Thomas E</given-names>
</name>
<xref ref-type="aff" rid="a1">1</xref>
<email>tjuenger@utexas.edu</email>
</contrib>
<aff id="a1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00hj54h04</institution-id><institution>Department of Integrative Biology, University of Texas at Austin</institution></institution-wrap>, <city>Austin</city>, <country country="US">United States</country></aff>
<aff id="a2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00hj54h04</institution-id><institution>Department of Population Health, University of Texas at Austin</institution></institution-wrap>, <city>Austin</city>, <country country="US">United States</country></aff>
<aff id="a3"><label>3</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/015jmes13</institution-id><institution>Department of Agronomy, Horticulture and Plant Science, South Dakota State University</institution></institution-wrap>, <city>Brookings</city>, <country country="US">United States</country></aff>
<aff id="a4"><label>4</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05mfs3k63</institution-id><institution>Grassland, Soil and Water Research Laboratory, USDA-ARS</institution></institution-wrap>, <city>Temple</city>, <country country="US">United States</country></aff>
<aff id="a5"><label>5</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02ymw8z06</institution-id><institution>Division of Plant Sciences, University of Missouri</institution></institution-wrap>, <city>Columbia</city>, <country country="US">United States</country></aff>
<aff id="a6"><label>6</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05hs6h993</institution-id><institution>Department of Plant Biology, Michigan State University</institution></institution-wrap>, <city>East Lansing</city>, <country country="US">United States</country></aff>
<aff id="a7"><label>7</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/05hs6h993</institution-id><institution>DOE Great Lakes Bioenergy Research Center, Michigan State University</institution></institution-wrap>, <city>East Lansing</city>, <country country="US">United States</country></aff>
<aff id="a8"><label>8</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01na82s61</institution-id><institution>Wheat, Sorghum, and Forage Research Unit, USDA-ARS</institution></institution-wrap>, <city>Lincoln</city>, <country country="US">United States</country></aff>
<aff id="a9"><label>9</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01f5ytq51</institution-id><institution>Texas A&amp;M AgriLife Research and Extension Center, Texas A&amp;M University</institution></institution-wrap>, <city>Overton</city>, <country country="US">United States</country></aff>
<aff id="a10"><label>10</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/01g9vbr38</institution-id><institution>Department of Plant and Soil Sciences, Oklahoma State University</institution></institution-wrap>, <city>Stillwater</city>, <country country="US">United States</country></aff>
</contrib-group>
<contrib-group content-type="section">
<contrib contrib-type="editor">
<name>
<surname>Fournier-Level</surname>
<given-names>Alexandre</given-names>
</name>
<role>Reviewing Editor</role>
<aff>
<institution-wrap>
<institution>The University of Melbourne</institution>
</institution-wrap>
<city>Parkville</city>
<country>Australia</country>
</aff>
</contrib>
<contrib contrib-type="senior_editor">
<name>
<surname>Schuman</surname>
<given-names>Meredith C</given-names>
</name>
<role>Senior Editor</role>
<aff>
<institution-wrap>
<institution>University of Zurich</institution>
</institution-wrap>
<city>Zürich</city>
<country>Switzerland</country>
</aff>
</contrib>
</contrib-group>
<author-notes><fn id="n1" fn-type="equal"><label>#</label><p>These authors contributed equally.</p></fn>
<fn id="n3"><p><bold>Competing Interest Statement:</bold> The authors declare no conflict of interest.</p></fn>
<fn fn-type="coi-statement"><p>Competing interests: No competing interests declared</p></fn>
</author-notes>
<pub-date date-type="original-publication" iso-8601-date="2025-03-24">
<day>24</day>
<month>03</month>
<year>2025</year>
</pub-date>
<volume>14</volume>
<elocation-id>RP104507</elocation-id>
<history>
<date date-type="sent-for-review" iso-8601-date="2024-11-13">
<day>13</day>
<month>11</month>
<year>2024</year>
</date>
</history>
<pub-history>
<event>
<event-desc>Preprint posted</event-desc>
<date date-type="preprint" iso-8601-date="2024-08-20">
<day>20</day>
<month>08</month>
<year>2024</year>
</date>
<self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2021.08.19.456975"/>
</event>
</pub-history>
<permissions>
<ali:free_to_read/>
<license xlink:href="https://creativecommons.org/publicdomain/zero/1.0/">
<ali:license_ref>https://creativecommons.org/publicdomain/zero/1.0/</ali:license_ref>
<license-p>This is an open-access article, free of all copyright, and may be freely reproduced, distributed, transmitted, modified, built upon, or otherwise used by anyone for any lawful purpose. The work is made available under the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 public domain dedication</ext-link>.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="elife-preprint-104507-v1.pdf"/>
<abstract>
<title>Abstract</title>
<p>The timing of vegetative and reproductive growth in plants (“phenological timings”) depend on genetic effects (G), environmental (e.g., weather) cues, and their interaction. Here, we measure phenological timings in two highly divergent switchgrass (<italic>Panicum virgatum</italic>) subpopulations using repeated plantings of cloned individuals at eight sites across the central United States. The timing of vegetative growth for the two subpopulations reversed between their two natural ranges and had strong negative correlations between these regions; in contrast, the timing of flowering was positively correlated between gardens. We expect that these phenotypic correlations consist of polygenic effects on phenology which have distinct patterns of GxE segregating at different mapped loci. Thus, we infer the mixture of ways genetic effects impact phenological timings, such as across common gardens (GxE) or with weather cues (GxWeather). We demonstrate that we can identify genetic variation with GxWeather and assign genetic loci to specific weather-based cues or other patterns. For example, in the Gulf subpopulation, 65% of genetic effects on the timing of vegetative growth covary with daylength 14 days prior to green-up date, and 33% of genetic effects on the timing of flowering covary with cumulative rainfall in the week prior to flowering. However, most variation in genetic effects cannot be attributed to variation in weather variables. Selective breeding for particular alleles at GxWeather loci could alter flowering responsiveness in a photoperiod or rainfall-specific way. More broadly, our approach refines the characterization of genotype-by-environment interactions and can be implemented in any species phenotyped in multiple environments.</p>
</abstract>
<kwd-group kwd-group-type="author">
<title>Keywords</title>
<kwd>allele-by-environment effect variation</kwd>
<kwd>genotype-by-environment interaction photoperiod</kwd>
<kwd>cumulative rainfall</kwd>
<kwd>genetic variation</kwd>
</kwd-group>
<custom-meta-group>
<custom-meta specific-use="meta-only">
<meta-name>publishing-route</meta-name>
<meta-value>prc</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
<notes>
<fn-group content-type="summary-of-updates">
<title>Summary of Updates:</title>
<fn fn-type="update"><p>- Add author ORCID where available, edit author name spellings
- Remove journal-specific formatting
- Small text edits to clarify Abstract</p></fn>
</fn-group>
</notes>
</front>
<body>
<sec id="s1">
<title>Introduction</title>
<p>Plant phenological traits are important components of plant fitness that are affected by multiple external environmental cues (e.g. degree of winter chilling, day length, temperature, soil fertility, and water availability), which signal existing or upcoming growing conditions (<xref ref-type="bibr" rid="c1">1</xref>–<xref ref-type="bibr" rid="c4">4</xref>). Genetic responses to environmental cues determine the speed, timing, and energy apportioned to vegetative and reproductive growth and shape plant physiological responses, lifespan, and lifetime production of viable seed. Day length (or photoperiod) is one of the most predictable environmental cues, and genetic sensitivity to photoperiod protects plants from potentially fatal consequences of phenological responses to temperature cues at the “wrong” time of year. However, the utility of specific environmental cues depends on both features of the environment, such as cue predictability and relevance, and the species’ adaptive strategies (<xref ref-type="bibr" rid="c5">5</xref>). Species with wide natural distributions can have multiple distinct environmentally cued phenological responses. For example, populations of sunflower (<italic>Helianthus annuus</italic>) exhibit day-neutral, facultative short day, and facultative long-day flowering responses, which vary with their environments (<xref ref-type="bibr" rid="c6">6</xref>, <xref ref-type="bibr" rid="c7">7</xref>). These distinct genetic responses in different environments are known as genotype-by-environment interactions, or GxE.</p>
<p>Flowering time, or the transition from vegetative to reproductive growth, is a common subject of GxE research (<xref ref-type="bibr" rid="c6">6</xref>–<xref ref-type="bibr" rid="c13">13</xref>), a key output of selection driving adaptation to local environments (<xref ref-type="bibr" rid="c2">2</xref>, <xref ref-type="bibr" rid="c14">14</xref>–<xref ref-type="bibr" rid="c17">17</xref>), and a selection target for crop improvement to adapt crops to local or future environments (<xref ref-type="bibr" rid="c18">18</xref>). Changing flowering responsiveness to photoperiod cues has allowed geographic range expansion and increased yields in several cereal species (<xref ref-type="bibr" rid="c14">14</xref>, <xref ref-type="bibr" rid="c19">19</xref>–<xref ref-type="bibr" rid="c23">23</xref>) and other crops (<xref ref-type="bibr" rid="c24">24</xref>, <xref ref-type="bibr" rid="c25">25</xref>). Recent statistical advances in studying phenological GxE have involved determining critical environmental indices before the phenological event occurs, such as photothermal time within a critical growth window (<xref ref-type="bibr" rid="c11">11</xref>). However, most studies of flowering GxE focus on finding a single, best fitting form of genotype-environment covariance, despite the key expectation that different genetic subpopulations, and even different genomic regions, have likely evolved distinct patterns of GxE (<xref ref-type="bibr" rid="c26">26</xref>).</p>
<p>Additionally, despite theoretical predictions that local adaptation should involve trade-offs caused by antagonistic pleiotropy, or alleles with effects with opposing fitness outcomes (<xref ref-type="bibr" rid="c27">27</xref>–<xref ref-type="bibr" rid="c30">30</xref>), previous empirical work has found limited evidence of trade-offs caused by this form of GxE (<xref ref-type="bibr" rid="c15">15</xref>, <xref ref-type="bibr" rid="c31">31</xref>, <xref ref-type="bibr" rid="c32">32</xref>). However, this work has been limited by a known statistical bias that reduced detection of genetic effects that differ in sign (<xref ref-type="bibr" rid="c31">31</xref>, <xref ref-type="bibr" rid="c33">33</xref>, <xref ref-type="bibr" rid="c34">34</xref>). Thus, despite substantial interest in the frequencies of various forms of GxE, the frequency of sign-changing GxE relative to other forms of GxE remains unknown.</p>
<p>Previous research suggests that switchgrass phenological timings should have GxWeather and that these timings could differ by genetic subpopulation. Switchgrass is considered a short-day plant with reproductive development strongly linked to day of the year (<xref ref-type="bibr" rid="c35">35</xref>). However, as part of its wide environmental adaptation across the eastern half of North America, its photoperiodicity has been predicted to differ by plant latitude of origin (<xref ref-type="bibr" rid="c36">36</xref>, <xref ref-type="bibr" rid="c37">37</xref>). We previously found that divergent Midwest and Gulf genetic subpopulations of switchgrass have distinct sets of environmental adaptations associated with each of two fitness proxies, biomass and overwinter survival (<xref ref-type="bibr" rid="c38">38</xref>). The Midwest genetic subpopulation is primarily composed of individuals from the well-studied upland switchgrass ecotype (<xref ref-type="bibr" rid="c39">39</xref>, <xref ref-type="bibr" rid="c40">40</xref>), while the Gulf subpopulation has individuals from the well-studied lowland ecotype and the phenotypically intermediate coastal ecotype (<xref ref-type="bibr" rid="c38">38</xref>).</p>
<p>Here, we test for GxWeather for the timing of two phenological traits by loading patterns of genetic effects on phenology at eight common gardens onto many patterns of weather covariance at these gardens. To do this, we phenotyped a diversity panel of hundreds of switchgrass genotypes from the Midwest and Gulf subpopulations for the timing of vegetative and reproductive development. We did this at eight common garden locations spanning 17 degrees of latitude: these gardens covered the majority of the latitudinal and climatic range of switchgrass and captured the most comprehensive picture to date of the environmental variation this species encounters. We defined multiple ways phenological traits might covary with weather (<xref rid="tbl1" ref-type="table">Table 1</xref>) and additional ways phenological traits might vary by garden (SI Appendix, Section S1), then jointly re-estimated genetic effects on these timings at all eight common gardens using the set of these covariance matrices that significantly improved the modeled log-likelihood when included (SI Appendix, Section S2-S5) (<xref ref-type="bibr" rid="c41">41</xref>). We used the Bayesian framework <italic>mash</italic> (multivariate adaptive shrinkage) developed by (<xref ref-type="bibr" rid="c41">41</xref>), to refine effect size estimates from genome-wide association (GWAS). <italic>Mash</italic> allowed us to identify and specify multiple covariance structures among genetic effect estimates across sites, including structures that represent covariance in weather variables of interest. Importantly, this method circumvented statistical biases in detecting genetic effects with the same or opposite signs (<xref ref-type="bibr" rid="c42">42</xref>). To confirm our genetic mapping of GxWeather, we compared genomic locations of the significant posterior effect estimates from <italic>mash</italic> to mapping results from an outbred mapping population grown at the same sites. Our analyses allowed us to describe the weather cues and types of GxE affecting phenology in two divergent natural populations of switchgrass across the species’ latitudinal range.</p>
<table-wrap id="tbl1" orientation="portrait" position="float">
<label>Table 1.</label>
<caption><p>Weather variables and time frames prior to the start of vegetative and reproductive growth used to construct the hypothesis-based covariance matrices. Covariance matrices were constructed for, and tested on, three subpopulations and two phenological traits. The correlations between values of these weather variables for genetically identical plants grown in different gardens were used to fill off-diagonal cells of the covariance matrices. Narrow-sense heritabilities for these values at each garden were used for the diagonal cells.</p></caption>
<graphic xlink:href="456975v3_tbl1.tif" mime-subtype="tiff" mimetype="image"/>
</table-wrap>
</sec>
<sec id="s2">
<title>Results</title>
<p>Genotypes from the Gulf and Midwest subpopulations had distinct phenological trait timings and distinct patterns of phenological trait correlations across our eight common garden sites (<xref rid="fig1" ref-type="fig">Figure 1</xref>). At the three Texas common gardens (hereafter ‘Texas’ gardens), located within the natural range of the Gulf subpopulation, the onset of vegetative growth, or ‘green-up date’, for Gulf genotypes occurred before Midwestern green-up, and the onset of reproductive growth, or ‘flowering date’, for Gulf genotypes occurred after Midwestern flowering (<xref rid="fig1" ref-type="fig">Figure 1 A</xref>). At the four northernmost common gardens (hereafter ‘North’ gardens), located within the natural range of the Midwest subpopulation, both green-up and flowering of Gulf genotypes occurred after that of Midwest genotypes. At the Oklahoma common garden, located near the natural range limits of both the Gulf and the Midwest subpopulations, Gulf and Midwest green-up occurred over the same period, and Gulf genotype flowering occurred after Midwestern flowering (<xref rid="fig1" ref-type="fig">Figure 1 A</xref>). These patterns led to strong negative phenotypic correlations for the onset of vegetative growth between the North and Texas gardens, particularly in the Gulf and in the population containing all individuals from the Gulf and Midwest subpopulations (hereafter, ‘Both’ subpopulations) and contributed to positive phenotypic correlations for the onset of flowering that had larger magnitudes at more northern gardens (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>).</p>
<fig id="fig1" position="float" orientation="portrait" fig-type="figure">
<label>Figure 1.</label>
<caption><p>Characterization of the timing of the onset of vegetative (green-up) and reproductive (flowering) growth in the switchgrass diversity panel. (a) Map and trait histograms of green-up and flowering dates across two genetically distinct switchgrass subpopulations and eight common gardens. Purple represents individuals from the Midwest genetic subpopulation, and pink individuals from the Gulf subpopulation; map positions represent the original collection locations for the genotypes, and shapes represent the ecotype of the genotype. Histogram vertical dashed lines indicate the summer solstice. Common gardens are arranged in latitudinal order. (b) Phenotypic correlations between clonal replicates planted at eight common gardens, within and between two genetic subpopulations.</p></caption>
<graphic xlink:href="456975v3_fig1.tif" mime-subtype="tiff" mimetype="image"/>
</fig>
<p>Narrow-sense heritabilities (h<sup>2</sup>) suggested that rank-changing GxE for these phenotypes was present across the common gardens (SI Appendix, Figure S1). h<sup>2</sup> were typically high at individual gardens: 59% on average for green-up date, and 87% for flowering date. However, h<sup>2</sup> was variable across gardens, and green-up dates were uncorrelated (r<sup>2</sup> &lt; 0.2) or negatively correlated between pairs of gardens (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>). These negative and small correlations undoubtedly contributed to the low h<sup>2</sup> values for green-up and flowering date when estimated jointly at all eight gardens: h<sup>2</sup> was 0.8% for green-up and 23.2% for flowering date (SI Appendix, Figure S1).</p>
<sec id="s2a">
<title>Inference of genome-wide patterns of GxE and GxWeather for vegetative and reproductive timing</title>
<p>We expected patterns of GxE and GxWeather to vary at the locus, subpopulation, and trait level. Thus, we were interested in modeling the different ways polygenic effects might covary across our eight common gardens(<xref ref-type="bibr" rid="c43">43</xref>). We jointly re-estimated the genetic effects of a subset of SNPs across all eight common gardens using <italic>mash</italic> models, which can flexibly capture many modes of covariance across gardens (SI Appendix, Sections S1-S5, Datasets 1-6). To obtain genetic effects, we used subsets of effects from garden- and subpopulation GWAS (SI Appendix, Section S2-S3; Table S1). To obtain covariance structures, we specified both covariance structures introduced in the initial <italic>mash</italic> manuscript (e.g., garden-specific effects; equal effects at all gardens, <xref rid="fig2" ref-type="fig">Figure 2 A</xref>), and GxWeather covariance matrices estimated from the covariance of empirical weather patterns at each garden at specific times before the phenological event (<xref rid="tbl1" ref-type="table">Table 1</xref>; SI Appendix, Section S1). Then, we used a greedy algorithm to select covariance matrices from each model’s set that significantly improved the model likelihood (SI Appendix, Section S4; Table S2). Finally, we fit <italic>mash</italic> models using the selected set of covariance matrices on a subset of relatively unlinked (r<sup>2</sup> &lt; 0.2), ‘strong’ genetic effects with low <italic>p</italic>-values (SI Appendix, Section S5).</p>
<fig id="fig2" position="float" orientation="portrait" fig-type="figure">
<label>Figure 2.</label>
<caption><p>Example Canonical and GxWeather covariance matrices specified in <italic>mash</italic> and the posterior weights placed on all covariance matrices. (a) Common gardens are arranged in latitudinal order within the matrices. Top row: Four example canonical covariance matrices. Canonical matrices (purple) have simple interpretations, such as equal effects across all common gardens, or effects specific to a single common garden. Bottom row: Five example GxWeather covariance matrices specified for the green-up date or flowering date phenotype; these matrices were created from environment-specific correlations across eight common gardens, and are described in <xref rid="tbl1" ref-type="table">Table 1</xref>. (b,d) Total posterior weight placed on each covariance matrix type specified for (b) green-up date and (d) flowering date <italic>mash</italic> models, within and between two genetic subpopulations. Covariance matrices included in <italic>mash</italic> that had zero posterior weight in all three <italic>mash</italic> runs on the genetic subpopulations, such as the identity matrix, are not shown. (c,e) Total posterior weight placed on covariance matrices that were GxWeather or Canonical, for the (c) green-up date phenotype and (e) flowering date phenotype.</p></caption>
<graphic xlink:href="456975v3_fig2.tif" mime-subtype="tiff" mimetype="image"/>
</fig>
<p>The loadings of genetic effects onto the GxE and GxWeather covariance matrices included in each model provide information on genome-wide patterns of SNP-environment interaction. For example, the phenotypic correlations for the onset of vegetative growth had moderate negative correlations between the Texas and North gardens, particularly in the Gulf subpopulation and Both subpopulations (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>). If these phenotypic correlations have a genetic component, they could be partially or completely captured by the covariance structures specified in the <italic>mash</italic> model. In this case, the joint estimate of effects for many SNPs could have high mixture proportions, or mass, on a covariance matrix that captures the negative correlation between Texas (TX1, TX2, and TX3) and North (MO, NE, MI, and SD) gardens. In our data, daylength 14 days prior to green-up date was negatively correlated between Texas and North gardens (<xref rid="fig2" ref-type="fig">Figure 2 A</xref>); if many SNP effects have mass on this GxWeather matrix, we would infer that the effects of those SNPs have that form of GxWeather covariation.</p>
<p>Nine GxWeather covariance structures were selected by the greedy algorithm, one to two per subpopulation: six for green-up date, and three for flowering date (SI Appendix, Table S2). Of these nine, six had mass (&gt;0.1%) on them in <italic>mash</italic> models of the strong effects (<xref rid="fig2" ref-type="fig">Figure 2 B,D</xref>). Five of these six matrices had negative covariances between gardens in the Texas and North regions (<xref rid="fig2" ref-type="fig">Figure 2 A</xref>), while one had all positive or near-zero covariances.</p>
<p>For green-up date, SNP-associated phenotypic effects covaried with different weather-based cues in the Gulf &amp; in Both subpopulations (<xref rid="fig2" ref-type="fig">Figure 2 B</xref>). In total, 65% of the posterior weight of strong SNP effects in the <italic>mash</italic> model of Gulf green-up fell on a covariance matrix constructed using the covariance of day length 14 days prior to the date of green-up. The covariance matrix for this weather cue was visually similar to the observed pattern of phenotypic correlation for the timing of vegetative growth in the Gulf subpopulation (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>; <xref rid="fig2" ref-type="fig">Figure 2 A</xref>). <italic>Mash</italic> models of the timing of vegetative growth in the Midwest subpopulation and Both subpopulations did not include this GxWeather covariance. The Midwest had 0.15% weight on a GxWeather covariance matrix of cumulative GDD for the 28d prior to green-up, a GxWeather matrix that was visually similar to the Midwest’s observed pattern of phenotypic correlation (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>). Both subpopulations had non-zero weights on two additional GxWeather covariance types, average temperature one day prior to green-up, and the day length change in the day prior to green-up (<xref rid="fig2" ref-type="fig">Figure 2 B</xref>). The average temperature covariance matrix had negative covariances between Texas and North gardens, though not as strong as the negative phenotypic correlations observed in Both subpopulations (<xref rid="fig1" ref-type="fig">Figure 1 B</xref>; <xref rid="fig2" ref-type="fig">Figure 2 A</xref>). The Gulf subpopulation and Both subpopulations had substantially more mass on GxWeather covariance matrices than the Midwest population (<xref rid="fig2" ref-type="fig">Figure 2 C</xref>) for the onset of vegetative growth.</p>
<p>For flowering date, distinct GxWeather covariance structures captured covariance in effect sizes for SNPs in the Gulf and Midwest subpopulations. 33% of SNP effects on flowering in the Gulf subpopulation covaried with cumulative rainfall in the seven days prior to flowering (<xref rid="fig2" ref-type="fig">Figure 2 D</xref>). 22.6% of SNP effects on flowering in the Midwest subpopulation covaried with day length change in the two days prior to flowering (<xref rid="fig2" ref-type="fig">Figure 2 D</xref>), which had negative covariances between Texas and North gardens. Neither of these covariance matrices significantly improved the log-likelihood of the <italic>mash</italic> model of Both subpopulations, and no GxWeather covariance matrices had non-zero mass in models of Both subpopulations (<xref rid="fig2" ref-type="fig">Figure 2 E</xref>). In five of the six <italic>mash</italic> models of strong effects, the GxWeather covariance matrices captured a minority of the posterior weights of the strong effects (<xref rid="fig2" ref-type="fig">Figure 2 C,E</xref>); in these five models, the majority of this mass was on various canonical covariance matrices. These matrices included simple heterozygosity, with intermediate, positive covariances between all gardens, and single effect matrices with garden-specific effects. Re-estimation of genetic effects with <italic>mash</italic> allowed us to identify and quantify the fraction of loci exhibiting GxWeather patterns; a minority of GxE was GxWeather covariance, and the majority of GxE covariance in these models is driven by other, unknown drivers of GxE.</p>
</sec>
<sec id="s2b">
<title>Frequency of rank-changing GxE in significant SNP effects</title>
<p>We expected to observe common rank-changing GxE at the level of individual loci as this is a key theoretical prediction of local adaptation (<xref ref-type="bibr" rid="c27">27</xref>–<xref ref-type="bibr" rid="c30">30</xref>). Previous empirical work has found limited evidence of trade-offs caused by antagonistic pleiotropy; however, this work had a known statistical bias reducing the detection of effects that differed in sign (<xref ref-type="bibr" rid="c15">15</xref>, <xref ref-type="bibr" rid="c31">31</xref>, <xref ref-type="bibr" rid="c32">32</xref>). To determine the frequency of rank-changing GxE, we used the local false sign rate (lfsr), an analogue of the local false discovery rate that establishes confidence in the effect sign, not the effect’s difference from zero, to determine significance. We required lfsr significance (p &lt; 0.05) in both gardens to include effects. This means that our tests for a sign change between gardens carry an equal statistical burden to those for effects with the same sign. We separated kinds of effects at the level of individual loci into SNP effects that differ in sign between gardens (effects with rank-changing GxE between gardens), SNP effects that differ in magnitude (effects that are large in one garden or region and smaller in others), and SNP effects that are indistinguishable in two gardens (similarly large or small in comparisons between gardens) (<xref rid="fig3" ref-type="fig">Figure 3 A</xref>).</p>
<fig id="fig3" position="float" orientation="portrait" fig-type="figure">
<label>Figure 3.</label>
<caption><p>Types of GxE present between of pairs of jointly re-estimated SNP effects in eight common gardens, for effects with lfsr &lt; 0.05 at both gardens for each pair of gardens contrasted. a) Examples of effect patterns at three pairs of sites with three types of GxE. All effects are for an alternate allele, with the reference allele effect defined to be zero at both gardens and represented by the dashed vertical line. Sign: Effects that differ in sign at these pairs of gardens (p &lt; 0.05, lfsr). Magnitude: Effects identical in sign (p &lt; 0.05, lfsr) that differ in magnitude by a factor of &gt;0.4. Not Distinguishable: Effects not distinguishable by magnitude nor sign of the effect, with no measurable GxE. Confidence intervals are illustrative that the effect estimate does not overlap zero. b) The fraction of effects with each GxE type for the onset of vegetative growth (green-up date) and reproductive growth (flowering date), within and between two genetic subpopulations. Common gardens are grouped by the larger region they came from: North gardens are within the natural range of the Midwest subpopulation, and include MO, NE, MI, and SD, while Texas gardens are within the natural range of the Gulf subpopulation, and include TX1, TX2, and TX3.</p></caption>
<graphic xlink:href="456975v3_fig3.tif" mime-subtype="tiff" mimetype="image"/>
</fig>
<p>For green-up date for the Gulf subpopulation, hundreds to thousands of pairwise effects exhibited rank-changing GxE, or a difference in sign between pairs of Texas and North gardens (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>; SI Appendix, Fig S2). 78.7% of pairwise comparisons between North and Texas gardens had a difference in sign, while only 28.6% and 0.2% of North-North or Texas-Texas comparisons had a difference in sign, respectively (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>). The majority of pairwise effects for greenup for the Midwest (&gt;73%; 68-342 effects) were indistinguishable, or had no GxE. The majority of pairwise effects for Both subpopulations (&gt;85%) were the same sign, and effects most often differed in magnitude between gardens within and between the regions; however, these differences in effect sign and magnitude were mostly between the MO site and other sites (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>; SI Appendix, Fig S2).</p>
<p>For flowering date for the Gulf subpopulation, less than 2% of pairwise effects exhibited rank-changing GxE, or a difference in effect sign within or between regions (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>). More effects differed in magnitude between the Texas and North regions than within these regions (42.7% vs &lt;20%; <xref rid="fig3" ref-type="fig">Figure 3 B</xref>), while the majority of effects had no GxE. The Midwest population had relatively few significant effects for flowering (0-174 per pairwise comparison), but a large proportion of these differed in sign between Texas and North regions (42.7%) or within the North region (65.4%). Finally, in Both subpopulations, less than 20% of pairwise effects differed in sign (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>). Most differences in sign were between TX1, the southernmost garden, and all other gardens (SI Appendix, Figure S3). Similarly, more effects that differed in magnitude included gardens in the Texas region (52.3-55.9%), and most effect pairs in the North region were not distinguishable (91.5%).</p>
</sec>
<sec id="s2c">
<title>Confirmation of effects on phenology using an independent mapping population</title>
<p>We sought additional experimental support the occurrence and location of our significant SNP effect re-estimates using an independent pseudo-F2 mapping population created from Gulf &amp; Midwest individuals and grown at the same sites (<xref rid="fig4" ref-type="fig">Figure 4 A,B</xref>). We conducted quantitative trait loci (QTL) mapping of flowering as functions of five environmental cues that we also used as covariance matrices in <italic>mash</italic>, and identified eight QTL for flowering date, eight QTL for flowering as a function of day length change two days prior, one QTL for the start of vegetative growth, and two QTL for vegetative growth as a function of daylength change one day prior, all of which showed QTL by environment interactions (SI Appendix, Figure S4). All QTL for flowering overlapped with one or more homologs from rice or <italic>A. thaliana</italic> with functionally validated roles in flowering (SI Appendix, Dataset 7); the QTL on Chr04K overlapped a gene recently functionally validated for flowering in switchgrass (<xref ref-type="bibr" rid="c44">44</xref>). All flowering and green-up QTL intervals contained at least one SNP significant in at least one <italic>mash</italic> run at a log10-transformed Bayes Factor &gt; 2, or in the 1% tail of significance, whichever was stricter (SI Appendix, Dataset 8). We also looked for enrichments of <italic>mash</italic> SNPs in the 1% tail of significance (the ‘<italic>mash</italic> 1% tail’) within each QTL interval. At the 5% level, three QTL had enrichments of SNPs in the <italic>mash</italic> 1% tail. Overall, there were five significant enrichments (p &lt; 0.05, hypergeometric test) of SNPs in the <italic>mash</italic> 1% tail in the QTL intervals. Thus, we were able to experimentally support the genomic windows of some re-estimates of significant SNP effects with a QTL mapping experiment using a separate mapping population.</p>
<fig id="fig4" position="float" orientation="portrait" fig-type="figure">
<label>Figure 4.</label>
<caption><p>Overlaps of QTL from an outbred pseudo-F2 cross and with jointly re-estimated SNP effects in the 1% tail of significance from a diversity panel. Dotted lines indicate permutation-based significance thresholds for each weather-related function. Stars indicate QTL with significant enrichment for SNPs in the 1% <italic>mash</italic> tail; G, M, and B indicate which subpopulation had enrichment: G - Gulf subpopulation, M-Midwest subpopulation, B - both subpopulations. Rug plots show genomic locations of SNPs in the 1% <italic>mash</italic> tail for flowering date for each subpopulation: Both subpopulations are above the plot panel, the Gulf subpopulation is above the x-axis, and the Midwest subpopulation is below the x-axis. a) QTL mapping for the onset of vegetative growth (green-up date), and three weather-related functions of green-up date. b) QTL mapping for the onset of reproductive growth (flowering date), and two weather-related functions of flowering date.</p></caption>
<graphic xlink:href="456975v3_fig4.tif" mime-subtype="tiff" mimetype="image"/>
</fig>
</sec>
</sec>
<sec id="s3">
<title>Discussion</title>
<p>As the climate and the natural environment change, it is increasingly critical to understand how patterns of plant-environment interactions will change in response. To do this, we must understand the current patterns of trait covariation across environments, the genetic underpinnings of these patterns, and the cases where this covariation can be altered through selection at individual loci. Here, we demonstrate that we can associate multiple patterns of GxWeather with specific genomic regions using a switchgrass diversity panel grown at eight common gardens. We assigned genetic effects to both GxWeather patterns with interpretable weather-based cues, and to unmeasured, site-based patterns. We used this approach to study GxWeather for the timings of vegetative and reproductive development in the deeply genetically diverged Gulf and Midwest subpopulations of switchgrass.</p>
<p>Our analysis of the timing of vegetative and reproductive growth revealed many alleles with rank-changing GxE, or sign changes in their effects between the Texas and North gardens (<xref rid="fig3" ref-type="fig">Figure 3 B</xref>). The Gulf &amp; Both subpopulations had rank-changing GxE for green-up date, while the Midwest subpopulation had rank-changing GxE for flowering date. As phenological timings are major components of plant fitness, this result supports theoretical models that local adaptation should involve trade-offs due to antagonistic pleiotropy at the level of individual loci (<xref ref-type="bibr" rid="c27">27</xref>–<xref ref-type="bibr" rid="c30">30</xref>). Experimental designs in local adaptation research now often use more than two field sites and a wide range of genetic variation; <italic>mash</italic> and the local false sign rate facilitate the analysis of these experimental designs. We use <italic>mash</italic> to determine that rank-changing GxE for phenological traits is common in small genomic regions (<xref ref-type="bibr" rid="c15">15</xref>, <xref ref-type="bibr" rid="c45">45</xref>, <xref ref-type="bibr" rid="c46">46</xref>).</p>
<p>Our analysis of the timing of flowering showed that the Gulf and Midwest subpopulations have distinct GxWeather: flowering timing in the Midwest subpopulation has photoperiod-related genetic variation, in that flowering timing covaries with a day length change signal two days before flowering occurs. In contrast, the Gulf subpopulation does not have genetic variation in flowering that covaries with a photoperiod cue. Instead, the Gulf subpopulation has genetic variation in flowering that covaries with the rainfall that occurs in the week prior to flowering. Three genomic regions affecting flowering that we re-estimated across all eight sites were also supported by QTL from an independent mapping population at these sites (<xref rid="fig4" ref-type="fig">Figure 4 B</xref>). Models combining both subpopulations showed less signal, perhaps due to the distinctness of cues in both subpopulations or to confounding caused by population structure.</p>
<p>Identifying the environmental cues that are predictive of, or even correlated with, plant phenotypic responses remains a major challenge to studies interrogating gene action across many natural environments. The GxWeather photoperiod and cumulative rainfall cues we identify here are functions of the genotypes measured and capture only a minority of SNP effects on flowering. We could only assign SNP effects to a GxWeather covariance structures in four of the six phenotype &amp; genetic subpopulations we modeled. It’s likely we did not include some GxWeather important to these phenological cues - for example, overwintering parameters that might cause variation in the start of vegetative growth. More generally, it is difficult to predict the time scales over which individuals may integrate environmental cues, particularly in perennial species which may integrate these cues over longer time scales. If this integration time itself varies between individuals, the covariance structures we modeled cannot reelect this, though these structures would likely be highly correlated with GxWeather structures we did include. Our approach offers an opportunity to specify multiple environmental cues and compete them to explain patterns of genetic effects, allowing us to detect how important these cues are genome-wide, and how strongly each cue influences each SNP. This is a key development to further improve our understanding of genetic variation in GxE.</p>
</sec>
<sec id="s4">
<title>Materials and Methods</title>
<p>Whenever possible, plant material will be shared upon request. Source data and code to replicate these analyses are available at: <ext-link ext-link-type="uri" xlink:href="https://github.com/Alice-MacQueen/pvdiv-phenology-gxe.git">https://github.com/Alice-MacQueen/pvdiv-phenology-gxe.git</ext-link>. SNP data to replicate these analyses are available from the UT dataverse at <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.18738/T8/A604BU">https://doi.org/10.18738/T8/A604BU</ext-link>.</p>
<sec id="s4a">
<title>Scoring onset of vegetative and reproductive development in two mapping panels</title>
<p>In 2019, we scored two phenological events every two days in two mapping populations of switchgrass, a diversity panel and a pseudo-F2 cross, planted at eight common garden locations (<xref ref-type="bibr" rid="c38">38</xref>, <xref ref-type="bibr" rid="c40">40</xref>, <xref ref-type="bibr" rid="c46">46</xref>). We scored the onset of vegetative growth, or green-up date, as the day of the year when 50% of the tiller area of the crown of the plant cut the previous year had green growth. The onset of reproductive growth, or flowering date, was the day of the year when 50% of the plant tillers had panicles undergoing anthesis.</p>
<p>The formation and resequencing of the diversity panel has been described previously (<xref ref-type="bibr" rid="c38">38</xref>). The diversity panel contained 134 sequenced, clonally propagated individuals from the Midwest genetic subpopulation, and 229 from the Gulf genetic subpopulation. To allow for the possibility that different subpopulations had different strengths of connection between our phenotypes and genotypes (<xref ref-type="bibr" rid="c47">47</xref>), we conducted three sets of genetic analyses: on Gulf and Midwest genotypes separately, and on both subpopulations together (‘Both’ subpopulations). Analyses to determine narrow-sense heritability (h<sup>2</sup>) for green-up and flowering were done using linear mixed models and followed (<xref ref-type="bibr" rid="c38">38</xref>) (SI Appendix, Section S6).</p>
<p>To confirm candidate genomic regions found using <italic>mash</italic> on the diversity panel, we analyzed flowering in an outbred pseudo-F2 cross between four individuals, two Midwest and two Gulf individuals. The formation of this mapping population has been described previously (<xref ref-type="bibr" rid="c40">40</xref>); additional details on QTL mapping can be found in SI Appendix, Section S7. To be directly comparable to the diversity panel data, only 2019 phenology data from the pseudo-F2 cross from the same eight common garden sites were used.</p>
</sec>
<sec id="s4b">
<title>Joint re-estimation of SNP effects to assess the frequency of rank-changing GxE and assignment of genome-wide patterns of GxE and GxWeather</title>
<p>We were interested in specifying genetic models for trait variation that allowed more than one form of GxE, as we reasoned that different loci should display different forms of GxE (e.g., changes in effect magnitude vs sign). In addition, we were interested in an unbiased estimation of the frequency of rank-changing GxE relative to other forms of GxE, as the presence of rank-changing GxE at the level of individual loci is a key theoretical prediction of local adaptation. <italic>Mash</italic> allowed us to both specify multiple forms of GxE and GxWeather and conduct unbiased statistical tests for when SNP effects changed sign between common gardens.</p>
<p>To use <italic>mash</italic> on our diversity panel, we had to specify both a relatively uncorrelated set of covariance matrices, which in our case defined types of GxE and GxWeather between gardens, and we had to specify subsets of SNP effect estimates and standard errors for our traits at each common garden. To specify a set of covariance matrices, we first defined many covariance matrices, including GxWeather matrices that represented the correlation in weather cues between gardens before the phenological event (SI Appendix, Section S1), then implemented a model selection approach that used a greedy algorithm to evaluate if the log likelihood of the <italic>mash</italic> model was significantly improved as additional covariance matrices were included (SI Appendix, Section S4). To specify subsets of SNP effect estimates and standard errors to use for both the greedy algorithm and with the optimal set of covariance matrices, we first calculated best linear unbiased predictors (BLUPs) for each phenological trait in each genetic subpopulation and each common garden (SI Appendix, Section S2). Next, we determined effect estimates for 8.8 to 12.3 million SNPs per subpopulation by conducting garden-specific GWAS on these BLUPs using <italic>k</italic> vectors of singular values to correct for population structure, where <italic>k</italic> was the smallest integer value that made the genomic control coefficient closest to 1 (SI Appendix, Section S2). Singular values were computed using singular value decomposition of the matrix of all SNPs, with iterative SNP pruning and removal of regions in long-range linkage disequilibrium (<xref ref-type="bibr" rid="c48">48</xref>). Third, to make the <italic>mash</italic> models computationally feasible, we extracted two subsets of SNP effect estimates and standard errors from our GWAS effect estimates: (i) effects from a subset of “strong” tests corresponding to stronger effects on our traits; (ii) results from a random subset of all tests to correspond to an unbiased representation of all effects (SI Appendix, Section S3). We used the subset of random effects in our greedy <italic>mash</italic> algorithm (SI Appendix, Section S4) and used the subset of strong effects in our <italic>mash</italic> models with the optimal set of covariance matrices (SI Appendix, Section S5).</p>
<p>The loadings of genetic effects onto the multiple covariance structures specified in our <italic>mash</italic> models provided information on genome-wide patterns of SNP-environment interaction. In addition, the the GxWeather covariance structures allowed hypothesis testing of specific weather variables as cues for the start of vegetative and reproductive growth. Say that our diversity panel contains a SNP in the gene CONSTANS (CO), a well-known flowering time regulator, and that only one of the alleles affects the promotion of flowering in a photoperiod-dependent manner. In that case, the joint estimate of effects for that SNP could have a high mixture proportion, or mass, on a covariance matrix created using a photoperiod-based environmental cue, such as day length at some interval prior to flowering. In our data, we would infer that the effect of that SNP on flowering was cued by the weather variable used to create the GxWeather covariance structure.</p>
<p>Our joint re-estimation of SNP effects also allowed us to characterize the overall patterns of GxE in the set of SNPs where there was pairwise significance of effects at pairs of gardens. To do this, we used the ‘get_GxE’ function of the switchgrassGWAS R package. First, this function determines the set of SNPs with evidence of significant effects in both conditions for all pairs of conditions using local false sign rates (lfsr) as the significance criteria. Then, this function determines if effects significant in both conditions are of opposite sign.</p>
<p>Using the lfsr rather than the local false discovery rate (local FDR) is a critical change in our ability to detect alleles directly contributing to rank-changing GxE between environments. The local FDR, like other measures of FDR, focuses on if we have enough evidence to reject the null hypothesis that an effect j is 0, or that there is a significant effect. Previous studies of antagonistic pleiotropy (e.g. (<xref ref-type="bibr" rid="c46">46</xref>)) have used the local FDR or equivalent statistical tests to detect antagonistic pleiotropy. These tests were conservative, in that they required two non-zero effects of different signs, while tests for differential sensitivity required only one non-zero effect. This previous work recognized that this testing bias could lead to undercounting occurrences of antagonistic pleiotropy (<xref ref-type="bibr" rid="c31">31</xref>, <xref ref-type="bibr" rid="c34">34</xref>), and sought to reduce it by permutation (<xref ref-type="bibr" rid="c33">33</xref>). However, using the lfsr to test for allelic effects that differ in sign does not undercount these occurrences, as this statistic answers a fundamentally different question. For each effect <italic>j</italic>, the <italic>l fsr<sub>j</sub></italic> is defined as the probability that we make an error in the sign of effect <italic>j</italic> if we were forced to declare the effect positive or negative (<xref ref-type="bibr" rid="c42">42</xref>). Thus, rather than asking “Are these two effects different?” - as we reasonably expect two effects to be, even if this difference cannot be measured - the local false sign rate answers a more meaningful question: Can we be confident in the sign of this effect?</p>
<p>In addition, the get_GxE function also sets an arbitrary threshold to count an effect as changing in magnitude between environments, commonly known as differential sensitivity or a change in amplitude of the effect. For differential sensitivity, this function determines if effects significant in both conditions are of the same sign and of a magnitude (not tested for significance) that differs by a factor of 0.4 or more. The remaining effects that are significant in both conditions have the same effect sign and similar effect magnitudes and we denote these effects as having no GxE. The distinction between effects with different magnitudes is arbitrary but useful to fully characterize how effects vary across environments to ultimately influence phenotypes. Our use of the lfsr to determine significance and our specification that SNP effects must be significant in both conditions to be included means that our tests for alleles with rank-changing GxE carry an equal statistical burden to those measuring differential sensitivity and effects without GxE.</p>
</sec>
</sec>

</body>
<back>
<ack>
<title>Acknowledgements</title>
<p>We thank the Brackenridge Field laboratory, the Ladybird Johnson Wildflower Center, and the Juenger laboratory for support with plant care and propagation. The authors acknowledge the Texas Advanced Computing Center (TACC) at The University of Texas at Austin for providing HPC storage resources that have contributed to the research results reported within this paper. This material is based upon work supported in part by the Great Lakes Bioenergy Research Center, U.S. Department of Energy, Office of Science, Office of Biological and Environmental Research under Award Numbers DE-SC0018409 and DE-FC02-07ER64494, the US Department of Energy Awards DE-SC0021126 and DESC0014156 to T.E.J., DE-SC0017883 to D.B.L, NIH grant R35GM151108 and a Pew Scholarship to A.H., National Science Foundation PGRP Awards IOS0922457 and IOS1444533 to T.E.J, and the Long-term Ecological Research Program (DEB 1832042) at the Kellogg Biological Station.</p>
</ack>
<sec id="s5">
<title>Additional information</title>
<sec id="s5a">
<title>Author Contributions:</title>
<p> T.E.J. designed research. D.B.L. contributed plant material and resources. J.B., D.B.L., and T.E.J. designed and executed field experiments. A.R.B., P.A.F., F.B.F., D.B.L., R.B.M., F.M.R., Y.W., and T.E.J. hosted field experiments. A.H.M., L.Z., and S.P.S. conducted statistical and computational analyses with input from T.E.J. and A.H. The manuscript was written by A.H.M. with contributions from all authors.</p>
</sec>
</sec>
<sec id="suppd1e1344" sec-type="supplementary-material">
<title>Additional files</title>
<supplementary-material id="d1e1278">
<label>Dataset 1.</label>
<caption><title>SNP-associated effects for the start of vegetative growth jointly re-estimated in the Gulf genetic subpopulation.</title></caption>
<media xlink:href="supplements/456975_file03.csv"/>
</supplementary-material>
<supplementary-material id="d1e1285">
<label>Dataset 2.</label>
<caption><title>SNP-associated effects and standard errors for the start of vegetative growth jointly re-estimated in the Midwest genetic subpopulation.</title></caption>
<media xlink:href="supplements/456975_file04.csv"/>
</supplementary-material>
<supplementary-material id="d1e1292">
<label>Dataset 3.</label>
<caption><title>SNP-associated effects and standard errors for the start of vegetative growth jointly re-estimated in both the Midwest and Gulf genetic subpopulations.</title></caption>
<media xlink:href="supplements/456975_file05.csv"/>
</supplementary-material>
<supplementary-material id="d1e1299">
<label>Dataset 4.</label>
<caption><title>SNP-associated effects and standard errors for the start of reproductive growth jointly re-estimated in the Gulf genetic subpopulation.</title></caption>
<media xlink:href="supplements/456975_file06.csv"/>
</supplementary-material>
<supplementary-material id="d1e1307">
<label>Dataset 5.</label>
<caption><title>SNP-associated effects and standard errors for the start of reproductive growth jointly re-estimated in the Midwest genetic subpopulation.</title></caption>
<media xlink:href="supplements/456975_file07.csv"/>
</supplementary-material>
<supplementary-material id="d1e1314">
<label>Dataset 6.</label>
<caption><title>SNP-associated effects and standard errors for the start of reproductive growth jointly re-estimated in both the Midwest and Gulf genetic subpopulations.</title></caption>
<media xlink:href="supplements/456975_file08.csv"/>
</supplementary-material>
<supplementary-material id="d1e1321">
<label>Dataset 7.</label>
<caption><title>Genes in the quantitative trait loci (QTL) regions shown in Figure 4 that have functionally validated homologs in rice for vegetative or reproductive development.</title><p>The first 9 columns of this table provide QTL information, the remainder provide annotation information for the switchgrass genes in the QTL interval with homologs in A. thaliana or rice that have functional validation in flowering or vegetative-growth related traits. Columns 20-30 provide the titles of papers providing functional validation of the rice homolog of the switchgrass gene.</p></caption>
<media xlink:href="supplements/456975_file09.csv"/>
</supplementary-material>
<supplementary-material id="d1e1328">
<label>Dataset 8.</label>
<caption><title>Overlap between quantitative trait loci (QTL) for the start of vegetative or reproductive growth with significant mash effect estimates (with a log10(Bayes Factor) &gt; 2) found using diversity panels of the Midwest, Gulf, and Both genetic subpopulations.</title><p>The first five columns of this table provide QTL information, and columns 6-10 provide mash Marker information for markers within the QTL regions.</p></caption>
<media xlink:href="supplements/456975_file10.csv"/>
</supplementary-material>
<supplementary-material id="d1e1335">
<label>Appendix.</label>
<media xlink:href="supplements/456975_file11.pdf"/>
</supplementary-material>
</sec>
<ref-list>
<title>References</title>
<ref id="c1"><label>1.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>W. L.</given-names> <surname>Bauerle</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Photoperiodic regulation of the seasonal pattern of photosynthetic capacity and the implications for carbon cycling</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>109</volume>, <fpage>8612</fpage>–<lpage>8617</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c2"><label>2.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>F.</given-names> <surname>Andrés</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Coupland</surname></string-name></person-group>, <article-title>The genetic basis of flowering responses to seasonal cues</article-title>. <source>Nature Reviews Genetics</source> <volume>13</volume>, <fpage>627</fpage>–<lpage>639</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c3"><label>3.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Körner</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Basler</surname></string-name></person-group>, <article-title>Phenology under global warming</article-title>. <source>Science</source> <volume>327</volume>, <fpage>1461</fpage>–<lpage>1462</lpage> (<year>2010</year>).</mixed-citation></ref>
<ref id="c4"><label>4.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R.</given-names> <surname>Maple</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Zhu</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Hepworth</surname></string-name>, <string-name><given-names>J.-W.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Dean</surname></string-name></person-group>, <article-title>Flowering time: From physiology, through genetics to mechanism</article-title>. <source>Plant Physiology</source> <volume>195</volume>, <fpage>190</fpage>–<lpage>212</lpage> (<year>2024</year>).</mixed-citation></ref>
<ref id="c5"><label>5.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C. A.</given-names> <surname>Botero</surname></string-name>, <string-name><given-names>F. J.</given-names> <surname>Weissing</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Wright</surname></string-name>, <string-name><given-names>D. R.</given-names> <surname>Rubenstein</surname></string-name></person-group>, <article-title>Evolutionary tipping points in the capacity to adapt to environmental change</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>112</volume>, <fpage>184</fpage>–<lpage>189</lpage> (<year>2015</year>).</mixed-citation></ref>
<ref id="c6"><label>6.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B. K.</given-names> <surname>Blackman</surname></string-name></person-group>, <article-title>Interacting duplications, fluctuating selection, and convergence: The complex dynamics of flowering time evolution during sunflower domestication</article-title>. <source>Journal of experimental botany</source> <volume>64</volume>, <fpage>421</fpage>–<lpage>431</lpage> (<year>2013</year>).</mixed-citation></ref>
<ref id="c7"><label>7.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L. P.</given-names> <surname>Henry</surname></string-name>, <string-name><given-names>R. H.</given-names> <surname>Watson</surname></string-name>, <string-name><given-names>B. K.</given-names> <surname>Blackman</surname></string-name></person-group>, <article-title>Transitions in photoperiodic flowering are common and involve few loci in wild sunflowers (helianthus; asteraceae)</article-title>. <source>American Journal of Botany</source> <volume>101</volume>, <fpage>1748</fpage>–<lpage>1758</lpage> (<year>2014</year>).</mixed-citation></ref>
<ref id="c8"><label>8.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Axgren</surname></string-name>, <string-name><given-names>C. G.</given-names> <surname>Oakley</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Lundemo</surname></string-name>, <string-name><given-names>D. W.</given-names> <surname>Schemske</surname></string-name></person-group>, <article-title>Adaptive divergence in flowering time among natural populations of arabidopsis thaliana: Estimates of selection and QTL mapping</article-title>. <source>Evolution</source> <volume>71</volume>, <fpage>550</fpage>–<lpage>564</lpage> (<year>2017</year>).</mixed-citation></ref>
<ref id="c9"><label>9.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>B.</given-names> <surname>Brachi</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Linkage and association mapping of arabidopsis thaliana flowering time in nature</article-title>. <source>PLoS genetics</source> <volume>6</volume>, <fpage>e1000940</fpage> (<year>2010</year>).</mixed-citation></ref>
<ref id="c10"><label>10.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>E. L.</given-names> <surname>Dittmar</surname></string-name>, <string-name><given-names>C. G.</given-names> <surname>Oakley</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Axgren</surname></string-name>, <string-name><given-names>D. W.</given-names> <surname>Schemske</surname></string-name></person-group>, <article-title>Flowering time QTL in natural populations of arabidopsis thaliana and implications for their adaptive value</article-title>. <source>Molecular ecology</source> <volume>23</volume>, <fpage>4291</fpage>–<lpage>4303</lpage> (<year>2014</year>).</mixed-citation></ref>
<ref id="c11"><label>11.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>T.</given-names> <surname>Guo</surname></string-name>, <string-name><given-names>Q.</given-names> <surname>Mu</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Yu</surname></string-name></person-group>, <article-title>Genomic and environmental determinants and their interplay underlying phenotypic plasticity</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>115</volume>, <fpage>6679</fpage>–<lpage>6684</lpage> (<year>2018</year>).</mixed-citation></ref>
<ref id="c12"><label>12.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. A.</given-names> <surname>Romero Navarro</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>A study of allelic diversity underlying flowering-time adaptation in maize landraces</article-title>. <source>Nature genetics</source> <volume>49</volume>, <fpage>476</fpage>–<lpage>480</lpage> (<year>2017</year>).</mixed-citation></ref>
<ref id="c13"><label>13.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Bustos-Korts</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Exome sequences and multi-environment field trials elucidate the genetic basis of adaptation in barley</article-title>. <source>The Plant Journal</source> <volume>99</volume>, <fpage>1172</fpage>–<lpage>1191</lpage> (<year>2019</year>).</mixed-citation></ref>
<ref id="c14"><label>14.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Unterseer</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>A comprehensive study of the genomic differentiation between temperate Dent and Flint maize</article-title>. <source>Genome Biology</source> <volume>17</volume> (<year>2016</year>).</mixed-citation></ref>
<ref id="c15"><label>15.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. M.</given-names> <surname>Wadgymar</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Identifying targets and agents of selection: Innovative methods to evaluate the processes that contribute to local adaptation</article-title>. <source>Methods in Ecology and Evolution</source> <volume>8</volume>, <fpage>738</fpage>–<lpage>749</lpage> (<year>2017</year>).</mixed-citation></ref>
<ref id="c16"><label>16.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Blümel</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Dally</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Jung</surname></string-name></person-group>, <article-title>Flowering time regulation in crops—what did we learn from arabidopsis?</article-title> <source>Current opinion in biotechnology</source> <volume>32</volume>, <fpage>121</fpage>–<lpage>129</lpage> (<year>2015</year>).</mixed-citation></ref>
<ref id="c17"><label>17.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Fournier-Level</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Predicting the evolutionary dynamics of seasonal adaptation to novel climates in <italic>Arabidopsis thaliana</italic></article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>113</volume> (<year>2016</year>).</mixed-citation></ref>
<ref id="c18"><label>18.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Jung</surname></string-name>, <string-name><given-names>A. E.</given-names> <surname>Müller</surname></string-name></person-group>, <article-title>Flowering time control and applications in plant breeding</article-title>. <source>Trends in plant science</source> <volume>14</volume>, <fpage>563</fpage>–<lpage>573</lpage> (<year>2009</year>).</mixed-citation></ref>
<ref id="c19"><label>19.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Turner</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Beales</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Faure</surname></string-name>, <string-name><given-names>R. P.</given-names> <surname>Dunford</surname></string-name>, <string-name><given-names>D. A.</given-names> <surname>Laurie</surname></string-name></person-group>, <article-title>The pseudo-response regulator ppd-H1 provides adaptation to photoperiod in barley</article-title>. <source>Science</source> <volume>310</volume>, <fpage>1031</fpage>–<lpage>1034</lpage> (<year>2005</year>).</mixed-citation></ref>
<ref id="c20"><label>20.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Faure</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Mutation at the circadian clock gene EARLY MATURITY 8 adapts domesticated barley (hordeum vulgare) to short growing seasons</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>109</volume>, <fpage>8328</fpage>–<lpage>8333</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c21"><label>21.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.-Y.</given-names> <surname>Hung</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>ZmCCT and the genetic basis of day-length adaptation underlying the postdomestication spread of maize</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>109</volume>, <fpage>E1913</fpage>–<lpage>E1921</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c22"><label>22.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Zakhrabekova</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Induced mutations in circadian clock regulator mat-a facilitated short-season adaptation and range extension in cultivated barley</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>109</volume>, <fpage>4326</fpage>–<lpage>4331</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c23"><label>23.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Yang</surname></string-name>, <string-name><given-names>Q.</given-names> <surname>Peng</surname></string-name>, <string-name><given-names>G.-X.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>X.-H.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>C.-Y.</given-names> <surname>Wu</surname></string-name></person-group>, <article-title>OsELF3 is involved in circadian clock regulation for promoting flowering under long-day conditions in rice</article-title>. <source>Molecular Plant</source> <volume>6</volume>, <fpage>202</fpage>–<lpage>215</lpage> (<year>2013</year>).</mixed-citation></ref>
<ref id="c24"><label>24.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>P.</given-names> <surname>Pin</surname></string-name>, <string-name><given-names>O.</given-names> <surname>Nilsson</surname></string-name></person-group>, <article-title>The multifaceted roles of FLOWERING LOCUS t in plant development</article-title>. <source>Plant, cell &amp; environment</source> <volume>35</volume>, <fpage>1742</fpage>–<lpage>1755</lpage> (<year>2012</year>).</mixed-citation></ref>
<ref id="c25"><label>25.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. L.</given-names> <surname>Weller</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Parallel origins of photoperiod adaptation following dual domestications of common bean</article-title>. <source>Journal of Experimental Botany</source> <volume>70</volume>, <fpage>1209</fpage>–<lpage>1219</lpage> (<year>2019</year>).</mixed-citation></ref>
<ref id="c26"><label>26.</label><mixed-citation publication-type="preprint"><person-group person-group-type="author"><string-name><given-names>E.</given-names> <surname>Weine</surname></string-name>, <string-name><given-names>S. P.</given-names> <surname>Smith</surname></string-name>, <string-name><given-names>R. K.</given-names> <surname>Knowlton</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Harpak</surname></string-name></person-group>, <article-title>Tradeoffs in modeling context dependency in complex trait genetics</article-title>. <source>bioRxiv</source> (<year>2024</year>) <pub-id pub-id-type="doi">10.1101/2023.06.21.545998</pub-id>.</mixed-citation></ref>
<ref id="c27"><label>27.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Levene</surname></string-name></person-group>, <article-title>Genetic equilibrium when more than one ecological niche is available</article-title>. <source>The American Naturalist</source> <volume>87</volume>, <fpage>331</fpage>–<lpage>333</lpage> (<year>1953</year>).</mixed-citation></ref>
<ref id="c28"><label>28.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Felsenstein</surname></string-name></person-group>, <article-title>The theoretical population genetics of variable selection and migration</article-title>. <source>Annual review of genetics</source> <volume>10</volume>, <fpage>253</fpage>–<lpage>280</lpage> (<year>1976</year>).</mixed-citation></ref>
<ref id="c29"><label>29.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>T. J.</given-names> <surname>Kawecki</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Ebert</surname></string-name></person-group>, <article-title>Conceptual issues in local adaptation</article-title>. <source>Ecology letters</source> <volume>7</volume>, <fpage>1225</fpage>– <lpage>1241</lpage> (<year>2004</year>).</mixed-citation></ref>
<ref id="c30"><label>30.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>P. W.</given-names> <surname>Hedrick</surname></string-name></person-group>, <article-title>Genetic polymorphism in heterogeneous environments: A decade later</article-title>. <source>Annual review of ecology and systematics</source> <volume>17</volume>, <fpage>535</fpage>–<lpage>566</lpage> (<year>1986</year>).</mixed-citation></ref>
<ref id="c31"><label>31.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. L.</given-names> <surname>Des Marais</surname></string-name>, <string-name><given-names>K. M.</given-names> <surname>Hernandez</surname></string-name>, <string-name><given-names>T. E.</given-names> <surname>Juenger</surname></string-name></person-group>, <article-title>Genotype-by-environment interaction and plasticity: Exploring genomic responses of plants to the abiotic environment</article-title>. <source>Annual Review of Ecology, Evolution, and Systematics</source> <volume>44</volume>, <fpage>5</fpage>–<lpage>29</lpage> (<year>2013</year>).</mixed-citation></ref>
<ref id="c32"><label>32.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>E.</given-names> <surname>Millet</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Genome-wide analysis of yield in Europe: allelic effects as functions of drought and heat scenarios</article-title>. <source>Plant Physiology</source>, pp.<fpage>00621.2016</fpage> (<year>2016</year>).</mixed-citation></ref>
<ref id="c33"><label>33.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. T.</given-names> <surname>Anderson</surname></string-name>, <string-name><given-names>C.-R.</given-names> <surname>Lee</surname></string-name>, <string-name><given-names>C. A.</given-names> <surname>Rushworth</surname></string-name>, <string-name><given-names>R. I.</given-names> <surname>Colautti</surname></string-name>, <string-name><given-names>T.</given-names> <surname>Mitchell-Olds</surname></string-name></person-group>, <article-title>Genetic trade-offs and conditional neutrality contribute to local adaptation</article-title>. <source>Molecular ecology</source> <volume>22</volume>, <fpage>699</fpage>–<lpage>708</lpage> (<year>2013</year>).</mixed-citation></ref>
<ref id="c34"><label>34.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. T.</given-names> <surname>Anderson</surname></string-name>, <string-name><given-names>J. H.</given-names> <surname>Willis</surname></string-name>, <string-name><given-names>T.</given-names> <surname>Mitchell-Olds</surname></string-name></person-group>, <article-title>Evolutionary genetics of plant adaptation</article-title>. <source>Trends in Genetics</source> <volume>27</volume>, <fpage>258</fpage>–<lpage>266</lpage> (<year>2011</year>).</mixed-citation></ref>
<ref id="c35"><label>35.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R. B.</given-names> <surname>Mitchell</surname></string-name>, <string-name><given-names>K. J.</given-names> <surname>Moore</surname></string-name>, <string-name><given-names>L. E.</given-names> <surname>Moser</surname></string-name>, <string-name><given-names>J. O.</given-names> <surname>Fritz</surname></string-name>, <string-name><given-names>D. D.</given-names> <surname>Redfearn</surname></string-name></person-group>, <article-title>Predicting developmental morphology in switchgrass and big bluestem</article-title>. <source>Agronomy Journal</source> <volume>89</volume>, <fpage>827</fpage>– <lpage>832</lpage> (<year>1997</year>).</mixed-citation></ref>
<ref id="c36"><label>36.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. J.</given-names> <surname>Parrish</surname></string-name>, <string-name><given-names>J. H.</given-names> <surname>Fike</surname></string-name></person-group>, <article-title>The biology and agronomy of switchgrass for biofuels</article-title>. <source>Bpts</source> <volume>24</volume>, <fpage>423</fpage>–<lpage>459</lpage> (<year>2005</year>).</mixed-citation></ref>
<ref id="c37"><label>37.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Casler</surname></string-name>, <string-name><given-names>K. P.</given-names> <surname>Vogel</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Taliaferro</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Wynia</surname></string-name></person-group>, <article-title>Latitudinal adaptation of switchgrass populations</article-title>. <source>Crop Science</source> <volume>44</volume>, <fpage>293</fpage>–<lpage>303</lpage> (<year>2004</year>).</mixed-citation></ref>
<ref id="c38"><label>38.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. T.</given-names> <surname>Lovell</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>Genomic mechanisms of climate adaptation in polyploid bioenergy switchgrass</article-title>. <source>Nature</source>, <fpage>1</fpage>–<lpage>7</lpage> (<year>2021</year>).</mixed-citation></ref>
<ref id="c39"><label>39.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C. L.</given-names> <surname>Porter Jr</surname></string-name></person-group>, <article-title>An analysis of variation between upland and lowland switchgrass, panicum virgatum l., in central oklahoma</article-title>. <source>Ecology</source> <volume>47</volume>, <fpage>980</fpage>–<lpage>992</lpage> (<year>1966</year>).</mixed-citation></ref>
<ref id="c40"><label>40.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>E. R.</given-names> <surname>Milano</surname></string-name>, <string-name><given-names>D. B.</given-names> <surname>Lowry</surname></string-name>, <string-name><given-names>T. E.</given-names> <surname>Juenger</surname></string-name></person-group>, <article-title>The genetic basis of upland/lowland ecotype divergence in switchgrass (panicum virgatum)</article-title>. <source>G3: Genes, Genomes, Genetics</source> <volume>6</volume>, <fpage>3561</fpage>–<lpage>3570</lpage> (<year>2016</year>).</mixed-citation></ref>
<ref id="c41"><label>41.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. M.</given-names> <surname>Urbut</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>P.</given-names> <surname>Carbonetto</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Stephens</surname></string-name></person-group>, <article-title>Flexible statistical methods for estimating and testing effects in genomic studies with multiple conditions</article-title>. <source>Nature genetics</source> <volume>51</volume>, <fpage>187</fpage>–<lpage>195</lpage> (<year>2019</year>).</mixed-citation></ref>
<ref id="c42"><label>42.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Stephens</surname></string-name></person-group>, <article-title>False discovery rates: a new deal</article-title>. <source>Biostatistics</source> <volume>18</volume>, <fpage>275</fpage>–<lpage>294</lpage> (<year>2016</year>).</mixed-citation></ref>
<ref id="c43"><label>43.</label><mixed-citation publication-type="preprint"><person-group person-group-type="author"><string-name><given-names>E.</given-names> <surname>Weine</surname></string-name>, <string-name><given-names>S. P.</given-names> <surname>Smith</surname></string-name>, <string-name><given-names>R. K.</given-names> <surname>Knowlton</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Harpak</surname></string-name></person-group>, <article-title>Tradeoffs in modeling context dependency in complex trait genetics</article-title> <source>bioRxiv</source> (<year>2024</year>).</mixed-citation></ref>
<ref id="c44"><label>44.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Choi</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>A single amino acid change led to structural and functional differentiation of <italic>PvHd1</italic> to control flowering in switchgrass</article-title>. <source>Journal of Experimental Botany</source> <volume>74</volume>, <fpage>5532</fpage>–<lpage>5546</lpage> (<year>2023</year>).</mixed-citation></ref>
<ref id="c45"><label>45.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>O.</given-names> <surname>Savolainen</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Lascoux</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Merilä</surname></string-name></person-group>, <article-title>Ecological genomics of local adaptation</article-title>. <source>Nature Reviews Genetics</source> <volume>14</volume>, <fpage>807</fpage>–<lpage>820</lpage> (<year>2013</year>).</mixed-citation></ref>
<ref id="c46"><label>46.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. B.</given-names> <surname>Lowry</surname></string-name>, <etal>et al.</etal></person-group>, <article-title>QTL environment interactions underlie adaptive divergence in switchgrass across a large latitudinal gradient</article-title>. <source>Proceedings of the National Academy of Sciences</source> <volume>116</volume>, <fpage>12933</fpage>–<lpage>12941</lpage> (<year>2019</year>).</mixed-citation></ref>
<ref id="c47"><label>47.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Korte</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Farlow</surname></string-name></person-group>, <article-title>The advantages and limitations of trait analysis with GWAS: A review</article-title>. <source>Plant methods</source> <volume>9</volume>, <issue>29</issue> (<year>2013</year>).</mixed-citation></ref>
<ref id="c48"><label>48.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>F.</given-names> <surname>Privé</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Aschard</surname></string-name>, <string-name><given-names>M. G. B.</given-names> <surname>Blum</surname></string-name></person-group>, <article-title>Efficient management and analysis of large-scale genome-wide data with two r packages</article-title>: <source>Bigstatsr and bigsnpr</source> (<year>2017</year>).</mixed-citation></ref>
</ref-list>
</back>
<sub-article id="sa0" article-type="editor-report">
<front-stub>
<article-id pub-id-type="doi">10.7554/eLife.104507.1.sa2</article-id>
<title-group>
<article-title>eLife Assessment</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Fournier-Level</surname>
<given-names>Alexandre</given-names>
</name>
<role specific-use="editor">Reviewing Editor</role>
<aff>
<institution-wrap>
<institution>The University of Melbourne</institution>
</institution-wrap>
<city>Parkville</city>
<country>Australia</country>
</aff>
</contrib>
</contrib-group>
<kwd-group kwd-group-type="evidence-strength">
<kwd>Solid</kwd>
</kwd-group>
<kwd-group kwd-group-type="claim-importance">
<kwd>Valuable</kwd>
</kwd-group>
</front-stub>
<body>
<p>The study reports <bold>valuable</bold> findings on the nature of genotype-by-climate interaction, parameterised in a framework that allows integrating genetics and ecophysiological variation in switchgrass. The evidence provided is <bold>solid</bold> overall but the analysis could be improved to better support some of the claims.</p>
</body>
</sub-article>
<sub-article id="sa1" article-type="referee-report">
<front-stub>
<article-id pub-id-type="doi">10.7554/eLife.104507.1.sa1</article-id>
<title-group>
<article-title>Reviewer #1 (Public review):</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<anonymous/>
<role specific-use="referee">Reviewer</role>
</contrib>
</contrib-group>
</front-stub>
<body>
<p>Summary:</p>
<p>The authors present results and analysis of an experiment studying the genetic architecture of phenology in two geographically and genetically distinct populations of switchgrass when grown in 8 common gardens spanning a wide range of latitudes. They focused primarily on two measures of phenology - the green-up date in the spring, and the date of flowering. They observed generally positive correlations of flowering date across the latitudinal gradient, but negative correlations between northern and southern (i.e. Texas) green-up dates. They use GWAS and multivariate meta-analysis methods to identify and study candidate genetic loci controlling these traits and how their effect sizes vary across these gardens. They conclude that much of the genetic architecture is garden-specific, but find some evidence for photoperiod and rainfall effects on the locus effect sizes.</p>
<p>Strengths:</p>
<p>The strengths of the study are in the large scale and quality of the field trials, the observation of negative correlations among genotypes across the latitudinal gradient, and the importance of the central questions: Can we predict how genetic architecture will change when populations are moved to new environments? Can we breed for more/less sensitivity to environmental cues?</p>
<p>Weaknesses:</p>
<p>I have tried hard to understand the concept of the GxWeather analysis presented here, but still do not see how it tests for interactions between weather and genetic effects on phenology. I may just not understand it correctly, but if so, then I think more clarity in the logical model would help - maybe a figure explaining how this approach can detect genotype-weather interactions. Also, since this is a proposal for a new approach to detecting gene-environment effects, simulations would be useful to show power and false positive rates, or other ways of validating the results. The QTL validation provided is not very convincing because the same trials and the same ways of calculating weather values are used again, so it's not really independent validation, plus the QTL intervals are so large overlap between QTL and GWAS is not very strong evidence.</p>
<p>The term &quot;GxWeather&quot; is never directly defined, but based on its pairing with &quot;GxE&quot; on page 5, I assumed it means an interaction between genotypes (either plant lines or genotypes at SNPs) and weather variables, such that different genotypes alter phenology differently as a response to a specific change in weather. For example, some genotypes might initiate green-up once daylengths reach 12 hours, but others require 14 hours. Alternatively (equivalently), an SNP might have an effect on greenup at 12 hours (among plants that are otherwise physiologically ready to trigger greenup on March 21, only those with a genotype trigger), while no effect on greenup with daylengths of 14 hours (e.g., if plants aren't physiologically ready to greenup until June when daylengths are beyond 14 hours, both aa and AA genotypes will greenup at the same time, assuming this locus doesn't affect physiological maturity).</p>
<p>Either way, GxE and (I assume) GxWeather are typically tested in one of two ways. Either genotype effects are compared among environments (which differ in their mean value for weather variables) and GxWeather would be inferred if environments with similar weather have similar genotype effects. Or a model is fit with an environmental (maybe weather?) variable as a covariate and the genotype:environment interaction is measured as a change of slope between genotypes. Basically, the former uses effect size estimates across environments that differ in mean for weather, while the latter uses variation in weather within an experiment to find GxWeather effects.</p>
<p>However, the analytical approach here seems to combine these in a non-intuitive way and I don't think it can discover the desired patterns. As I understand from the methods, weather-related variables are first extracted for each genotype in each trial based on their green-up or flowering date, so within each trial each genotype &quot;sees&quot; a different value for this weather variable. For example, &quot;daylength 14 days before green-up&quot; is used as a weather variable. The correlation between these extracted genotype-specific weather variables across the 8 trials is then measured and used as a candidate mixture component for the among-trial covariance in mash. The weight assigned to these weather-related covariance matrices is then interpreted as evidence of genotype-by-weather interactions. However, the correlation among genotypes between these weather variables does not measure the similarity in the weather itself across trials. Daylengths at green-up are very different in MO than SD, but the correlation in this variable among genotypes is high. Basically, the correlation/covariance statistic is mean-centered in each trial, so it loses information about the mean differences among trials. Instead, the covariance statistic focuses on the within-trial variation in weather. But the SNP effects are not estimated using this within-trial variation, they're main effects of the SNP averaged over the within-trial weather variation. Thus it is not clear to me that the interpretation of these mash weights is valid. I could see mash used to compare GxWeather effects modeled in each trial (using the 2nd GxE approach above), but that would be a different analysis. As is, mash is used to compare SNP main effects across trials, so it seems to me this comparison should be based on the average weather differences among trials.</p>
<p>A further issue with this analysis is that the weather variables don't take into account the sequence of weather events. If one genotype flowers after the 1st rain event and the second flowers after the 2nd rain event, they can get the same value for the cumulative rainfall 7d variable, but the lack of response after the 1st rain event is the key diagnostic for GxWeather. There's also the issue of circularity. Since weather values are defined based on observed phenology dates, they're effectively caused by the phenology dates. So then asking if they are associated with phenology is a bit circular. Also, it takes a couple of weeks after flowering is triggered developmentally before flowers open, so the &lt; 2-week lags don't really make developmental sense.</p>
<p>Thus, I don't think this sentence in the abstract is a valid interpretation of the analysis: &quot;in the Gulf subpopulation, 65% of genetic effects on the timing of vegetative growth covary with day length 14 days prior to green-up date, and 33% of genetic effects on the timing of flowering covary with cumulative rainfall in the week prior to flowering&quot;. There's nothing in this analysis that compares the genetic effects under 12h days to genetic effects under 14h days (as an example), or genetic effects with no rainfall prior to flowering to genetic effects with high rainfall prior to flowering. I think the only valid conclusion is: &quot;65% of SNPs for green-up have a GxE pattern that mirrors the similarity in relationships between green-up and day length among trials.&quot; However I don't know how to interpret that statement in terms of the overall goals of the paper.</p>
<p>Next, I am confused about the framing in the abstract and the introduction of the GxE within and between subpopulations. The statement: &quot;the key expectation that different genetic subpopulations, and even different genomic regions, have likely evolved distinct patterns of GxE&quot; needs justification or clarification. The response to an environmental factor (ie plasticity) is a trait that can evolve between populations. This happens through the changing frequencies of alleles that cause different responses. But this doesn't necessarily mean that patterns of GxE are changing. GxE is the variance in plasticity. When traits are polygenic, population means can change a lot with little change in variance within each population. Most local adaptation literature is focused on changes in mean trait values or mean plasticities between populations, not changes in the variance of trait values or plasticities within populations. Focusing on the goal of this paper, differences in environmental or weather responses between the populations are interesting (Figure 1). However the comparisons of GxE between populations and with the combined population are hard to interpret. GxE within a population means that that population is not fixed for this component of plasticity, meaning that it likely hasn't been strongly locally selected. Doesn't this mean that in the context of comparing the two populations, loci with GxE within populations are less interesting than loci fixed for different values between populations? Also, if there is GxE in the Gulf population, by definition it is also present in the &quot;Both&quot; population. Not finding it there is just a power issue. If individuals in the two subpopulations never cross, the variance across the &quot;Both&quot; population isn't relevant in nature, it's an artificial construct of this experimental design. I wonder if there is confusion about the term &quot;genetic&quot; in GxE and as used in the first paragraph of the intro (&quot;Genetic responses&quot; and &quot;Genetic sensitivity&quot;). These sentences would be most clear if the &quot;genetic&quot; term referred to the mechanistic actions of gene products. But the rest of the paper is about genetic variation, ie the different effects of different alleles at a locus. I don't think this latter definition is what these first uses intend, which is confusing.</p>
<p>Note that the cited paper (26) is not relevant to this discussion about GxE patterns. This paper discusses the precision of estimating sub-group-specific genetic effects. With respect to the current paper, reference 26 shows that you might get more accurate measures of the SNP effects in the Gulf population using the full &quot;Both&quot; population dataset because i) the sample size is larger, and ii) as long as the true effects are not that different between populations. That paper is not focused on whether effect size variation is caused by evolution but on the technical question of whether GxG or GxE impacts the precision of within-group effect size estimates. The implication of paper 26 is that comparing SNP effects estimated in the &quot;Both&quot; population among gardens might be more powerful for detecting GxE than using only Gulf samples, even if there is some difference in SNP effects among populations. But if there magnitudes (or directions) of SNP effects change a lot among populations (ie not just changes in allele frequency), then modeling the populations separately will be more accurate.</p>
</body>
</sub-article>
<sub-article id="sa2" article-type="referee-report">
<front-stub>
<article-id pub-id-type="doi">10.7554/eLife.104507.1.sa0</article-id>
<title-group>
<article-title>Reviewer #2 (Public review):</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<anonymous/>
<role specific-use="referee">Reviewer</role>
</contrib>
</contrib-group>
</front-stub>
<body>
<p>The provided evidence in the study by MacQueen and colleagues is convincing, albeit some methodological challenges still exist. The authors rightly state that different subpopulations are likely to have evolved distinct patterns of GxE. It has been recently shown that the genetic architecture for adaptive traits differs across subpopulations (Lopez-Arboleda et al. 2021), hence this effect should be even more pronounced for GxE. How to best account for this in a statistical framework is not utterly clear. Here the authors describe their efforts to asses these interactions and to estimate the magnitude of the respective effects. Building on the statistical framework described, it could be possible to translate their findings from switchgrass to other species. A plus of the study is the effort to use an independent pseudo-F2 population to confirm the found associations.</p>
<p>
The manuscript is written coherently and all data and code used is freely available and explained in detail in the supplementary information.</p>
<p>Nevertheless, I feel that there are some points in the data analysis that could be clarified some more.</p>
<p>(1) Dividing GxE interactions into discrete, measurable GxWeather terms is a nice idea to gain a reliable measurement of E. I also appreciate the effort to create date-related values as a summary function of a weather variable across a specified date range. Using cumulative data the week prior to flowering seems like a good choice to associate weather patterns to this phenotype, but there are many - including non-linear ways - to accumulate these data. Additionally, weather parameters like temperature and precipitation can show interaction effects. I wonder if there is a way to consider these.</p>
<p>(2) As pointed out in Section S1, a trait measured in eight common gardens could be modeled at eight genetically correlated traits. To assess the genetic correlation one would need to estimate the genetic variance within each trait and 28 genetic covariance structures. Here model convergence would be painful given the sample sizes. There are different statistical solutions for this including the mash algorithm the authors choose. I highly appreciate the effort in how the rationale is described in the supplementary information, but to me, it is still not completely clear how 'strong' and random effects have been selected from GWAS. How sensitive is the model to a selection of different effects? Could one run permutations to assess this? Why is the number of total markers different for different phenotypes and subsets and does this affect statistical power?</p>
<p>(3) The mash model chooses different covariance matrices for the different analyses. Although I do understand the rationale for this, I am not sure how this will impact the respective analysis and how comparable the results are. Would one not like to have the same covariance matrices selected for all analyses?</p>
<p>(4) Although the observed pattern of different GxE in different subpopulations is intriguing, it remains a little unclear what we actually learn apart from the fact that GxE in adaptive traits is complex. Figure 3 divides GxE into sign and magnitude effects. Interestingly the partition differs significantly between Greenup date and Flowering Date. Still, the respective QTLs in Figure 4 do - at least partially - overlap (e.g. on CHR05N). What is the interpretation of these? Here, I would appreciate a more detailed discussion and hearing the thoughts of the authors.</p>
<p>(5) Figure 4 states that Stars indicate QTLs with significant enrichment for SNPs in the 1% mash tail. The shown Rug plots indicate this, but unfortunately, I am missing the respective stars. Is there a way to identify what is underlying these QTLs?</p>
<p>To summarize, the manuscript nicely shows the complex nature of GxE in different switchgrass subpopulations. The goal now would be to identify the causative alleles for these phenomena and understand how these have evolved. Here the provided study paves the way for further analyses in this perspective.</p>
</body>
</sub-article>
</article>