kinship.emp.fast: Approximate empirical kinship

View source: R/kinship.emp.R

kinship.emp.fastR Documentation

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
)

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

Value

Empirical kinship matrix (IBD-based since Founders) per gen/database/cohort

Examples

data(ex_pop)
kinship.emp.fast(population=ex_pop,gen=2)

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.