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

782

Version

1.0.11

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Bart-Jan van Rossum

Last Published

November 12th, 2025

Functions in statgenGxE (1.0.11)

fitted.varCov

Extract fitted values.
herit

Calculate heritability
gxeVarComp

Mixed model analysis of GxE table of means
gxeMegaEnv

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

AMMI analysis
gxeFw

Finlay-Wilkinson analysis
gxeStability

Calculate stability coefficients for genotype-by-environment data
megaEnv

S3 class megaEnv
gxeVarCov

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

GGE analysis
multMissing

Estimate missing values in multivariate data
plot.varCov

Plot function for class varCov
plot.FW

Plot function for class FW
reexports

Objects exported from other packages
predict.varComp

Predictions based on a fitted varComp model.
plot.varComp

Plot function for class varComp
plot.stability

Plot function for class stability
plot.megaEnv

Plot function for class megaEnv
report.AMMI

Report method for class AMMI
report.FW

Report method for class FW
residuals.AMMI

Extract residuals.
residuals.FW

Extract residuals.
statgenGxE-package

statgenGxE: Genotype by Environment (GxE) Analysis
varCov

S3 class varCov
predict.megaEnv

Compute BLUPS based on a set of mega environments
stability

S3 class stability
residuals.varCov

Extract residuals.
report.stability

Report method for class stability
report.varCov

Report method for class varCov
plot.AMMI

Plot function for class AMMI
vc

Extract variance components
fitted.FW

Extract fitted values.
diagnostics

Get diagnostics for an object of class varComp
correlations

Compute different types of correlations.
CRDR

Calculate the correlated response to selection
dropsPheno

DROPS data set
fitted.AMMI

Extract fitted values.
TDMaize

Field data for a maize experiment in Tlaltizapan, Mexico
createVarComp

S3 class varComp
FW

S3 class FW
AMMI

S3 class AMMI