Learn R Programming

treeman (version 1.1.4)

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 DataLab