View source: R/createTaxonomyMatrix.R
getTaxHierarchy | R Documentation |
Get NCBI taxonomy hierarchy and URLs for an input taxon list.
getTaxHierarchy(inputTaxa = NULL, currentNCBIinfo = NULL)
inputTaxa |
NCBI ID list of input taxa. |
currentNCBIinfo |
table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt) |
A list of dataframs containing taxonomy hierarchy and its URL to NCBI database for input taxon 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))
PhyloProfile:::getTaxHierarchy(inputTaxa, currentNCBIinfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.