getTaxonomyInfo {PhyloProfile} | R Documentation |
Get taxonomy info for a list of input taxa
getTaxonomyInfo(inputTaxa = NULL, currentNCBIinfo = NULL)
inputTaxa |
NCBI taxonomy IDs of input taxa. |
currentNCBIinfo |
table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt) |
A list of NCBI taxonomy info for input taxa, including the taxonomy IDs, full scientific names, taxonomy ranks and the parent IDs.
Vinh Tran tran@bio.uni-frankfurt.de
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)