plot.stability {statgenGxE} | R Documentation |
Plot function for class stability
Description
Function for creating scatter plots of the square roots of the computed stability measures against the means.
Usage
## S3 method for class 'stability'
plot(
x,
...,
colorGenoBy = NULL,
colGeno = NULL,
title = paste("Stability coefficients for", x$trait),
output = TRUE
)
Arguments
x |
An object of class stability. |
... |
Not used. |
colorGenoBy |
A character string indicating a column in the |
colGeno |
A character vector with plot colors for the genotypes. A
single color when |
title |
A character string used a title for the plot. |
output |
Should the plot be output to the current device? If
|
Value
A list of ggplot object is invisibly returned.
See Also
Other stability:
gxeStability()
,
report.stability()
Examples
## 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)
[Package statgenGxE version 1.0.8 Index]