treeman (version 1.1.4)

getNdLng: 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

Run this code
# NOT RUN {
library(treeman)
data(mammals)
# return human lineage
getNdLng(mammals, id='Homo_sapiens')
# }

Run the code above in your browser using DataCamp Workspace