getUnqNds: Get unique nodes represented by tips

Description Usage Arguments Details See Also Examples

View source: R/get-spcl-methods.R

Description

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

Usage

1
getUnqNds(tree, tids)

Arguments

tree

TreeMan object

tids

vector of tip IDs

Details

Returns a vector.

See Also

getCnnctdNds, calcFrPrp, calcPhyDv

Examples

1
2
3
library(treeman)
tree <- randTree(10)
unqnds <- getUnqNds(tree, c('t1', 't2'))

DomBennett/treeman documentation built on Nov. 12, 2020, 1:35 p.m.