Returns the value of named slot.
getNdsSlt(tree, slt_nm, ids, ...)
vector of node ids
Returned object depends on name, either character, vector or numeric. Parallelizable.
tree <- randTree(10)
getNdsSlt(tree, slt_nm='spn', ids=tree['tips']) # return spans of all tips
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.