calc_Lstar: Calculate adjusted chromosome length for an obligate chiasma.
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
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.
Value
Double. Adjusted chromosome length.
Details
This function is an R-wrapper of an underlying C++ routine.
It is not intended for direct usage, but exposed for completeness.