R: Get IDs for nodes represented txnyms

getNdsFrmTxnyms {treeman} | R 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

    library(treeman)
    data(mammals)
    # what ID represents the apes?
    getNdsFrmTxnyms(mammals, 'Hominoidea')

[Package treeman version 1.1.4 Index]