Learn R Programming

hsrecombi (version 1.0.1)

haldane: Haldane's genetic map function

Description

Calculation of genetic distances from recombination rates

Usage

haldane(x, inverse = F)

Value

vector of genetic positions in Morgan units

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)

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

Run this code
  haldane(seq(0, 0.5, 0.01))

Run the code above in your browser using DataLab