R: Get unique nodes represented by tips

getUnqNds {treeman} | R Documentation

## Get unique nodes represented by tips

### Description

Return a list of IDs for any node that are represented by tip IDs given.

### Usage

    getUnqNds(tree, tids)

### Arguments

`tree` | `TreeMan` object
`tids` | vector of tip IDs

### Details

Returns a vector.

### See Also

`getCnnctdNds`, `calcFrPrp`, `calcPhyDv`

### Examples

    library(treeman)
    tree <- randTree(10)
    unqnds <- getUnqNds(tree, c('t1', 't2'))

[Package treeman version 1.1.4 Index]