Description Usage Arguments Value Author(s) Examples
View source: R/createTaxonomyMatrix.R
Get taxonomy info for a list of input taxa
1 | 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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.