getNdLng {treeman}R Documentation

Get lineage

Description

Return unique taxonomic names for connecting id to root.

Usage

getNdLng(tree, id)

Arguments

tree

TreeMan object

id

node id

Details

Returns a vector.

See Also

getNdsLng, getNdsFrmTxnyms, https://github.com/DomBennett/treeman/wiki/get-methods

Examples

library(treeman)
data(mammals)
# return human lineage
getNdLng(mammals, id='Homo_sapiens')

[Package treeman version 1.1.3 Index]