Learn R Programming

RZooRoH (version 0.4.1)

cumkin: 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)

Value

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

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.