map.function.rec {BayesQTLBIC}R Documentation

Map functions

Description

Map functions to convert between recombination and physical map distances for the Haldane and Kosambi mapping functions

Usage

map.function.rec(d,method="haldane")
map.function.dist(r,method="haldane")

Arguments

d map distance in Morgans
r recombination distance
method choice of mapping function

Details

The conversion between physical distance d (Morgans) and recombination probabilities is given by:

r = 1/2*(1-exp(-2d))

d = -1/2*log(1-2r)

for the Haldane mapping function, and by:

r = 1/2*(1- exp(-4d))/(1+exp(-4d))

d = 1/4*log((1+2*r)/(1-2*r))

for the Kosambi mapping function.

Value

the value of r or d

Author(s)

R.D. Ball rod.ball@AT@scionresearch.com

References

Liu, B. 1998: Statistical Genomics: Linkage, Mapping and QTL Analysis. Boca Raton, FL: CRC Press LLC.

Examples

 map.function.rec(d=c(0,0.01,0.1,0.2,1,5),method="haldane")
 map.function.rec(d=c(0.01,0.1,0.2,1,5),method="kosambi")
 map.function.dist(r=c(0,0.01,0.1,0.2,0.49,0.499,0.5),method="haldane")
 map.function.dist(r=c(0,0.01,0.1,0.2,0.49,0.499,0.5),method="kosambi")

[Package BayesQTLBIC version 1.0-0 Index]