<p dir="ltr">Hi, I am comparing two trees with a metric and would like to make a background distribution of random trees. From there I could calculate a Z score and p value. I thought that the method to do so would involve feeding Tree::RandomFactory isolate names and branch lengths from the original tree. However, this class mutates the branch lengths according to coalescent methods like Yule and does not accept random branch lengths. </p>
<p dir="ltr">So I'm not really sure where to go from there. Should I be using something like Yule to make a background distribution of random trees? Or should I implement a method to take random branch lengths from the original trees?</p>