hypredDInv: Implements the inverse of the Haldane and Kosambi mapping...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/hypredDInv.R

Description

This function calculates recombination frequencies from genetic distances according to the inverse of the Haldane or Kosambi mapping functions.

Usage

1
hypredDInv(d, FUN)

Arguments

d

Genetic distance between loci in Morgan (M), numeric vector

FUN

Inverse function to be used – character "Haldane" or "Kosambi"

Value

numeric vector of length(d) giving the recombination frequencies

Author(s)

Frank Technow

References

Wu, R.; Chang-Xing, M; Casella, G.; (2007) Statistical Genetics of Quantitative Traits. New York: Springer.

See Also

hypredSNPdist

Examples

1
2
3
4
5
6
## distance in Morgan between loci1 and loci2 and
## between loci2 and loci3

distances <- c(0.1,0.2)

hypredDInv(distances, "Haldane")

timflutre/hypred documentation built on May 6, 2019, 10:51 a.m.