Function to plot genetic/breeding values for multiple generation/cohorts
bv.development(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
confidence = c(1, 2, 3),
development = c(1, 2, 3),
quantile = 0.95,
bvrow = "all",
ignore.zero = TRUE,
json = FALSE,
display.time.point = FALSE,
display.creating.type = FALSE,
display.cohort.name = FALSE,
display.sex = FALSE,
equal.spacing = FALSE,
time_reorder = FALSE,
display.line = TRUE,
ylim = NULL,
fix_mfrow = FALSE
)
population list
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Draw confidence intervals for (1- bv, 2- bve, 3- pheno; default: c(1,2,3))
Include development of (1- bv, 2- bve, 3- pheno; default: c(1,2,3))
Quantile of the confidence interval to draw (default: 0.05)
Which traits to display (for multiple traits separate plots (par(mfrow)))
Cohorts with only 0 individuals are not displayed (default: TRUE)
If TRUE extract which cohorts to plot according to the json-file used in json.simulation
Set TRUE to use time point of generated to sort groups
Set TRUE to show Breedingtype used in generation (web-interface)
Set TRUE to display the name of the cohort in the x-axis
Set TRUE to display the creating.type (Shape of Points - web-based-application)
Equal distance between groups (independent of time.point)
Set TRUE to order cohorts according to the time point of generation
Set FALSE to not display the line connecting cohorts
Set this to fix the y-axis of the plot
Set TRUE to not use mfrow - use for custom plots
Genomic values of selected gen/database/cohort
# NOT RUN {
data(ex_pop)
bv.development(ex_pop, gen=1:5)
# }
Run the code above in your browser using DataLab