plot.fai_blup {metan} | R Documentation |
Multi-trait selection index
Description
Plot the multitrait index based on factor analysis and ideotype-design proposed by Rocha et al. (2018).
Usage
## S3 method for class 'fai_blup'
plot(
x,
ideotype = 1,
SI = 15,
radar = TRUE,
arrange.label = FALSE,
size.point = 2.5,
size.line = 0.7,
size.text = 10,
col.sel = "red",
col.nonsel = "black",
...
)
Arguments
x |
An object of class |
ideotype |
The ideotype to be plotted. Default is 1. |
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 |
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. |
col.sel |
The colour for selected genotypes. Defaults to |
col.nonsel |
The colour for nonselected genotypes. Defaults to |
... |
Other arguments to be passed from ggplot2::theme(). |
Value
An object of class gg, ggplot
.
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
References
Rocha, J.R.A.S.C.R, J.C. Machado, and P.C.S. Carneiro. 2018. Multitrait index based on factor analysis and ideotype-design: proposal and application on elephant grass breeding for bioenergy. GCB Bioenergy 10:52-60. doi:10.1111/gcbb.12443
Examples
library(metan)
mod <- waasb(data_ge,
env = ENV,
gen = GEN,
rep = REP,
resp = c(GY, HM))
FAI <- fai_blup(mod,
DI = c('max, max'),
UI = c('min, min'))
plot(FAI)