Learn R Programming

RZooRoH (version 0.3.2.1)

Partitioning of Individual Autozygosity into Multiple Homozygous-by-Descent Classes

Description

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. These 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, mixing proportions), to estimate global and local autozygosity probabilities and to identify HBD segments with the Viterbi decoding. The method is fully described in Druet and Gautier (2017) .

Copy Link

Version

Install

install.packages('RZooRoH')

Monthly Downloads

281

Version

0.3.2.1

License

GPL-3

Maintainer

Tom Druet

Last Published

October 27th, 2023

Functions in RZooRoH (0.3.2.1)

zooplot_partitioning

Plot the partitioning of the genome in different HBD classes for each individual
zoomodel

Define the model for the RZooRoH
zooplot_hbdseg

Plot HBD segments identified with the ZooROH model
zooplot_individuals

Plot individual curves with proportion of the genome in each HBD class or cumulated proportion in HBD classes with rates smaller than a threshold.
zooplot_prophbd

Plot proportion of the genome associated with different HBD classes
realized

Extracts the realized autozygosity from the zres object
soay_mix10r

The result of an analysis on 110 sheeps from the Soay population.
zoodata

Read the genotype data file
zoosimd

Realizes a simulation using a zooroh data set and a zooroh model
typsfrq

A file with marker allele frequencies for the cattle population.
zoorun

Run the ZooRoH model
BBB_NMP_GP_subset

Example for "gp" format specification
cumhbd

Computes the realized inbreeding coefficient
probhbd

Extracts the HBD probabilities from the zres object
zoodoris

Returns number of HBD segments (or genome proportion) per size bins for DoRIS.
rohbd

Extracts the HBD segments from the zres object
BBB_PE_gt_subset

Example for "gt" format specification
rara_mix10r

The result of an analysis on 22 sheeps from Rasa Aragonesa population.
genosim

Example from a small simulated data set
genoex

Subset of a dataset with genotypes for 20 sheeps
wilt_mix10r

The result of an analysis on 23 sheeps from Wiltshire population.
BBB_NMP_pl_subset

Example for "pl" format specification
BBB_samples

A file with names or IDs for ten samples.
BBB_NMP_ad_subset

Example for "ad" format specification
typs

Subset of a dataset with genotypes for 6 individuals from a cattle population.
RZooRoH-package

RZooRoH: A package for estimating global and local individual autozygosity.