Skip to content

Conversation

@lkirk
Copy link
Owner

@lkirk lkirk commented Nov 29, 2025

LD Decay branch.

lkirk added 7 commits November 2, 2025 02:26
Skip comparison if out of range, do not advance edges unless a statistic
is to be computed.

Also add two-way stats
This change fixes the bin boundaries. Now, all bin boundaries for sites
will be left closed right open. The boundaries for branches will be
closed on both sides, minimizing the number of spanning bins. This is to
avoid integrating over a region of 0 length, which would affect the
bincount over a region that integrates to 0. Since we're performing an
integration, it doesn't matter if the left/right boundaries are opened
or closed.

Finally, add support for specifying a recombination map. I've performed
some minimal testing, but I'm not quite sure if it's working correctly.
I have a suspicion that there's a bug somewhere. It will allow the user
to specify bin boundaries in cM. Requires the tree to be simulated with
the same recombination map.
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