Description Usage Arguments Details Value Examples
View source: R/decorateBBplot.R
This function is called by BBplot for drawing GGE biplot with environment winner designations. This function is not intended to be used by the user directly
1 2 | decorateBBplot(Gscores, Escores, Eeffect, axes.names, decorate = TRUE,
scaledPlot = TRUE, Gnames)
|
Gscores |
matrix of genotype scores |
Escores |
matrix of environment scores |
Eeffect |
numeric vector environment effects(?) |
axes.names |
character vector of axis names |
decorate |
logical, indicates if the environment winenr panels should be colored |
scaledPlot |
logical, indicates if genotypes scores and escores shoudl be scaled to one another (how does f effect this?) |
Gnames |
names of genotypes to be printed, default is outer edge |
Uses chull() to compute convex hull of biplot points, draws lines to each of them sucessively, and then draws lines from the origin perpendicular to each segment. Colors are added to sectors containing genotypes if decorate = TRUE
list sectors
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.