map.function.rec {BayesQTLBIC} | R Documentation |
Map functions to convert between recombination and physical map distances for the Haldane and Kosambi mapping functions
map.function.rec(d,method="haldane") map.function.dist(r,method="haldane")
d |
map distance in Morgans |
r |
recombination distance |
method |
choice of mapping function |
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.
the value of r
or d
R.D. Ball rod.ball@AT@scionresearch.com
Liu, B. 1998: Statistical Genomics: Linkage, Mapping and QTL Analysis. Boca Raton, FL: CRC Press LLC.
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")