powered by
Function to plot genetic/breeding values for multiple generation/cohorts
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 )
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)
If TRUE extract which cohorts to plot according to the json-file used in json.simulation
Number of Individual pairs to sample for IBD estimation
Number of Individuals to sample for HBD estimation
Set TRUE to display the name of the cohort in the x-axis
Set TRUE to use time point of generated to sort groups
Equal distance between groups (independent of time.point)
Set TRUE to order cohorts according to the time point of generation
Set to TRUE to also display HBD in plot
Estimated of avg. kinship/inbreeding based on IBD/HBD
# NOT RUN { data(ex_pop) kinship.development(ex_pop,gen=1:5) # }
Run the code above in your browser using DataLab