Skip to content

Empty demes in 2D stepping stone models #2251

Answered by petrelharp
connor-french asked this question in Q&A
Discussion options

You must be logged in to vote

Hm - this is confusing. But let's see - from your image, there is a difference between the samples in the tree, so if you compute diversity with mode="branch", then you should get non-zero diversity (right?). If so, then does zero diversity just mean that those samples happen to not have any mutations on the branches betwen them? You can check this by counting number of mutations using ts.diversity(..., mode='site', span_normalise=False).

Said another way: the total number of mutations separating two samples is Poisson with mean equal to mut_rate * ts.diversity(..., mode='branch', span_normalise=False); if that is not a large number, then there's some reasonable chance the number of mutat…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by petrelharp
Comment options

You must be logged in to vote
1 reply
@petrelharp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants