getNdsSlt: Get a node slot for multiple nodes

Description Usage Arguments Details See Also Examples

Description

Returns the value of named slot.

Usage

1
getNdsSlt(tree, slt_nm, ids, ...)

Arguments

tree

TreeMan object

slt_nm

slot name

ids

vector of node ids

...

plyr arguments

Details

Returned object depends on name, either character, vector or numeric. Parallelizable.

See Also

getNdSlt, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

1
2
3
library(treeman)
tree <- randTree(10)
getNdsSlt(tree, slt_nm='spn', ids=tree['tips'])  # return spans of all tips


Search within the treeman package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@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.