Learn R Programming

hsrecombi (version 1.0.1)

felsenstein: Felsenstein's genetic map function

Description

Calculation of genetic distances from recombination rates given an interference parameter

Usage

felsenstein(K, x, inverse = F)

Value

vector of genetic positions in Morgan units

Arguments

K

parameter (numeric) corresponding to the intensity of crossover interference

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

Felsenstein, J. (1979) A mathematically tractable family of genetic mapping functions with different amounts of interference. Genetics 91:769-775.

Examples

Run this code
  felsenstein(0.1, seq(0, 0.5, 0.01))

Run the code above in your browser using DataLab