Skip to content

Conversation

@lkirk
Copy link
Owner

@lkirk lkirk commented Jul 17, 2025

test pr for two-locus-multipop

needs more testing (look at coverage -- c + py)

This PR implements the C and Python API for computing two-way two-locus
statistics. The algorithm is identical to the python version, except
during testing I uncovered a small issue with normalisation. We need to
handle the case where sample sets are of different sizes. The fix for
this was to average the normalisation factor for each sample set.

Test coverage has been added to cover C, low-level python and some
high-level tests.
@lkirk lkirk force-pushed the two-locus-multipopulation branch from 366f0ce to 266ac44 Compare July 25, 2025 23:16
@lkirk lkirk closed this Jul 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants