Hi all,
This is just a small PR moving collapsing mutationless edges into the CassiopeiaTree.
Also this brings up the question: in get_mutations_on_edge, should we report mutations from a non-0 character to the missing state. The current implementation does not show these. If so, I'll use get_mutations_on_edge in the implementation of collapse_mutationless_edges, otherwise I'll continue to match the character vectors.
Hi all, This is just a small PR moving collapsing mutationless edges into the CassiopeiaTree.
Also this brings up the question: in
get_mutations_on_edge
, should we report mutations from a non-0 character to the missing state. The current implementation does not show these. If so, I'll useget_mutations_on_edge
in the implementation ofcollapse_mutationless_edges
, otherwise I'll continue to match the character vectors.Thanks in advance! Richard