bv.development.box {MoBPS}R Documentation

Development of genetic/breeding value using a boxplot

Description

Function to plot genetic/breeding values for multiple generation/cohorts using box plots

Usage

bv.development.box(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  bvrow = "all",
  json = FALSE,
  display = "bv",
  display.selection = FALSE,
  display.reproduction = FALSE,
  ylim = NULL,
  fix_mfrow = FALSE
)

Arguments

population

population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

bvrow

Which traits to display (for multiple traits separte plots (par(mfrow)))

json

If TRUE extract which cohorts to plot according to the json-file used in json.simulation

display

Choose between "bv", "pheno", "bve" (default: "bv")

display.selection

Display lines between generated cohorts via selection (webinterface)

display.reproduction

Display lines between generated cohorts via reproduction (webinterface)

ylim

Set this to fix the y-axis of the plot

fix_mfrow

Set TRUE to not use mfrow - use for custom plots

Value

Genomic values of selected gen/database/cohort

Examples

data(ex_pop)
bv.development.box(ex_pop, gen=1:5)

[Package MoBPS version 1.6.64 Index]