Learn R Programming

hsrecombi (version 1.0.1)

rao inverse: Approximation to inverse of Rao's system of map functions

Description

Calculation of recombination rates from genetic distances given a mixing parameter

Usage

rao.inv(p, x)

Value

vector of recombination rates

Arguments

p

mixing parameter (see details); 0 <= p <= 1

x

vector in Morgan units

Details

Mixing parameter p=0 would match to Morgan, p=0.25 to Carter, p=0.5 to Kosambi and p=1 to Haldane map function.

References

Rao, D.C., Morton, N.E., Lindsten, J., Hulten, M. & Yee, S (1977) A mapping function for man. Human Heredity 27: 99-104. tools:::Rd_expr_doi("10.1159/000152856")

Examples

Run this code
  rao.inv(0.25, seq(0, 01, 0.1))

Run the code above in your browser using DataLab