mfun: Mapping functions

View source: R/mfun.R

mfunR Documentation

Mapping functions

Description

Transform recobination fractions into map distances using a specified mapping function.

Usage

mfun(rf, fun = "morgan", centiM = FALSE)

Arguments

rf

Vector of recombination fraction values

fun

Character vector giving the name of the mapping function (see details).

centiM

Logical value. If TRUE, the mapping distances returned are in centiMorgans. Otherwise, the mapping distances returned are in Morgans.

Details

Currrently, the mapping implemented are:

Morgan mapping function (fun="morgan")

d = r

Haldane mapping function (fun="haldane")

d = -(1/2)ln(1 - 2r)

Kosambi mapping function (fun="kosambi")

d = (1/4)ln((1+2r)/(1-2r))

where r denotes the recombination fraction value and d denotes the mapping distance value.

Author(s)

Timothy P. Bilton

See Also

$orderLG, $plotLM


tpbilton/GUSMap documentation built on Feb. 22, 2025, 12:27 p.m.