Supplementary figures

Table S1

Table 1: Likelihood Ratio Test (LRT) for the random effects for each analyzed trait
term BTL EH EL ER GMC GWE GY HSW PH
ME 0.9993 0.998 0.4532 0.9999 1 0.1762 0.9996 1 0.1295
GEN 0.1623 0.0001158 0.001976 2.811e-08 2.381e-05 0.02818 0.3131 1.234e-07 3.094e-07
GEN:YEAR 0.8979 0.486 0.9997 0.9998 0.9997 0.4008 0.9997 0.9988 0.7332
GEN:ME 0.3916 1 0.005561 0.3466 1 0.1961 0.3527 0.3534 1
GEN:ME:YEAR 6.015e-38 5.846e-36 1.623e-11 1.41e-21 2.254e-06 4.085e-07 2.597e-17 0.0001163 3.111e-32
REP:(ME:YEAR) 2.402e-54 6.957e-136 2.864e-91 3.494e-19 3.1e-81 3.42e-115 7.102e-204 2.899e-220 2.974e-72
ME:YEAR 1 0.09063 1 1 0.0006672 1 0.0317 1 0.5888
YEAR 1 0.3594 0.2755 0.4651 0.04146 0.1256 0.9992 0.9993 0.2946

Table S2

Table 2: Eigenvalues and explained variance for the factor analysis within each mega-environments (ME1, ME2, ME3, and ME4).
model PC Eigenvalues Variance (%) Cum. variance (%)
ME1 PC1 2.9048 32.2755 32.2755
ME1 PC2 1.6590 18.4335 50.7090
ME1 PC3 1.2536 13.9292 64.6381
ME1 PC4 1.0292 11.4350 76.0732
ME1 PC5 0.8384 9.3154 85.3886
ME1 PC6 0.5137 5.7075 91.0961
ME1 PC7 0.4369 4.8547 95.9508
ME1 PC8 0.2353 2.6143 98.5652
ME1 PC9 0.1291 1.4348 100.0000
ME2 PC1 2.6264 29.1824 29.1824
ME2 PC2 1.4635 16.2612 45.4436
ME2 PC3 1.3912 15.4574 60.9010
ME2 PC4 1.1580 12.8671 73.7680
ME2 PC5 0.9121 10.1344 83.9024
ME2 PC6 0.6959 7.7324 91.6348
ME2 PC7 0.4390 4.8783 96.5131
ME2 PC8 0.2292 2.5472 99.0603
ME2 PC9 0.0846 0.9397 100.0000
ME3 PC1 2.6731 29.7011 29.7011
ME3 PC2 1.9628 21.8091 51.5102
ME3 PC3 1.3120 14.5781 66.0883
ME3 PC4 1.0805 12.0054 78.0937
ME3 PC5 0.6778 7.5310 85.6247
ME3 PC6 0.5212 5.7916 91.4162
ME3 PC7 0.4507 5.0078 96.4241
ME3 PC8 0.1951 2.1682 98.5923
ME3 PC9 0.1267 1.4077 100.0000
ME4 PC1 2.2929 25.4767 25.4767
ME4 PC2 1.8789 20.8771 46.3538
ME4 PC3 1.3836 15.3734 61.7272
ME4 PC4 1.0722 11.9138 73.6411
ME4 PC5 0.7253 8.0584 81.6994
ME4 PC6 0.6302 7.0026 88.7020
ME4 PC7 0.5051 5.6123 94.3144
ME4 PC8 0.3232 3.5909 97.9052
ME4 PC9 0.1885 2.0948 100.0000

Table S3

Table 3: Selecion differentials for mean performance and stability of the studied traits in the four delineated mega environments.
Mean performance
Stability
ME TRAIT Factor Xo Xs SD Xo Xs SD
ME1 EH FA1 115.1686 110.3583 -4.1767 287.9145 341.4788 18.6042
ME1 PH FA1 292.9013 289.1667 -1.2750 315.3069 238.7900 -24.2674
ME1 EL FA2 18.3032 19.0750 4.2167 3.1804 1.2354 -61.1555
ME1 GY FA2 11.3963 12.0839 6.0336 2.2780 2.0733 -8.9884
ME1 BTL FA3 1.3955 1.5556 11.4684 3.1218 4.5937 47.1494
ME1 ER FA3 16.3603 16.3000 -0.3683 3.4559 5.3685 55.3442
ME1 GMC FA3 27.9077 27.4889 -1.5007 9.5114 6.1766 -35.0612
ME1 GWE FA4 191.6609 196.7083 2.6335 1484.6240 593.2737 -60.0388
ME1 HSW FA4 34.8949 35.5528 1.8854 12.9523 13.7309 6.0113
ME2 EH FA1 102.1944 100.9259 -1.2413 1746.1723 2767.4794 58.4883
ME2 GMC FA1 28.3406 27.1537 -4.1880 18.3819 17.0779 -7.0940
ME2 PH FA1 266.0662 273.7593 2.8914 3237.5826 5817.5449 79.6879
ME2 GY FA2 10.0020 10.6186 6.1646 2.0422 1.9058 -6.6775
ME2 HSW FA2 33.0491 34.7907 5.2697 24.0236 6.1234 -74.5108
ME2 BTL FA3 1.4226 1.2500 -12.1358 2.5058 1.5026 -40.0356
ME2 ER FA3 16.1157 16.3139 1.2296 5.1660 1.1787 -77.1843
ME2 EL FA4 18.6455 18.6389 -0.0355 1.3509 0.3979 -70.5436
ME2 GWE FA4 165.5722 176.8111 6.7879 959.9331 1939.8253 102.0792
ME3 EH FA1 107.3942 109.8958 2.3294 174.6787 75.4959 -56.7801
ME3 GMC FA1 27.7042 26.7139 -3.5745 13.0603 3.3610 -74.2658
ME3 HSW FA1 34.1939 33.2556 -2.7442 15.2821 27.8854 82.4718
ME3 PH FA1 276.4776 275.2153 -0.4566 1433.6657 645.5966 -54.9688
ME3 BTL FA2 1.3433 1.0896 -18.8857 1.3436 2.2187 65.1352
ME3 ER FA2 16.1045 16.1958 0.5672 3.0241 4.2699 41.1980
ME3 EL FA3 17.9563 18.0951 0.7735 4.7299 6.3681 34.6328
ME3 GWE FA4 166.0665 171.2965 3.1494 994.1200 734.4834 -26.1172
ME3 GY FA4 10.2719 10.6635 3.8122 6.9039 3.3072 -52.0976
ME4 BTL FA1 1.5679 0.7236 -53.8498 3.0430 0.3149 -89.6507
ME4 GMC FA1 29.5715 30.3458 2.6186 32.3595 44.5085 37.5439
ME4 GWE FA1 178.6907 182.3833 2.0665 863.3880 715.2423 -17.1586
ME4 GY FA1 9.7761 10.3792 6.1689 3.6834 2.1659 -41.1989
ME4 EH FA2 108.9423 109.5417 0.5502 291.3284 428.3351 47.0283
ME4 HSW FA2 34.8843 35.4083 1.5022 10.2273 9.6333 -5.8080
ME4 PH FA2 278.8333 280.8750 0.7322 700.0429 371.3342 -46.9555
ME4 ER FA3 16.1497 15.5889 -3.4725 5.7913 4.2754 -26.1748
ME4 EL FA4 18.0981 18.0389 -0.3270 4.5881 3.7955 -17.2762