dmap: Calculates pairwise map distances from the recombination...

Description Usage Arguments Details Value Examples

Description

Calculates pairwise map distances from the recombination fraction.

Usage

1
dmap(rf, mapfn = "haldane")

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.5ln(1-2rf), 'kosambi' returns 0.25ln((1+2rf)/(1-2rf)) and 'none' returns rf, the recombination fraction.

Value

a symmetric matrix of pairwise map distances in the same format as the recombination matrix supplied.

Examples

1
2
lodrf<-calc.pair.rf.lod(system.file("extdata", "lgV.txt", package="MDSMap"))
mdist=dmap(lodrf$rf,mapfn="haldane")

MDSMap documentation built on May 1, 2019, 6:51 p.m.