powered by
Function to compute empirical kinship for a set of individuals (not all pairs of individuals are evaluated)
kinship.emp.fast( animals = NULL, population = NULL, gen = NULL, database = NULL, cohorts = NULL, sym = FALSE, ibd.obs = 50, hbd.obs = 10 )
List of animals to compute kinship for
Population list
Quick-insert for database (vector of all generations to export)
Groups of individuals to consider for the export
Quick-insert for database (vector of names of cohorts to export)
If True derive matrix entries below principle-diagonal
Number of Individual pairs to sample for IBD estimation
Number of Individuals to sample for HBD estimation
Empirical kinship matrix (IBD-based since Founders) per gen/database/cohort
# NOT RUN { data(ex_pop) kinship.emp.fast(population=ex_pop,gen=2) # }
Run the code above in your browser using DataLab