plot.megaEnv {statgenGxE} | R Documentation |
Plot function for class megaEnv
Description
Function for creating scatter plots of predicted values in computed mega environments.
Usage
## S3 method for class 'megaEnv'
plot(
x,
...,
engine = c("lme4", "asreml"),
colorGenoBy = NULL,
title = paste("Scatterplot of mega environments for", x$trait),
output = TRUE
)
Arguments
x |
An object of class megaEnv. |
... |
Further arguments to be passed on to underlying plot functions. |
engine |
A character string specifying the engine used for making the predictions on which the plots are based. |
colorGenoBy |
A character string indicating a column in |
title |
A character string used a title for the plot. |
output |
Should the plot be output to the current device? If
|
See Also
Other mega environments:
gxeMegaEnv()
,
predict.megaEnv()
Examples
## Compute mega environments for TDMaize.
geMegaEnv <- gxeMegaEnv(TD = TDMaize, trait = "yld")
## Create a scatter plot of predicted values.
plot(geMegaEnv)
[Package statgenGxE version 1.0.8 Index]