taxdumpLineage: Utilities for NCBI Taxdump

Description Usage Arguments Details Value See Also

View source: R/taxdumpLineage.R

Description

Get all higher ranks including a given taxon.

Usage

1
taxdumpLineage(tax, taxon, highest.rank)

Arguments

tax

Either an object of class megapteraProj or a data frame as returned by dbReadTaxonomy.

taxon

A character string giving the name of the taxon.

highest.rank

A character string giving the highest rank returned; if missing (default) the highest rank returned is the root.

Details

If taxon is coded as a synonym, it will be replaced by the corresponding accepted name and a warning will be issued.

Value

A data frame.

See Also

taxdumpAddNode, taxdumpChildren, taxdumpMRCA, taxdumpSubset, taxdump2phylo


heibl/megaptera documentation built on Jan. 17, 2021, 3:34 a.m.