Learn R Programming

statgenGxE

statgenGxE is an R package providing functions for Genotype by Environment (GxE) analysis for data of plant breeding experiments.

The following types of analysis can be done using statgenGxE:

  • Mixed model analysis of GxE table of means
  • Finlay-Wilkinson Analysis
  • AMMI Analysis
  • GGE Analysis
  • Identifying mega environments
  • Stability measures
  • Modeling of heterogeneity of genetic variances and correlations

statgenGxE has extensive options for summarizing and visualizing the results of the analyses. For a full overview of all options it is best to read the vignette

Installation

  • Install from CRAN:
install.packages("statgenGxE")
  • Install latest development version from GitHub (requires remotes package):
remotes::install_github("Biometris/statgenGxE", ref = "develop", dependencies = TRUE)

Copy Link

Version

Install

install.packages('statgenGxE')

Monthly Downloads

359

Version

1.0.10

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Bart-Jan van Rossum

Last Published

June 24th, 2025

Functions in statgenGxE (1.0.10)

plot.stability

Plot function for class stability
multMissing

Estimate missing values in multivariate data
plot.AMMI

Plot function for class AMMI
report.stability

Report method for class stability
report.varCov

Report method for class varCov
predict.varComp

Predictions based on a fitted varComp model.
reexports

Objects exported from other packages
statgenGxE-package

statgenGxE: Genotype by Environment (GxE) Analysis
varCov

S3 class varCov
vc

Extract variance components
report.AMMI

Report method for class AMMI
plot.megaEnv

Plot function for class megaEnv
plot.FW

Plot function for class FW
report.FW

Report method for class FW
residuals.varCov

Extract residuals.
plot.varComp

Plot function for class varComp
residuals.AMMI

Extract residuals.
predict.megaEnv

Compute BLUPS based on a set of mega environments
plot.varCov

Plot function for class varCov
stability

S3 class stability
gxeFw

Finlay-Wilkinson analysis
residuals.FW

Extract residuals.
fitted.AMMI

Extract fitted values.
correlations

Compute different types of correlations.
CRDR

Calculate the correlated response to selection
createVarComp

S3 class varComp
fitted.FW

Extract fitted values.
diagnostics

Get diagnostics for an object of class varComp
fitted.varCov

Extract fitted values.
herit

Calculate heritability
gxeMegaEnv

Form mega environments based on fitted values from an AMMI model
gxeVarComp

Mixed model analysis of GxE table of means
gxeAmmi

AMMI analysis
gxeStability

Calculate stability coefficients for genotype-by-environment data
gxeGGE

GGE analysis
dropsPheno

DROPS data set
FW

S3 class FW
megaEnv

S3 class megaEnv
TDMaize

Field data for a maize experiment in Tlaltizapan, Mexico
AMMI

S3 class AMMI
gxeVarCov

Selects the best variance-covariance model for a set of trials