kinship.emp.fast: Approximate empirical kinship
Description
Function to compute empirical kinship for a set of individuals (not all pairs of individuals are evaluated)
Usage
kinship.emp.fast(
  population = NULL,
  animals = NULL,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  ibd.obs = 200,
  hbd.obs = 50
)
Value
Empirical kinship matrix (IBD-based since Founders) per gen/database/cohort
Arguments
- population
- Population list 
- animals
- List of animals to compute kinship for 
- gen
- Quick-insert for database (vector of all generations to export) 
- database
- Groups of individuals to consider for the export 
- cohorts
- Quick-insert for database (vector of names of cohorts to export) 
- ibd.obs
- Number of Individual pairs to sample for IBD estimation 
- hbd.obs
- Number of Individuals to sample for HBD estimation 
Examples
Run this codedata(ex_pop)
kinship.emp.fast(population=ex_pop,gen=2)
Run the code above in your browser using DataLab