getUnqNds: Get unique nodes represented by tips

View source: R/a.R

getUnqNdsR Documentation

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


tree <- randTree(10)
unqnds <- getUnqNds(tree, c("t1", "t2"))

ropensci/phylotaR documentation built on July 21, 2024, 1:01 a.m.