getHierarchy: Get taxonomy hierarchy string for a list of taxon IDs

View source: R/getRanks.R

getHierarchyR Documentation

Get taxonomy hierarchy string for a list of taxon IDs

Description

Get NCBI taxonomy IDs, ranks and names for an input taxon list.

Usage

getHierarchy(inputTaxa = NULL, currentNCBIinfo = NULL)

Arguments

inputTaxa

NCBI ID list of input taxa.

currentNCBIinfo

table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt)

Value

A list of taxonomy hierarchy vector for input taxon IDs

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

inputTaxa <- c("272557", "176299")
preProcessedTaxonomy <- getPreTaxonomyFile()
taxFun:::getHierarchy(inputTaxa, preProcessedTaxonomy)

trvinh/taxFun documentation built on July 3, 2023, 8:55 p.m.