kinship.emp.fast.between: Approximate empirical kinship

View source: R/kinship.emp.R

kinship.emp.fast.betweenR 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.between(
  population = NULL,
  gen1 = NULL,
  database1 = NULL,
  cohorts1 = NULL,
  gen2 = NULL,
  database2 = NULL,
  cohorts2 = NULL,
  ibd.obs = 50
)

Arguments

population

Population list

gen1

Quick-insert for database1 (vector of all generations to export)

database1

First Groups of individuals to consider for the export

cohorts1

Quick-insert for database1 (vector of names of cohorts to export)

gen2

Quick-insert for database2 (vector of all generations to export)

database2

Second Groups of individuals to consider for the export

cohorts2

Quick-insert for database2 (vector of names of cohorts to export)

ibd.obs

Number of Individual pairs to sample for IBD 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.