Description Usage Arguments Details Examples
This function will make linear and winner plots from a bilinear() object like Figure 2 and Figure 3 of Gauch & Zobel (1997).
1 2 |
bilinearObject |
object from output of a call to biliner() |
plots |
character vector of maximum length 2 containing the names of the plots to be produced. Possible arguments are "linear" and "winner". If both are specified in a single call, both plots will be plotted to the same device |
color |
character vector of length 2 containing colors for the plots. The first specifies the genotype color and the second the environment color. If only one color is specified, only genotypes will be colored |
PC |
integer. Principal component to plot. The default is 1 |
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 |
... |
Additional arguments. |
Many arguments can be passed on to plot() through (...)
1 2 3 4 5 6 | 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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.