taxdump2phylo: Utilities for NCBI Taxdump

Description Usage Arguments Value See Also

View source: R/taxdump2phylo.R

Description

Convert a taxonomy table in parent-child format into an object of class phylo.

Usage

1
taxdump2phylo(tax, tip.rank)

Arguments

tax

A data frame representing a taxonomy in parent-child format as returned by dbReadTaxonomy.

tip.rank

A character string giving the name of a rank. This rank will be treated as tip rank, i.e. all taxa of lower rank will be dicarded.

Value

An object of class phylo.

See Also

dbReadTaxonomy, taxdumpChildren,taxdumpLineage, taxdumpSubset, taxdumpAddNode.


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