cumhbd: Computes the realized inbreeding coefficient

View source: R/zooroh_accessor.R

cumhbdR Documentation

Computes the realized inbreeding coefficient

Description

Computes the realized inbreeding coefficient with respect to a base population by summing the autozygosity from all HBD class with a rate lower or equal to the threshold T. This amounts to set the base population approximately 0.5*T generations ago. HBD classes with a higher rate are then no longer considered as autozygous.

Usage

cumhbd(zres, T = NULL)

Arguments

zres

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

T

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

Value

An array with the compute inbreeding coefficients for all the individuals in the analysis.


RZooRoH documentation built on Oct. 27, 2023, 9:07 a.m.