treeman (version 1.1.3)

getNdsFrmTxnyms: 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

Run this code
# NOT RUN {
library(treeman)
data(mammals)
# what ID represents the apes?
getNdsFrmTxnyms(mammals, 'Hominoidea')
# }

Run the code above in your browser using DataCamp Workspace