bodkan / slendr

Population genetic simulations in R 🌍
https://bodkan.net/slendr
Other
54 stars 5 forks source link

Implement rudimentary, experimental IBD squashing #138

Closed bodkan closed 1 year ago

bodkan commented 1 year ago

An attempt to get improve the basic IBD support for slendr, in particular to implement the "squashed" IBD segments discussed here which is probably what most users would expect to get out of our ts_ibd() function before they look at the documentation. As discussed in the linked issue, doing this correctly, without surprises, and efficiently is complicated. Still, I'd be happy with some kind of hacky compromise if it covers most realistic, immediate use cases for research & teaching I'm trying to target at the moment.