calc_Lstar: Calculate adjusted chromosome length for an obligate chiasma.

Description Usage Arguments Details Value Examples

View source: R/RcppExports.R

Description

Calculate the reduced chromosome length that will give the target expected number of chiasmata when conditioning on there being at least one chiasma on the four-strand bundle.

Usage

1
calc_Lstar(L, m, p, epsilon = NULL)

Arguments

L

Double. Length of the chromosome in cM. Must be > 50.

m

Integer. The interference parameter (m = 0 is no interference).

p

Double. Proportion of chiasmata from no-interference mechanism. (p = 0 gives pure chi-square model)

epsilon

Double. The precision for finding the adjusted chromosome length. Defaults to NULL, where a reasonably "high" precision is used.

Details

This function is an R-wrapper of an underlying C++ routine. It is not intended for direct usage, but exposed for completeness.

Value

Double. Adjusted chromosome length.

Examples

1
2
Meiosis::calc_Lstar(100, 0, 0)
Meiosis::calc_Lstar(60, 10, 0.1)

Meiosis documentation built on May 29, 2017, 3:46 p.m.