Learn R Programming

metan (version 1.19.0)

Multi Environment Trials Analysis

Description

Performs stability analysis of multi-environment trial data using parametric and non-parametric methods. Parametric methods includes Additive Main Effects and Multiplicative Interaction (AMMI) analysis by Gauch (2013) , Ecovalence by Wricke (1965), Genotype plus Genotype-Environment (GGE) biplot analysis by Yan & Kang (2003) , geometric adaptability index by Mohammadi & Amri (2008) , joint regression analysis by Eberhart & Russel (1966) , genotypic confidence index by Annicchiarico (1992), Murakami & Cruz's (2004) method, power law residuals (POLAR) statistics by Doring et al. (2015) , scale-adjusted coefficient of variation by Doring & Reckling (2018) , stability variance by Shukla (1972) , weighted average of absolute scores by Olivoto et al. (2019a) , and multi-trait stability index by Olivoto et al. (2019b) . Non-parametric methods includes superiority index by Lin & Binns (1988) , nonparametric measures of phenotypic stability by Huehn (1990) , TOP third statistic by Fox et al. (1990) . Functions for computing biometrical analysis such as path analysis, canonical correlation, partial correlation, clustering analysis, and tools for inspecting, manipulating, summarizing and plotting typical multi-environment trial data are also provided.

Copy Link

Version

Install

install.packages('metan')

Monthly Downloads

2,846

Version

1.19.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Olivoto

Last Published

December 15th, 2024

Functions in metan (1.19.0)

acv

Adjusted Coefficient of Variation
Shukla

Shukla's stability variance parameter
ammi_indexes

AMMI-based stability indexes
anova_ind

Within-environment analysis of variance
clustering

Clustering analysis
coincidence_index

Computes the coincidence index of genotype selection
arrange_ggplot

Arrange separate ggplots into the same graphic
anova_joint

Joint analysis of variance
blup_indexes

Stability indexes based on a mixed-effect model
Fox

Fox's stability function
can_corr

Canonical correlation analysis
as.lpcor

Coerce to an object of class lpcor
Huehn

Huehn's stability statistics
Schmildt

Schmildt's genotypic confidence index
corr_focus

Focus on section of a correlation matrix
corr_plot

Visualization of a correlation matrix
colindiag

Collinearity Diagnostics
comb_vars

Pairwise combinations of variables
corr_stab_ind

Correlation between stability indexes
corr_ss

Sample size planning for a desired Pearson's correlation confidence interval
corr_ci

Confidence interval for correlation coefficient
bind_cv

Bind cross-validation objects
corr_coef

Linear and partial correlation coefficients
barplots

Fast way to create bar plots
correlated_vars

Generate correlated variables
covcor_design

Variance-covariance matrices for designed experiments
cv_blup

Cross-validation procedure
data_simula

Simulate genotype and genotype-environment data
data_ge2

Multi-environment trial of maize
cv_ammif

Cross-validation procedure
cv_ammi

Cross-validation procedure
data_alpha

Data from an alpha lattice design
data_g

Single maize trial
doo

Alternative to dplyr::do for doing anything
desc_stat

Descriptive statistics
data_ge

Multi-environment trial of oat
fai_blup

Multi-trait selection index
find_outliers

Find possible outliers in a dataset
gafem

Genotype analysis by fixed-effect models
env_dissimilarity

Dissimilarity between environments
ecovalence

Stability analysis based on Wricke's model
gai

Geometric adaptability index
env_stratification

Environment stratification
gamem_met

Genotype-environment analysis by mixed-effect models
gamem

Genotype analysis by mixed-effect models
ge_acv

Adjusted Coefficient of Variation as yield stability index
ge_cluster

Cluster genotypes or environments
ge_reg

Eberhart and Russell's regression model
ge_effects

Genotype-environment effects
ge_factanal

Stability analysis and environment stratification
ge_means

Genotype-environment means
ge_polar

Power Law Residuals as yield stability index
ge_plot

Graphical analysis of genotype-vs-environment interaction
ge_details

Details for genotype-environment trials
ge_stats

Parametric and non-parametric stability statistics
ge_winners

Genotype-environment winners
get_dist

Get a distance matrix
get_corvars

Generate normal, correlated variables
gge

Genotype plus genotype-by-environment model
inspect

Check for common errors in multi-environment trial data
gytb

Genotype by yield*trait biplot
get_covmat

Generate a covariance matrix
get_model_data

Get data from a model easily
impute_missing_val

Missing value imputation
int.effects

Data for examples
gtb

Genotype by trait biplot
make_mat

Make a two-way table
make_long

Two-way table to a 'long' format
is.lpcor

Coerce to an object of class lpcor
is_balanced_trial

Check if a data set is balanced
mahala

Mahalanobis Distance
mahala_design

Mahalanobis distance from designed experiments
lineplots

Fast way to create line plots
lpcor

Linear and Partial Correlation Coefficients
meansGxE

Data for examples
mantel_test

Mantel test
non_collinear_vars

Select a set of predictors with minimal multicollinearity
mps

Mean performance and stability in multi-environment trials
path_coeff

Path coefficients with minimal multicollinearity
metan

Multi-Environment Trial Analysis
performs_ammi

Additive Main effects and Multiplicative Interaction
pairs_mantel

Mantel test for a set of correlation matrices
mgidi

Multitrait Genotype-Ideotype Distance Index
network_plot

Network plot of a correlation matrix
mtmps

