Description Usage Arguments Details Examples
This function makes biplots from a bilinear() object, and is a wrapper for decorateBBplot.
1 2 3 |
bilinearObject |
object from output of a call to biliner() |
f |
numeric. Scale parameter in (0, 1) for exponent on eigenvalues for weighting the genotype scores. Environment scores are weighted 1 - f. Default is 0.5 |
nPC |
integer. Number of principal components to graph in the model. Default is 2 for a 2D biplot and 3 for a 3D biplot. If the number of significant PCs is less than the default and no argument is provided to 'nPC', the mean will be printed on the x axis, and the 1st (or 1st and 2nd for 3D biplot) PC will be printed on the remaining axis(es) |
plottitle |
character. Title for biplot. |
biplot3D |
logical. Should a 3dimensional |
outer.box |
logical. Shoudl a box be printed around the plot. default is TRUE. |
internal.axes |
logical. For 3D biplots(?) default is FALSE |
scaled |
logical. default is TRUE |
decorateGGE |
logical. should a GGE plot be decorate to dilineate megaenvironments to determine genotype winners? |
Gnames |
character vector of genotype names to be included on plot near respective points |
put some details here
1 2 3 4 5 6 7 8 9 10 | data(soyMeanMat)
AMMIfit <- bilinear(x = soyMeanMat)
AMMIplot(AMMIfit)
AMMIplot(AMMIfit, "winner")
AMMIplot(AMMIfit, "winner", color = "hotpink")
AMMIplot(AMMIfit, c("linear", "winner"), color = c("hotpink", "darkorchid"))
data(ontario)
GGEfit <- bilinear(x = ontario, model = "GGE")
BBplot(GGEfit, decorateGGE = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.