Learn R Programming

hsrecombi (version 1.0.1)

karlin: Liberman and Karlin's genetic map function

Description

Calculation of genetic distances from recombination rates given a parameter

Usage

karlin(N, x, inverse = F)

Value

vector of genetic positions in Morgan units

Arguments

N

parameter (positive integer) required by the binomial model to assess the count (of crossover) distribution; N = 1 corresponds to Morgan's map function

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)

References

Liberman, U. & Karlin, S. (1984) Theoretical models of genetic map functions. Theor Popul Biol 25:331-346.

Examples

Run this code
  karlin(2, seq(0, 0.5, 0.01))

Run the code above in your browser using DataLab