Learn R Programming

Meiosis (version 1.0.2)

realized_heter: Compute realized heterozygosity.

Description

Compute the realized heterozygosity of an individual, i.e., the proportion of the genome where founder alleles match.

Usage

realized_heter(individual, check = FALSE)

Arguments

individual
List. Individual in segmental representation.
check
Logical. Should checks be performed?

Value

double. Realized heterozygosity.

Examples

Run this code
## Not run: ------------------------------------
# data(exdat, package = 'Meiosis')
# Meiosis::realized_heter(Meiosis::cross_xo(exdat$founder, exdat$founder, exdat$xoparam))
## ---------------------------------------------

Run the code above in your browser using DataLab