Closed Lars-B closed 1 year ago
You may process your tree with di2multi
. I can add a note in the help page.
Note also that zero-lengthed branches may have different interpretations in different contexts. For instance, they can lead to infinite likelihoods with substitution models.
I added a check where any branch lengths == 0 will return False in my case. Zero or negative branch lengths (same thing happens when using negatives instead of 0) almost certainly lead to trouble later on if not detected, so it may be a good approach to notify the user when reading a tree containing such :)
I added this in the help page:
The test ignores branch lengths. Consider using \code{\link{di2multi}}
if you want to treat zero-branch lengths as resulting from
multichotomies.
Running
returns True.
I understand why it would but also there are arguments why it shouldn't, maybe it would be a good idea to explicitly state this in the documentation or add the option to consider branch lengths?