Multi-trait mean performance and stability index
mtsi

Multi-trait stability index
plot.env_dissimilarity

Plot an object of class env_dissimilarity
plot.anova_joint

Several types of residual plots
plot.can_cor

Plots an object of class can_cor
plot.env_stratification

Plot the env_stratification model
plot.clustering

Plot an object of class clustering
%>%

Pipe operator
plaisted_peterson

Stability analysis based on Plaisted and Peterson (1959)
plot.corr_coef

Create a correlation heat map
plot.correlated_vars

Plot an object of class correlated_vars
plot.cvalidation

Plot the RMSPD of a cross-validation procedure
plot.ge_effects

Plot an object of class ge_effects
plot.fai_blup

Multi-trait selection index
plot.ge_reg

Plot an object of class ge_reg
plot.mgidi

Plot the multi-trait genotype-ideotype distance index
plot.gge

Create GGE, GT or GYT biplots
plot.ge_factanal

Plot the ge_factanal model
plot.gamem

Several types of residual plots
plot.gafem

Several types of residual plots
plot.mtmps

Plot the multi-trait stability index
plot.ge_cluster

Plot an object of class ge_cluster
plot.mtsi

Plot the multi-trait stability index
plot.waas

Several types of residual plots
plot_blup

Plot the BLUPs for genotypes
plot.waasb

Several types of residual plots
plot.sh

Plot the Smith-Hazel index
plot.wsmp

Plot heat maps with genotype ranking
plot.performs_ammi

Several types of residual plots
plot.resp_surf

Plot the response surface model
plot_ci

Plot the confidence interval for correlation
plot.path_coeff

Plots an object of class path_coeff
predict.performs_ammi

Predict the means of a performs_ammi object
plot_eigen

Plot the eigenvalues
predict.gge

Predict a two-way table based on GGE model
print.Annicchiarico

Print an object of class Annicchiarico
plot_scores

Plot scores in different graphical interpretations
print.Fox

Print an object of class Fox
predict.waas

Predict the means of a waas object
predict.waasb

Predict method for waasb fits
print.coincidence

Print an object of class coincidence
print.ammi_indexes

Print an object of class ammi_indexes
print.anova_joint

Print an object of class anova_joint
print.anova_ind

Print an object of class anova_ind
print.colindiag

Print an object of class colindiag
print.Huehn

Print an object ofclass Huehn
plot_waasby

Plot WAASBY values for genotype ranking
predict.gamem

Predict method for gamem fits
print.can_cor

Print an object of class can_cor
print.Thennarasu

Print an object ofclass Thennarasu
print.Shukla

Print an object of class Shukla
print.Schmildt

Print an object of class Schmildt
print.gamem

Print an object of class gamem
print.corr_coef

Print an object of class corr_coef
print.lpcor

Print the partial correlation coefficients
print.mgidi

Print an object of class mgidi Print a mgidi object in two ways. By default, the results are shown in the R console. The results can also be exported to the directory.
print.env_stratification

Print the env_stratification model
print.env_dissimilarity

Print an object of class env_dissimilarity
print.ge_reg

Print an object of class ge_reg
print.ge_stats

Print an object of class ge_stats
print.plaisted_peterson

Print an object of class plaisted_peterson
print.waasb

Print an object of class waasb
print.sh

Print an object of class sh
print.waas_means

Print an object of class waas_means
print.ecovalence

Print an object of class ecovalence
print.mtsi

Print an object of class mtsi
print.mtmps

Print an object of class mtmps
print.ge_factanal

Print an object of class ge_factanal
print.superiority

Print an object ofclass superiority
print.waas

Print an object of class waas
print.performs_ammi

Print an object of class performs_ammi
print.path_coeff

Print an object of class path_coeff
solve_svd

Pseudoinverse of a square matrix
split_factors

Split a data frame by factors
resp_surf

Response surface model
select_pred

Selects a best subset of predictor variables.
stars_pval

Generate significance stars from p-values
reorder_cormat

Reorder a correlation matrix
reexports

Objects exported from other packages
superiority

Lin e Binns' superiority index
themes

Personalized theme for ggplot2-based graphics
utils_bind

Helper function for binding rows
utils_as

Encode variables to a specific format
tidyeval

Tidy eval helpers
utils_data_org

Utilities for data organization
resca

Rescale a variable to have specified minimum and maximum values
residual_plots

Several types of residual plots
utils_mat

Utilities for handling with matrices
tukey_hsd

Tukey Honest Significant Differences
transpose_df

Transpose a data frame
utils_class

Utilities for handling with classes
utils_data

Utilities for data Copy-Pasta
utils_na_zero

Utilities for handling with NA and zero values
utils_wd

Set and get the Working Directory quicky
utils_samples

Random Sampling
utils_progress

Utilities for text progress bar in the terminal
utils_num_str

Utilities for handling with numbers and strings
utils_sets

Utilities for set operations for many sets
utils_stats

Useful functions for computing descriptive statistics
utils_rows_cols

Utilities for handling with rows and columns
waas

Weighted Average of Absolute Scores
venn_plot

Draw Venn diagrams
wsmp

Weighting between stability and mean performance
waas_means

Weighted Average of Absolute Scores
waasb

Weighted Average of Absolute Scores
Annicchiarico

Annicchiarico's genotypic confidence index
Thennarasu

Thennarasu's stability statistics
Select_helper

Select helper
Smith_Hazel

Smith-Hazel index