kinship.development: Devolopment of genetic/breeding value

Description Usage Arguments Value Examples

View source: R/kinship.development.R

Description

Function to plot genetic/breeding values for multiple generation/cohorts

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
kinship.development(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  json = FALSE,
  ibd.obs = 50,
  hbd.obs = 10,
  display.cohort.name = FALSE,
  display.time.point = FALSE,
  equal.spacing = FALSE,
  time_reorder = FALSE,
  display.hbd = 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)

json

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

ibd.obs

Number of Individual pairs to sample for IBD estimation

hbd.obs

Number of Individuals to sample for HBD estimation

display.cohort.name

Set TRUE to display the name of the cohort in the x-axis

display.time.point

Set TRUE to use time point of generated to sort groups

equal.spacing

Equal distance between groups (independent of time.point)

time_reorder

Set TRUE to order cohorts according to the time point of generation

display.hbd

Set to TRUE to also display HBD in plot

Value

Estimated of avg. kinship/inbreeding based on IBD/HBD

Examples

1
2

MoBPS documentation built on Nov. 9, 2021, 5:08 p.m.