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
@RiboRings - apologies for the delay in getting back to you - this is peak teaching for me at the moment. We've explicitly disabled the ability to make create a tree from its components as there are so many parts that need to align correctly - essentially every single component needs to match the elements in every other component, so the only way to easily construct a tree is to read one in or to generate a random one at the moment. Can I ask what you are trying to do?
If you want to construct a tree from scratch the way to manage that is to create an empty tree with the correct number of tips and then to use createnode!() and createbranch!() to create all of the internal nodes in sequence. An example of this in action is the code for rand()here, though there is some potentially superfluous code at the end of that function for adjusting all of the branch lengths retrospectively to fit a standard length.
Hello!
I am trying to disassemble a RootedTree object into its components and then reassemble it. However, I get a method error as follows:
It would be great if you could provide a tutorial on how to build trees from scratch starting from their components.
Thank you in advance!
The text was updated successfully, but these errors were encountered: