rao {hsrecombi} | R Documentation |
System of genetic-map functions
Description
Calculation of genetic distances from recombination rates given a mixing parameter
Usage
rao(p, x, inverse = F)
Arguments
p |
mixing parameter (see details); |
x |
vector of recombination rates |
inverse |
logical, if FALSE recombination rate is mapped to Morgan unit, if TRUE Morgan unit is mapped to recombination rate (default is FALSE) |
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.
As an inverse of Rao's system of functions does not exist, NA will be
produced if inverse = T
. To approximate the inverse call function
rao.inv(p, x)
.
Value
vector of genetic positions in Morgan units
References
Rao, D.C., Morton, N.E., Lindsten, J., Hulten, M. & Yee, S (1977) A mapping function for man. Human Heredity 27: 99-104. doi: 10.1159/000152856
Examples
rao(0.25, seq(0, 0.5, 0.01))
[Package hsrecombi version 1.0.1 Index]