kinship.emp.fast: Empirical kinship

Description Usage Arguments Value Examples

View source: R/kinship.emp.R

Description

Function to compute empirical kinship for a set of individuals)

Usage

1
2
3
kinship.emp.fast(animals = NULL, population = NULL, gen = NULL,
  database = NULL, cohorts = NULL, sym = FALSE, ibd.obs = 50,
  hbd.obs = 10)

Arguments

animals

List of animals to compute kinship for

population

Population list

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)

sym

If True derive matrix entries below principle-diagonal

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

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

MoBPS documentation built on March 31, 2020, 5:22 p.m.