tskit-dev / pyslim

Tools for dealing with tree sequences coming to and from SLiM.
MIT License
27 stars 23 forks source link

write example of finding the realised DFE #171

Closed petrelharp closed 2 years ago

petrelharp commented 3 years ago

A nice tutorial would be to (a) simulate with some DFE, then (b) pull out and plot the distribution of selective effects of the fixed and polymorphic mutations, and (c) show that the latter is the former weighted by 2s.

petrelharp commented 2 years ago

This actually happens already, in https://tskit.dev/pyslim/docs/stable/tutorial.html#extracting-information-about-selected-mutations