Replies: 1 comment
-
Code to do this is now in #2926 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
There are some times when we might want to deliberately collapse some nodes into polytomies, e.g. by removing nodes and replacing edges so that the non-removed nodes are still joined up. This would allow us e.g. to create tree sequences in which only nodes supported by at least one mutation are present.
I think the example below is the naive way of doing it, so I put it here for future reference. Not urgently, I'm wondering how to code up a more efficient way, e.g. using edge_diffs?
gives:
Beta Was this translation helpful? Give feedback.
All reactions