Repository navigation
Create all_binary resolutions of a tree with polytomies #3490
hyanwong
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The function
TreeNode.random_binary_tree(seetskit/python/tskit/combinatorics.py
Line 121 in 0e38fc3
In https://github.com/hyanwong/tskit_extras/blob/2940a52ad4a735314b7f765ee24dc241cd043ed1/python/tskit_extras/trees.py#L99 I got copilot to use this to make a routine that yields all the tskit.Tree resolutions of a tree with polytomies, but I'm not sure if it took quite the right approach.
All reactions