plot.mgidi | R Documentation |
Makes a radar plot showing the multi-trait genotype-ideotype distance index
## S3 method for class 'mgidi' plot( x, SI = 15, radar = TRUE, type = "index", position = "fill", rotate = FALSE, genotypes = "selected", n.dodge = 1, check.overlap = FALSE, x.lab = NULL, y.lab = NULL, title = NULL, arrange.label = FALSE, size.point = 2.5, size.line = 0.7, size.text = 10, width.bar = 0.75, col.sel = "red", col.nonsel = "gray", legend.position = "bottom", ... )
x |
An object of class |
SI |
An integer (0-100). The selection intensity in percentage of the total number of genotypes. |
radar |
Logical argument. If true (default) a radar plot is generated
after using |
type |
The type of the plot. Defaults to |
position |
The position adjustment when |
rotate |
Logical argument. If |
genotypes |
When |
n.dodge |
The number of rows that should be used to render the x labels. This is useful for displaying labels that would otherwise overlap. |
check.overlap |
Silently remove overlapping labels, (recursively) prioritizing the first, last, and middle labels. |
x.lab, y.lab |
The labels for the axes x and y, respectively. x label is set to null when a radar plot is produced. |
title |
The plot title when |
arrange.label |
Logical argument. If |
size.point |
The size of the point in graphic. Defaults to 2.5. |
size.line |
The size of the line in graphic. Defaults to 0.7. |
size.text |
The size for the text in the plot. Defaults to 10. |
width.bar |
The width of the bars if |
col.sel |
The colour for selected genotypes. Defaults to |
col.nonsel |
The colour for nonselected genotypes. Defaults to |
legend.position |
The position of the legend. |
... |
Other arguments to be passed from |
An object of class gg, ggplot
.
Tiago Olivoto tiagoolivoto@gmail.com
library(metan) model <- gamem(data_g, gen = GEN, rep = REP, resp = c(KW, NR, NKE, NKR)) mgidi_index <- mgidi(model) plot(mgidi_index)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.