MomentsLD / moments

MIT License
10 stars 3 forks source link

LD integration with dt_fac and add H2 functionality #146

Closed apragsdale closed 9 months ago

apragsdale commented 9 months ago

Two commits. One lets you get H2 (i.e., D-plus) from LD statistics, either within or between populations and either as a phased or unphased statistic. The other commit removes the hard-coded dt in LD integration and replaces it with a dt_fac, as in SFS integration. This helps with integrating long time durations more efficiently.