astheeggeggs / lshmm

code to run Li and Stephens
MIT License
3 stars 3 forks source link

First value of input recombination probabilities need not be zero #136

Closed szhan closed 1 week ago

szhan commented 1 week ago

The current API requires that the the first value of input recombination probabilities, if it is provided as an array of size m, where m is the number of sites. This isn't the proper way of assigning input recomb. prob. The proper way should be to assign a recomb. prob. array of size m - 1. This requirement should be removed.