cumhbd {RZooRoH}R 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.


[Package RZooRoH version 0.3.2.1 Index]