Get pre-nodes to root for multiple nodes

Description

Return node ids for connecting ids to root.

Usage

1
getNdsPrid(tree, ids, ...)

Arguments

tree

TreeMan object

ids

vector of node ids

...

plyr arguments

Details

Returns a list, parallizable.

See Also

getNdPrid, getNdPtid, getNdsPtid, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

1
2
3
4
library(treeman)
tree <- randTree(10)
# get all nodes to root
getNdsPrid(tree, ids=tree['tips'])

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.