Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that inverting pair_coalescence_rate should account for factor of 2 to match diploid Ne #3054

Open
hyanwong opened this issue Nov 14, 2024 · 0 comments

Comments

@hyanwong
Copy link
Member

hyanwong commented Nov 14, 2024

Diploid Ne is given by 1/(2*pair_coalescence_rate). Although the pair_coalescence_rate implementation is consistent with msprime.DemographyDebugger, it's different from things like PSMC or MSMC that encourage users to interpret things in terms of diploid pop size. It would be helpful to document this in a .. note:: in the docstring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant