felsenstein: Felsenstein's genetic map function

View source: R/functions.R

felsensteinR Documentation

Felsenstein's genetic map function

Description

Calculation of genetic distances from recombination rates given an interference parameter

Usage

felsenstein(K, x, inverse = F)

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)

Value

vector of genetic positions in Morgan units

References

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

Examples

  felsenstein(0.1, seq(0, 0.5, 0.01))

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