powered by
Function for creating scatter plots of predicted values in computed mega environments.
# S3 method for megaEnv plot( x, ..., engine = c("lme4", "asreml"), colorGenoBy = NULL, title = paste("Scatterplot of mega environments for", x$trait), output = TRUE )
An object of class megaEnv.
Further arguments to be passed on to underlying plot functions.
A character string specifying the engine used for making the predictions on which the plots are based.
A character string indicating a column in TD by which the genotypes in the scatter plots are colored. If NULL all genotypes are displayed in black.
TD
NULL
A character string used a title for the plot.
Should the plot be output to the current device? If FALSE only a ggtable object is invisibly returned.
FALSE
Other mega environments: gxeMegaEnv(), predict.megaEnv()
gxeMegaEnv()
predict.megaEnv()
## Compute mega environments for TDMaize. geMegaEnv <- gxeMegaEnv(TD = TDMaize, trait = "yld") ## Create a scatter plot of predicted values. plot(geMegaEnv)
Run the code above in your browser using DataLab