getNdLng: Get lineage

Description Usage Arguments Details See Also Examples

View source: R/get-nd-methods.R

Description

Return unique taxonomic names for connecting id to root.

Usage

1
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

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

DomBennett/treeman documentation built on Nov. 12, 2020, 1:35 p.m.