realized_heter: Compute realized heterozygosity.

Description Usage Arguments Value Examples

View source: R/Meiosis.R View source: R/RcppExports.R

Description

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

Usage

1
realized_heter(individual, check = FALSE)

Arguments

individual

List. Individual in segmental representation.

check

Logical. Should checks be performed?

Value

double. Realized heterozygosity.

Examples

1
2
3
4
5
## Not run: 
data(exdat, package = 'Meiosis')
Meiosis::realized_heter(Meiosis::cross_xo(exdat$founder, exdat$founder, exdat$xoparam))

## End(Not run)

Meiosis documentation built on May 29, 2017, 3:46 p.m.