|What to print (
||Provides the data to be analysed|
||Specifies the genotypes|
||Specifies the environments (or locations when years are supplied)|
||Specifies years within locations|
||Saves the mega-environments|
FMEGAENVIRONMENTS forms mega-environments based on the winning genotype from each environment using an AMMI-2 model.
The data to be analysed must be supplied in a variate, using the
DATA parameter. The associated genotype and environment factors are specified using the
ENVIRONMENTS parameters, respectively.
For environments that contain data from several years,
FMEGAENVIRONMENTS can form mega-environments on the basis of locations and not years. The locations should then be supplied in a factor using the
ENVIRONMENTS parameter, and the years within the locations should be supplied in a factor using the
MEGAENVIRONMENTS parameter saves the mega-environments in a factor.
You can set option
PRINT=summary to display a summary of the winning genotype in each environment and the mega-environment allocation.
AMMI procedure is used to fit an AMMI-2 model to the genotype-by-environment data table, or the genotype-by-location data table when years within locations have been supplied. The fitted values are then used to identify the winning genotype within each environment.
FMEGAENVIRONMENTS takes account of any restrictions on
Commands for: REML analysis of linear mixed models.
CAPTION 'FMEGAENVIRONMENTS example'; STYLE=meta SPLOAD [PRINT=*] '%GENDIR%/Examples/F2maize_traits.gsh' FMEGAENVIRONMENTS yld; GENOTYPES=G; ENVIRONMENTS=E