Function for creating scatter plots of the square roots of the computed stability measures against the means.
# S3 method for stability
plot(
x,
...,
colorGenoBy = NULL,
colGeno = NULL,
title = paste("Stability coefficients for", x$trait),
output = TRUE
)
An object of class stability.
Not used.
A character string indicating a column in the TD
used as input for the stability analysis by which the genotypes should be
colored. If NULL
all genotypes will be colored black.
A character vector with plot colors for the genotypes. A
single color when colorGenoBy = NULL
, a vector of colors otherwise.
A character string used a title for the plot.
Should the plot be output to the current device? If
FALSE
only a list of ggplot objects is invisibly returned.
A list of ggplot object is invisibly returned.
Other stability:
gxeStability()
,
report.stability()
# NOT RUN {
## Compute three stability measures for TDMaize.
geStab <- gxeStability(TD = TDMaize, trait = "yld")
## Create scatter plots of the computed stability measures against the means.
plot(geStab)
# }
Run the code above in your browser using DataLab