R/phy2get.haldane.rils.R

phy2get.haldane.rils <-
function (a, b, l) 
  {
    ._rice_phy2get_factor_ <- 24400
    d <- l/(._rice_phy2get_factor_ * 100)
    p <- (1 - exp(-2 * d))
    p <- p/(1 + p)
    ifelse(a == b, 1 - p, p)
  }

Try the MPR.genotyping package in your browser

Any scripts or data that you put into this service are public.

MPR.genotyping documentation built on May 2, 2019, 3:26 a.m.