You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract tree-based mutation configurations (phased/unphased, rooted/unrooted). Note that ts.edge_diffs() can be used to do this efficiently when iterating across trees.
Compute the corresponding mutation configuration probability. Currently, there is no API in place that returns this probability for a single configuration.
The text was updated successfully, but these errors were encountered:
Using bitwise operations to keep track of the different branchtypes. To do efficient updates using the ts.edge_diffs() we should keep track of the type of each branch by storing that value in an array such that branchtype_array[edge.child] == branchtype.
The following code, initialises this array and the counts for a tree.
ts.edge_diffs()
can be used to do this efficiently when iterating across trees.The text was updated successfully, but these errors were encountered: