cumkin: Computes the realized kinship

View source: R/zookin_accessor.R

cumkinR Documentation

Computes the realized kinship

Description

Computes the realized kinship with respect to a base population by summing the relatedness from all classes with a rate lower or equal to the threshold T. This amounts to set the base population approximately 0.5*T generations ago. Classes with a higher rate are then no longer considered as IBD.

Usage

cumkin(kres, T = NULL)

Arguments

kres

The name of the kres object created by the zoorun function.

T

The value chosen to define the base population. When T is not provided, all classes are considered to estimate the kinship.

Value

An array with the computed kinship for all the pairs of individuals in the analysis.


RZooRoH documentation built on June 8, 2025, 9:32 p.m.