haldane: Haldane's genetic map function

View source: R/functions.R

haldaneR Documentation

Haldane's genetic map function

Description

Calculation of genetic distances from recombination rates

Usage

haldane(x, inverse = F)

Arguments

x

vector of recombination rates

inverse

logical, if FALSE recombination rate is mapped to Morgan unit, if TRUE Morgan unit is mapped to recombination rate (default is FALSE)

Value

vector of genetic positions in Morgan units

References

Haldane JBS (1919) The combination of linkage values, and the calculation of distances between the loci of linked factors. J Genet 8: 299-309.

Examples

  haldane(seq(0, 0.5, 0.01))

hsrecombi documentation built on June 7, 2023, 6:02 p.m.