Learn R Programming

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

metan (version 1.11.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,544

Version

1.11.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Olivoto

Last Published

December 12th, 2020

Functions in metan (1.11.0)

Schmildt

Schmildt's genotypic confidence index
barplots

Fast way to create bar plots
gafem

Genotype analysis by fixed-effect models
correlated_vars

Generate correlated variables
corr_stab_ind

Correlation between stability indexes
as.lpcor

Coerce to an object of class lpcor
find_outliers

Find possible outliers in a dataset
get_covmat

Generate a covariance matrix
get_dist

Get a distance matrix
pairs_mantel

Mantel test for a set of correlation matrices
mahala

Mahalanobis Distance
non_collinear_vars

Select a set of predictors with minimal multicollinearity
lpcor

Linear and Partial Correlation Coefficients
acv

Adjusted Coefficient of Variation
plot.corr_coef

Create a correlation heat map
plot.correlated_vars

Plot an object of class correlated_vars
anova_ind

Within-environment analysis of variance
corr_plot

Visualization of a correlation matrix
plot_eigen

Plot the eigenvalues
print.Fox

Print an object of class Fox
plot.waasb

Several types of residual plots
plot.waas

Several types of residual plots
print.Annicchiarico

Print an object of class Annicchiarico
plot_ci

Plot the confidence interval for correlation
print.ecovalence

Print an object of class ecovalence
corr_ss

Sample size planning for a desired Pearson's correlation confidence interval
print.env_dissimilarity

Print an object of class env_dissimilarity
resca

Rescale a variable to have specified minimum and maximum values
data_ge

Multi-environment trial of oat
residual_plots

Several types of residual plots
data_ge2

Multi-environment trial of maize
themes

Personalized theme for ggplot2-based graphics
wsmp

Weighting between stability and mean performance
waasb

Weighted Average of Absolute Scores
tidyeval

Tidy eval helpers
ge_cluster

Cluster genotypes or environments
ge_reg

Eberhart and Russell's regression model
ge_polar

Power Law Residuals as yield stability index
ge_details

Details for genotype-environment trials
meansGxE

Data for examples
metan-package

Multi-Environment Trial Analysis
Fox

Fox's stability function
covcor_design

Variance-covariance matrices for designed experiments
Huehn

Huehn's stability statistics
cv_ammi

Cross-validation procedure
%>%

Pipe operator
env_stratification

Environment stratification
doo

Alternative to dplyr::do for doing anything
desc_stat

Descriptive statistics
fai_blup

Multi-trait selection index
Smith_Hazel

Smith-Hazel index
Thennarasu

Thennarasu's stability statistics
plot.gafem

Several types of residual plots
plot.anova_joint

Several types of residual plots
anova_joint

Joint analysis of variance
ge_means

Genotype-environment means
ge_plot

Graphical analysis of genotype-vs-environment interaction
plot.gamem

Several types of residual plots
plot.sh

Plot the Smith-Hazel index
plot.resp_surf

Plot the response surface model
arrange_ggplot

Arrange separate ggplots into the same graphic
predict.gamem

Predict method for gamem fits
print.colindiag

Print an object of class colindiag
predict.gge

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

Print an object of class corr_coef
print.ge_stats

Print an object of class ge_stats
colindiag

Collinearity Diagnostics
get_model_data

Get data from a model easily
gge

Genotype plus genotype-by-environment model
comb_vars

Pairwise combinations of variables
data_alpha

Data from an alpha lattice design
AMMI_indexes

AMMI-based stability indexes
Annicchiarico

Annicchiarico's genotypic confidence index
clustering

Clustering analysis
coincidence_index

Computes the coincidence index of genotype selection
data_g

Single maize trial
mahala_design

Mahalanobis distance from designed experiments
plot.mtsi

Plot the multi-trait stability index
make_long

Two-way table to a 'long' format
plot.performs_ammi

Several types of residual plots
gamem_met

Genotype-environment analysis by mixed-effect models
cv_ammif

Cross-validation procedure
make_mat

Make a two-way table
is.lpcor

Coerce to an object of class lpcor
ge_effects

Genotype-environment effects
plot.can_cor

Plots an object of class can_cor
mantel_test

Mantel test
ge_factanal

Stability analysis and environment stratification
ge_acv

Adjusted Coefficient of Variation as yield stability index
int.effects

Data for examples
print.lpcor

Print the partial correlation coefficients
print.Shukla

Print an object of class Shukla
print.Thennarasu

Print an object ofclass Thennarasu
print.waas

Print an object of class waas
print.waasb

Print an object of class waasb
print.env_stratification

Print the env_stratification model
print.waas_means

Print an object of class waas_means
print.gamem

Print an object of class gamem
select_pred

Selects a best subset of predictor variables.
resp_surf

Response surface model
plot.clustering

Plot an object of class clustering
cv_blup

Cross-validation procedure
ge_winners

Genotype-environment winners
Shukla

Shukla's stability variance parameter
can_corr

Canonical correlation analysis
Select_helper

Select helper
bind_cv

Bind cross-validation objects
corr_ci

Confidence interval for correlation coefficient
get_corvars

Generate normal, correlated variables
impute_missing_val

Missing value imputation
inspect

Check for common errors in multi-environment trial data
corr_coef

Computes Pearson's correlation matrix with p-values
ecovalence

Stability analysis based on Wricke's model
plot.ge_cluster

Plot an object of class ge_cluster
plot.ge_effects

Plot an object of class ge_effects
rbind_fill

Combines data.frames by row filling missing values
utils_rows_cols

Utilities for handling with rows and columns
superiority

Lin e Binns' superiority index
stars_pval

Generate significance stars from p-values
utils_sets

Utilities for set operations for many sets
utils_class

Utilities for handling with classes
utils_as

Encode variables to a specific format
plot_blup

Plot the BLUPs for genotypes
print.AMMI_indexes

Print an object of class AMMI_indexes
plot.wsmp

Plot heat maps with genotype ranking
predict.waasb

Predict method for waasb fits
is_balanced_trial

Check if a data set is balanced
gai

Geometric adaptability index
env_dissimilarity

Dissimilarity between environments
gamem

Genotype analysis by mixed-effect models
lineplots

Fast way to create line plots
mgidi

Genotype-Ideotype Distance Index
print.can_cor

Print an object of class can_cor
gtb

Genotype by trait biplot
ge_simula

Simulate genotype-environment data
ge_stats

Statistics for genotype-vs-environment interaction
print.coincidence

Print an object of class coincidence
path_coeff

Path coefficients with minimal multicollinearity
performs_ammi

Additive Main effects and Multiplicative Interaction
gytb

Genotype by yield*trait biplot
plot.cvalidation

Plot the RMSPD of a cross-validation procedure
print.sh

Print an object of class sh
plot.env_dissimilarity

Plot an object of class env_dissimilarity
plot.ge_reg

Plot an object of class ge_reg
plot.ge_factanal

Plot the ge_factanal model
utils_data

Utilities for data Copy-Pasta
utils_stats

Useful functions for computing descriptive statistics
utils_mat

Utilities for handling with matrices
venn_plot

Draw Venn diagrams
print.superiority

Print an object ofclass superiority
plot.fai_blup

Multi-trait selection index
plot.env_stratification

Plot the env_stratification model
mtsi

Multi-trait stability index
predict.performs_ammi

Predict the means of a performs_ammi object
plot.gge

Create GGE, GT or GYT biplots
plot.mgidi

Plot the multi-trait genotype-ideotype distance index
print.anova_ind

Print an object of class anova_ind
predict.waas

Predict the means of a waas object
print.anova_joint

Print an object of class anova_joint
print.Schmildt

Print an object of class Schmildt
plot_scores

Plot scores in different graphical interpretations
plot_waasby

Plot WAASBY values for genotype ranking
print.Huehn

Print an object ofclass Huehn
print.ge_factanal

Print an object of class ge_factanal
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.ge_reg

Print an object of class ge_reg
reexports

Objects exported from other packages
reorder_cormat

Reorder a correlation matrix
print.mtsi

Print an object of class mtsi
utils_na_zero

Utilities for handling with NA and zero values
utils_num_str

Utilities for handling with numbers and strings
print.performs_ammi

Print an object of class performs_ammi
tukey_hsd

Tukey Honest Significant Differences
solve_svd

Pseudoinverse of a square matrix
split_factors

Split a data frame by factors
print.path_coeff

Print an object of class path_coeff
transpose_df

Transpose a data frame
waas

Weighted Average of Absolute Scores
waas_means

Weighted Average of Absolute Scores
Resende_indexes

Stability indexes based on a mixed-effect model