treeman (version 1.1.3)

getUnqNds: Get unique nodes represented by tips

Description

Return a list of IDs for any node that are represented by tip IDs given.

Usage

getUnqNds(tree, tids)

Arguments

tree

TreeMan object

tids

vector of tip IDs

Details

Returns a vector.

See Also

getCnnctdNds, calcFrPrp, calcPhyDv

Examples

Run this code
# NOT RUN {
library(treeman)
tree <- randTree(10)
unqnds <- getUnqNds(tree, c('t1', 't2'))
# }

Run the code above in your browser using DataCamp Workspace