Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

realized

Extracts the realized autozygosity from the zres object


Description

Extracts the realized autozygosity from the zres object. Extraction is performed for the indicated classes (all by default) and names are added to the columns.

Usage

realized(zres, classNum = NULL)

Arguments

zres

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

classNum

An array with the number of the classes to extract. All classes are extracted by default.

Value

The function returns a data frame with one row per individual and one column per extracted classes. In addition, it gives names to the columns. For a pre-defined model, the names of HBD classes are "R_X" where X is the rate of the corresponding class. For a model with rate estimation, the names of the HBD classes are "HBDclassX" where X is the number of the HBD class. For non-HBD classes, we use "NonHBD".


RZooRoH

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

v0.3.0
GPL-3
Authors
Tom Druet, Naveen Kumar Kadri, Amandine Bertrand and Mathieu Gautier
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.