get.parents: simple lineage retrieval

Description Usage Arguments Examples

View source: R/taxonomy.R

Description

returns a simple lineage vector

Usage

1
get.parents(id, tax, skip = NULL)

Arguments

id

a taxon ID

tax

NCBI taxonomy object

skip

edges table to skip: if the node id is already present, the recursive function is not called

Examples

1
2
get.parents("1148", tax)
get.parents("1140", tax)

raim/ncbitax documentation built on Aug. 6, 2020, 7:29 a.m.