getTaxonomyMatrix {PhyloProfile} | R Documentation |
Get the (full or subset) taxonomy matrix from "data/taxonomyMatrix.txt" based on an input taxon list
getTaxonomyMatrix(subsetTaxaCheck = FALSE, taxonIDs = NULL)
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(FALSE, NULL) # get taxonomy matrix for a list of taxon IDs taxonIDs <- c("ncbi9606", "ncbi10116") getTaxonomyMatrix(TRUE, taxonIDs)