Description Usage Arguments Details Value Examples
View source: R/BranchStructs_methods.r
reorders internodes in treestruct objects so pathlength and other accumulation routines work properly
1 2 | ## S3 method for class 'BranchStructs'
reorder_internodes(obj)
|
obj |
TreeStructs object |
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.
TreeStructs object
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.