getNdLng: Get lineage

View source: R/a.R

getNdLngR 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


data(mammals)
# return human lineage
getNdLng(mammals, id = "Homo_sapiens")

ropensci/phylotaR documentation built on July 21, 2024, 1:01 a.m.