Learn R Programming

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

metan (version 1.16.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

3,082

Version

1.16.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Olivoto

Last Published

November 10th, 2021

Functions in metan (1.16.0)

Smith_Hazel

Smith-Hazel index
anova_ind

Within-environment analysis of variance
corr_ss

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

Cross-validation procedure
anova_joint

Joint analysis of variance
cv_blup

Cross-validation procedure
corr_plot

Visualization of a correlation matrix
Schmildt

Schmildt's genotypic confidence index
Huehn

Huehn's stability statistics
clustering

Clustering analysis
ge_acv

Adjusted Coefficient of Variation as yield stability index
coincidence_index

Computes the coincidence index of genotype selection
ge_cluster

Cluster genotypes or environments
blup_indexes

Stability indexes based on a mixed-effect model
Select_helper

Select helper
Shukla

Shukla's stability variance parameter
corr_ci

Confidence interval for correlation coefficient
is_balanced_trial

Check if a data set is balanced
ge_factanal

Stability analysis and environment stratification
ge_means

Genotype-environment means
colindiag

Collinearity Diagnostics
comb_vars

Pairwise combinations of variables
can_corr

Canonical correlation analysis
corr_coef

Computes Pearson's correlation matrix with p-values
corr_stab_ind

Correlation between stability indexes
fai_blup

Multi-trait selection index
correlated_vars

Generate correlated variables
lineplots

Fast way to create line plots
plot.corr_coef

Create a correlation heat map
mgidi

Multitrait Genotype-Ideotype Distance Index
plot.correlated_vars

Plot an object of class correlated_vars
mps

Mean performance and stability in multi-environment trials
ammi_indexes

AMMI-based stability indexes
find_outliers

Find possible outliers in a dataset
acv

Adjusted Coefficient of Variation
inspect

Check for common errors in multi-environment trial data
impute_missing_val

Missing value imputation
data_alpha

Data from an alpha lattice design
ge_winners

Genotype-environment winners
data_ge2

Multi-environment trial of maize
data_ge

Multi-environment trial of oat
data_g

Single maize trial
plot.mtmps

Plot the multi-trait stability index
desc_stat

Descriptive statistics
as.lpcor

Coerce to an object of class lpcor
Fox

Fox's stability function
Annicchiarico

Annicchiarico's genotypic confidence index
arrange_ggplot

Arrange separate ggplots into the same graphic
data_simula

Simulate genotype and genotype-environment data
meansGxE

Data for examples
plot.mtsi

Plot the multi-trait stability index
barplots

Fast way to create bar plots
gamem

Genotype analysis by mixed-effect models
metan-package

Multi-Environment Trial Analysis
gtb

Genotype by trait biplot
get_corvars

Generate normal, correlated variables
gytb

Genotype by yield*trait biplot
predict.gamem

Predict method for gamem fits
plot_waasby

Plot WAASBY values for genotype ranking
print.Huehn

Print an object ofclass Huehn
make_mat

Make a two-way table
gamem_met

Genotype-environment analysis by mixed-effect models
mantel_test

Mantel test
%>%

Pipe operator
gafem

Genotype analysis by fixed-effect models
mtmps

Multi-trait mean performance and stability index
gai

Geometric adaptability index
ge_plot

Graphical analysis of genotype-vs-environment interaction
ge_stats

Parametric and non-parametric stability statistics
ge_reg

Eberhart and Russell's regression model
int.effects

Data for examples
bind_cv

Bind cross-validation objects
is.lpcor

Coerce to an object of class lpcor
mtsi

Multi-trait stability index
covcor_design

Variance-covariance matrices for designed experiments
cv_ammi

Cross-validation procedure
doo

Alternative to dplyr::do for doing anything
plot.anova_joint

Several types of residual plots
ge_polar

Power Law Residuals as yield stability index
print.anova_ind

Print an object of class anova_ind
print.Schmildt

Print an object of class Schmildt
print.ammi_indexes

Print an object of class ammi_indexes
ecovalence

Stability analysis based on Wricke's model
print.gamem

Print an object of class gamem
env_dissimilarity

Dissimilarity between environments
gge

Genotype plus genotype-by-environment model
get_model_data

Get data from a model easily
lpcor

Linear and Partial Correlation Coefficients
non_collinear_vars

Select a set of predictors with minimal multicollinearity
pairs_mantel

Mantel test for a set of correlation matrices
plot.resp_surf

Plot the response surface model
plot.can_cor

Plots an object of class can_cor
plot.clustering

Plot an object of class clustering
plot.performs_ammi

Several types of residual plots
mahala

Mahalanobis Distance
ge_details

Details for genotype-environment trials
env_stratification

Environment stratification
ge_effects

Genotype-environment effects
get_covmat

Generate a covariance matrix
plot_eigen

Plot the eigenvalues
get_dist

Get a distance matrix
print.ge_factanal

Print an object of class ge_factanal
print.waas

Print an object of class waas
print.waas_means

Print an object of class waas_means
plot_scores

Plot scores in different graphical interpretations
plot.cvalidation

Plot the RMSPD of a cross-validation procedure
utils_progress

Utilities for text progress bar in the terminal
utils_num_str

Utilities for handling with numbers and strings
print.Annicchiarico

Print an object of class Annicchiarico
mahala_design

Mahalanobis distance from designed experiments
print.anova_joint

Print an object of class anova_joint
plot.gafem

Several types of residual plots
plot.gamem

Several types of residual plots
plot.waasb

Several types of residual plots
print.Fox

Print an object of class Fox
plot.ge_reg

Plot an object of class ge_reg
plot.env_dissimilarity

Plot an object of class env_dissimilarity
plot.ge_factanal

Plot the ge_factanal model
print.lpcor

Print the partial correlation coefficients
plot.wsmp

Plot heat maps with genotype ranking
print.can_cor

Print an object of class can_cor
print.mtmps

Print an object of class mtmps
print.mtsi

Print an object of class mtsi
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.
venn_plot

Draw Venn diagrams
transpose_df

Transpose a data frame
utils_stats

Useful functions for computing descriptive statistics
tidyeval

Tidy eval helpers
make_long

Two-way table to a 'long' format
performs_ammi

Additive Main effects and Multiplicative Interaction
plot.fai_blup

Multi-trait selection index
plot.env_stratification

Plot the env_stratification model
path_coeff

Path coefficients with minimal multicollinearity
print.waasb

Print an object of class waasb
reexports

Objects exported from other packages
plot.gge

Create GGE, GT or GYT biplots
plot.mgidi

Plot the multi-trait genotype-ideotype distance index
split_factors

Split a data frame by factors
plot_ci

Plot the confidence interval for correlation
plot_blup

Plot the BLUPs for genotypes
stars_pval

Generate significance stars from p-values
plot.ge_cluster

Plot an object of class ge_cluster
plot.ge_effects

Plot an object of class ge_effects
plot.sh

Plot the Smith-Hazel index
print.Thennarasu

Print an object ofclass Thennarasu
print.Shukla

Print an object of class Shukla
plot.waas

Several types of residual plots
predict.waas

Predict the means of a waas object
utils_bind

Helper function for binding rows
predict.gge

Predict a two-way table based on GGE model
predict.performs_ammi

Predict the means of a performs_ammi object
print.coincidence

Print an object of class coincidence
predict.waasb

Predict method for waasb fits
print.env_dissimilarity

Print an object of class env_dissimilarity
print.sh

Print an object of class sh
print.colindiag

Print an object of class colindiag
print.ecovalence

Print an object of class ecovalence
print.corr_coef

Print an object of class corr_coef
waasb

Weighted Average of Absolute Scores
utils_class

Utilities for handling with classes
wsmp

Weighting between stability and mean performance
print.env_stratification

Print the env_stratification model
print.ge_reg

Print an object of class ge_reg
print.superiority

Print an object ofclass superiority
superiority

Lin e Binns' superiority index
themes

Personalized theme for ggplot2-based graphics
residual_plots

Several types of residual plots
print.ge_stats

Print an object of class ge_stats
resp_surf

Response surface model
utils_data

Utilities for data Copy-Pasta
select_pred

Selects a best subset of predictor variables.
utils_data_org

Utilities for data organization
waas

Weighted Average of Absolute Scores
print.path_coeff

Print an object of class path_coeff
print.performs_ammi

Print an object of class performs_ammi
waas_means

Weighted Average of Absolute Scores
solve_svd

Pseudoinverse of a square matrix
reorder_cormat

Reorder a correlation matrix
resca

Rescale a variable to have specified minimum and maximum values
utils_mat

Utilities for handling with matrices
utils_na_zero

Utilities for handling with NA and zero values
tukey_hsd

Tukey Honest Significant Differences
utils_as

Encode variables to a specific format
utils_rows_cols

Utilities for handling with rows and columns
utils_sets

Utilities for set operations for many sets
Thennarasu

Thennarasu's stability statistics