getTaxonomyInfo: Get taxonomy info for a list of input taxa

Description Usage Arguments Value Author(s) Examples

View source: R/createTaxonomyMatrix.R

Description

Get taxonomy info for a list of input taxa

Usage

1
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

1
2
3
4
5
6
7
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)

PhyloProfile documentation built on March 27, 2021, 6:01 p.m.