Forms mega-environments based on winning genotypes from an AMMI-2 model (D.A. Murray & M. Malosetti).
Option
PRINT = string tokens |
What to print (summary); default summ |
|---|
Parameters
DATA = variates |
Provides the data to be analysed |
|---|---|
GENOTYPES = factors |
Specifies the genotypes |
ENVIRONMENTS = factors |
Specifies the environments (or locations when years are supplied) |
YEARS = factors |
Specifies years within locations |
MEGAENVIRONMENTS = factors |
Saves the mega-environments |
Description
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 GENOTYPES and 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 YEARS parameter.
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.
Option: PRINT.
Parameters: DATA, GENOTYPES, ENVIRONMENTS, YEARS, MEGAENVIRONMENTS.
Method
The 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.
Action with RESTRICT
FMEGAENVIRONMENTS takes account of any restrictions on DATA, GENOTYPES, ENVIRONMENTS and YEARS.
See also
Procedure: AMMI.
Commands for: REML analysis of linear mixed models.
Example
CAPTION 'FMEGAENVIRONMENTS example'; STYLE=meta SPLOAD [PRINT=*] '%GENDIR%/Examples/F2maize_traits.gsh' FMEGAENVIRONMENTS yld; GENOTYPES=G; ENVIRONMENTS=E