getTaxonomyInfo {PhyloProfile} | R Documentation

## Get taxonomy info for a list of input taxa

### Description

Get taxonomy info for a list of input taxa

### Usage

    getTaxonomyInfo(inputTaxa = NULL, currentNCBIinfo = NULL)

### Arguments

`inputTaxa` | NCBI taxonomy IDs of input taxa.
`currentNCBIinfo` | table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt)

### Value

A list of NCBI taxonomy info for input taxa, including the taxonomy IDs, full scientific names, taxonomy ranks and the parent IDs.

### Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

### Examples

    inputTaxa <- c("272557", "176299")
    ncbiFilein <- system.file(
        "extdata", "data/preProcessedTaxonomy.txt",
        package = "PhyloProfile", mustWork = TRUE
    )
    currentNCBIinfo <- as.data.frame(data.table::fread(ncbiFilein))
    getTaxonomyInfo(inputTaxa, currentNCBIinfo)

[Package PhyloProfile version 1.0.7 Index]