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

Add separate function for Watterson's theta #1279

Open
percyfal opened this issue Dec 5, 2024 · 2 comments
Open

Add separate function for Watterson's theta #1279

percyfal opened this issue Dec 5, 2024 · 2 comments

Comments

@percyfal
Copy link

percyfal commented Dec 5, 2024

sgkit-allel has functionality to calculate Watterson's theta but in sgkit it is calculated implicitly in Tajima's D function. For some applications direct access to Watterson's theta would be of practical use.

@percyfal
Copy link
Author

percyfal commented Dec 5, 2024

I could draft a PR since I think this is a pretty straightforward code refactoring operation.

@jeromekelleher
Copy link
Collaborator

That would be great, thanks @percyfal !

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

2 participants