Functions to identify Homozygous-by-Descent (HBD) segments associated with runs of homozygosity (ROH) and to estimate individual autozygosity (or inbreeding coefficient). HBD segments and autozygosity are assigned to multiple HBD classes with a model-based approach relying on a mixture of exponential distributions. The rate of the exponential distribution is distinct for each HBD class and defines the expected length of the HBD segments. This rate is called the "rate of coancestry change". The HBD classes are therefore related to the age of the segments (longer segments and smaller rates for recent autozygosity / recent common ancestor). The functions allow to estimate the parameters of the model (rates of the exponential distributions called also rates of coancestry change; mixing proportions related to the inbreeding rate per layer or generation), to estimate global and local autozygosity probabilities and to identify HBD segments with the Viterbi decoding. Functions also allow to compute identity-by-descent (IBD) between pairs of haplotypes, to estimate kinship between pairs of individuals and to predict inbreeding in the future progeny of a genotyped couple. The current model is fully described in Druet and Gautier (2022) <doi:10.1016/j.tpb.2022.03.001>. The model and its properties were originally presented in Druet and Gautier (2017) <doi:10.1111/mec.14324>. Extension to IBD and kinship analyses is described in Forneris et al. (2025) <doi:10.1111/1755-0998.14068>.
Package details |
|
|---|---|
| Author | Tom Druet [aut, cre], Naveen Kumar Kadri [aut], Natalia Forneris [ctb], Pierre Faux [ctb], Amandine Bertrand [ctb], Mathieu Gautier [aut] |
| Maintainer | Tom Druet <tom.druet@uliege.be> |
| License | GPL-3 |
| Version | 0.4.2 |
| Package repository | View on CRAN |
| Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.