reorders internodes in treestruct objects so pathlength and other accumulation routines work properly
## S3 method for class 'BranchStructs' reorder_internodes(obj)
This reorders all rows in the obj$treestructs$treestruct dataframes. It runs setTips if that hasn't already been run. This reorders rows such that, as you go down the dataframe, you can accumulate metrics (such as pathlength and surface area). That is, you are guaranteed that internodes above you (children, grandchildren, etc) will have been assigned values.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.