Skip to contents

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.

Examples


data(mammals)
# what ID represents the apes?
getNdsFrmTxnyms(mammals, "Hominoidea")
#> $Hominoidea
#> [1] "n2960"
#>