sgkit icon indicating copy to clipboard operation
sgkit copied to clipboard

Add separate function for Watterson's theta

Open percyfal opened this issue 1 year ago • 3 comments

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 avatar Dec 05 '24 10:12 percyfal

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

percyfal avatar Dec 05 '24 10:12 percyfal

That would be great, thanks @percyfal !

jeromekelleher avatar Dec 05 '24 10:12 jeromekelleher

@percyfal Was this ever accomplished? I was thinking of attempting to add a Watterson's theta function if no one else was

milesroberts-123 avatar Jun 30 '25 20:06 milesroberts-123