dmap: Calculates pairwise map distances from the recombination fraction.
Description
Calculates pairwise map distances from the recombination fraction.
Usage
dmap(rf, mapfn = "haldane")
Value
a symmetric matrix of pairwise map distances in the same format as the recombination matrix supplied.
Arguments
rf
A symmetric matrix of pairwise recombination fractions.
mapfn
A character string specifying the map function to be
used in calculated the distance 'haldane', 'kosambi', 'none'.
Details
The default is the 'haldane' map function \(0.5\ln(1-2rf)\), 'kosambi' returns
\(0.25\ln((1+2rf)/(1-2rf))\) and 'none' returns \(rf\), the recombination fraction.