Skip to content

When is it appropriate to use add_mass_migration()? #1911

Answered by jeromekelleher
David-Peede asked this question in Q&A
Discussion options

You must be logged in to vote

The "mass migration" is a power-user feature @David-Peede, and can be used to imitate the effects population split and admixture events. It's appropriate to use mass migrations whenever you're modelling something that isn't a population split or admixture, so the introgression situation is one of these occasions. I'm guessing the tskit tutorial doesn't use population splits because it was ported from the old code as simply as possible, and we didn't think of using the population split (PR welcome if you'd like to update it!)

As an aside, have you considered using Demes to construct your model?There is excellent tooling available for visualising models in demes and it's quite a bit more re…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@David-Peede
Comment options

Answer selected by David-Peede
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