getNdsFrmTxnyms: Get IDs for nodes represented txnyms

View source: R/a.R

getNdsFrmTxnymsR Documentation

Get IDs for nodes represented txnyms

Description

Return a list of IDs for any node that contains the given txnyms.

Usage

getNdsFrmTxnyms(tree, txnyms)

Arguments

tree

TreeMan object

txnyms

vector of taxonomic group names

Details

Returns a list. Txnyms must be spelt correctly.

See Also

taxaResolve, setTxnyms, searchTxnyms, getNdsLng, getNdLng

Examples


data(mammals)
# what ID represents the apes?
getNdsFrmTxnyms(mammals, "Hominoidea")

ropensci/phylotaR documentation built on July 9, 2023, 3:17 p.m.