Learn R Programming

⚠️There's a newer version (1.19.0) of this package.Take me there.

metan (version 1.17.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,686

Version

1.17.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Olivoto

Last Published

June 10th, 2022

Functions in metan (1.17.0)

acv

Adjusted Coefficient of Variation
Smith_Hazel

Smith-Hazel index
Select_helper

Select helper
Shukla

Shukla's stability variance parameter
Thennarasu

Thennarasu's stability statistics
ammi_indexes

AMMI-based stability indexes
Schmildt

Schmildt's genotypic confidence index
Annicchiarico

Annicchiarico's genotypic confidence index
Huehn

Huehn's stability statistics
Fox

Fox's stability function
arrange_ggplot

Arrange separate ggplots into the same graphic
anova_joint

Joint analysis of variance
anova_ind

Within-environment analysis of variance
barplots

Fast way to create bar plots
bind_cv

Bind cross-validation objects
as.lpcor

Coerce to an object of class lpcor
corr_stab_ind

Correlation between stability indexes
correlated_vars

Generate correlated variables
comb_vars

Pairwise combinations of variables
colindiag

Collinearity Diagnostics
corr_plot

Visualization of a correlation matrix
corr_ss

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

Computes Pearson's correlation matrix with p-values
corr_ci

Confidence interval for correlation coefficient
doo

Alternative to dplyr::do for doing anything
ecovalence

Stability analysis based on Wricke's model
can_corr

Canonical correlation analysis
blup_indexes

Stability indexes based on a mixed-effect model
covcor_design

Variance-covariance matrices for designed experiments
data_g

Single maize trial
cv_ammi

Cross-validation procedure
ge_acv

Adjusted Coefficient of Variation as yield stability index
data_alpha

Data from an alpha lattice design
data_simula

Simulate genotype and genotype-environment data
desc_stat

Descriptive statistics
clustering

Clustering analysis
ge_cluster

Cluster genotypes or environments
cv_ammif

Cross-validation procedure
coincidence_index

Computes the coincidence index of genotype selection
find_outliers

Find possible outliers in a dataset
fai_blup

Multi-trait selection index
cv_blup

Cross-validation procedure
ge_reg

Eberhart and Russell's regression model
gafem

Genotype analysis by fixed-effect models
ge_winners

Genotype-environment winners
gai

Geometric adaptability index
ge_factanal

Stability analysis and environment stratification
env_dissimilarity

Dissimilarity between environments
get_corvars

Generate normal, correlated variables
is_balanced_trial

Check if a data set is balanced
is.lpcor

Coerce to an object of class lpcor
int.effects

Data for examples
data_ge2

Multi-environment trial of maize
data_ge

Multi-environment trial of oat
ge_stats

Parametric and non-parametric stability statistics
ge_details

Details for genotype-environment trials
env_stratification

Environment stratification
ge_effects

Genotype-environment effects
ge_means

Genotype-environment means
lpcor

Linear and Partial Correlation Coefficients
impute_missing_val

Missing value imputation
inspect

Check for common errors in multi-environment trial data
gytb

Genotype by yield*trait biplot
gtb

Genotype by trait biplot
meansGxE

Data for examples
lineplots

Fast way to create line plots
%>%

Pipe operator
plot.anova_joint

Several types of residual plots
mahala

Mahalanobis Distance
get_model_data

Get data from a model easily
get_covmat

Generate a covariance matrix
ge_polar

Power Law Residuals as yield stability index
gamem

Genotype analysis by mixed-effect models
gamem_met

Genotype-environment analysis by mixed-effect models
ge_plot

Graphical analysis of genotype-vs-environment interaction
make_mat

Make a two-way table
metan-package

Multi-Environment Trial Analysis
plot.can_cor

Plots an object of class can_cor
mantel_test

Mantel test
gge

Genotype plus genotype-by-environment model
get_dist

Get a distance matrix
plot.mtmps

Plot the multi-trait stability index
performs_ammi

Additive Main effects and Multiplicative Interaction
plot.cvalidation

Plot the RMSPD of a cross-validation procedure
path_coeff

Path coefficients with minimal multicollinearity
plot.clustering

Plot an object of class clustering
mahala_design

Mahalanobis distance from designed experiments
plot.ge_factanal

Plot the ge_factanal model
plot.ge_reg

Plot an object of class ge_reg
plot.mtsi

Plot the multi-trait stability index
print.env_dissimilarity

Print an object of class env_dissimilarity
print.ge_stats

Print an object of class ge_stats
print.ecovalence

Print an object of class ecovalence
plot.wsmp

Plot heat maps with genotype ranking
plot_blup

Plot the BLUPs for genotypes
plot.path_coeff

Plots an object of class path_coeff
plot.env_dissimilarity

Plot an object of class env_dissimilarity
mtmps

Multi-trait mean performance and stability index
print.lpcor

Print the partial correlation coefficients
print.Fox

Print an object of class Fox
plot.performs_ammi

Several types of residual plots
print.anova_ind

Print an object of class anova_ind
print.mtsi

Print an object of class mtsi
print.Huehn

Print an object ofclass Huehn
print.anova_joint

Print an object of class anova_joint
plot_scores

Plot scores in different graphical interpretations
print.waas

Print an object of class waas
stars_pval

Generate significance stars from p-values
split_factors

Split a data frame by factors
print.superiority

Print an object ofclass superiority
utils_data

Utilities for data Copy-Pasta
make_long

Two-way table to a 'long' format
mgidi

Multitrait Genotype-Ideotype Distance Index
utils_data_org

Utilities for data organization
waasb

Weighted Average of Absolute Scores
wsmp

Weighting between stability and mean performance
print.Thennarasu

Print an object ofclass Thennarasu
mps

Mean performance and stability in multi-environment trials
plot_waasby

Plot WAASBY values for genotype ranking
predict.waasb

Predict method for waasb fits
print.Annicchiarico

Print an object of class Annicchiarico
mtsi

Multi-trait stability index
non_collinear_vars

Select a set of predictors with minimal multicollinearity
plot.gafem

Several types of residual plots
pairs_mantel

Mantel test for a set of correlation matrices
plot.gamem

Several types of residual plots
plot.corr_coef

Create a correlation heat map
print.path_coeff

Print an object of class path_coeff
print.waas_means

Print an object of class waas_means
tidyeval

Tidy eval helpers
print.waasb

Print an object of class waasb
transpose_df

Transpose a data frame
tukey_hsd

Tukey Honest Significant Differences
plot.correlated_vars

Plot an object of class correlated_vars
reexports

Objects exported from other packages
print.ammi_indexes

Print an object of class ammi_indexes
reorder_cormat

Reorder a correlation matrix
plot.ge_cluster

Plot an object of class ge_cluster
utils_as

Encode variables to a specific format
plot_ci

Plot the confidence interval for correlation
plot.ge_effects

Plot an object of class ge_effects
predict.performs_ammi

Predict the means of a performs_ammi object
plot_eigen

Plot the eigenvalues
predict.waas

Predict the means of a waas object
print.corr_coef

Print an object of class corr_coef
print.colindiag

Print an object of class colindiag
print.env_stratification

Print the env_stratification model
print.gamem

Print an object of class gamem
plot.waas

Several types of residual plots
plot.waasb

Several types of residual plots
residual_plots

Several types of residual plots
solve_svd

Pseudoinverse of a square matrix
set_wd_here

Set the Working Directory quicky
resca

Rescale a variable to have specified minimum and maximum values
select_pred

Selects a best subset of predictor variables.
utils_num_str

Utilities for handling with numbers and strings
resp_surf

Response surface model
utils_rows_cols

Utilities for handling with rows and columns
utils_progress

Utilities for text progress bar in the terminal
utils_sets

Utilities for set operations for many sets
plot.env_stratification

Plot the env_stratification model
utils_mat

Utilities for handling with matrices
utils_na_zero

Utilities for handling with NA and zero values
plot.fai_blup

Multi-trait selection index
predict.gamem

Predict method for gamem fits
print.can_cor

Print an object of class can_cor
print.ge_factanal

Print an object of class ge_factanal
predict.gge

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

Print an object of class coincidence
plot.mgidi

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

Create GGE, GT or GYT biplots
plot.resp_surf

Plot the response surface model
plot.sh

Plot the Smith-Hazel index
print.Shukla

Print an object of class Shukla
print.Schmildt

Print an object of class Schmildt
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.mtmps

Print an object of class mtmps
print.ge_reg

Print an object of class ge_reg
print.performs_ammi

Print an object of class performs_ammi
utils_bind

Helper function for binding rows
utils_class

Utilities for handling with classes
venn_plot

Draw Venn diagrams
utils_stats

Useful functions for computing descriptive statistics
waas

Weighted Average of Absolute Scores
superiority

Lin e Binns' superiority index
print.sh

Print an object of class sh
themes

Personalized theme for ggplot2-based graphics
waas_means

Weighted Average of Absolute Scores