View source: R/parsePhyloProfile.R
getTaxonomyMatrix | R Documentation |
Get the (full or subset) taxonomy matrix from "data/taxonomyMatrix.txt" based on an input taxon list
getTaxonomyMatrix(taxDB = NULL, subsetTaxaCheck = FALSE, taxonIDs = NULL)
taxDB |
Path to the taxonomy DB files |
subsetTaxaCheck |
TRUE/FALSE subset taxonomy matrix based on input taxon IDs. Default = FALSE |
taxonIDs |
list of input taxon IDs (e.g. ncbi1234). Default = NULL |
Data frame contains the (subset of) taxonomy matrix for list of input taxa.
Vinh Tran tran@bio.uni-frankfurt.de
# get full pre-installed taxonomy matrix
getTaxonomyMatrix()
# get taxonomy matrix for a list of taxon IDs
taxonIDs <- c("ncbi9606", "ncbi10116")
getTaxonomyMatrix(NULL, TRUE, taxonIDs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.