View source: R/createTaxonomyMatrix.R
id2name | R Documentation |
Get taxon names for a list of taxon IDs
id2name(idList = NULL, currentNCBIinfo = NULL)
idList |
list of taxonomy IDs |
currentNCBIinfo |
table/dataframe of the pre-processed NCBI taxonomy data (/PhyloProfile/data/preProcessedTaxonomy.txt) |
A dataframe contains input taxon Ids and their full names.
Vinh Tran tran@bio.uni-frankfurt.de
ncbiFilein <- system.file(
"extdata", "data/preProcessedTaxonomy.txt",
package = "PhyloProfile", mustWork = TRUE
)
currentNCBIinfo <- as.data.frame(data.table::fread(ncbiFilein))
idList <- c("9606", "5207", "40674", "4751")
id2name(idList, currentNCBIinfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.