Description Usage Value Author(s) Examples
View source: R/createTaxonomyMatrix.R
Download NCBI taxonomy database and parse information that are needed for PhyloProfile, including taxon IDs, their scientific names, systematic ranks, and parent (next higher) rank IDs.
1 |
A dataframe contains NCBI taxon IDs, taxon names, taxon ranks and the next higher taxon IDs (parent's IDs) of all taxa in the NCBI taxonomy database.
Vinh Tran tran@bio.uni-frankfurt.de
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ?processNcbiTaxonomy
## Not run:
preProcessedTaxonomy <- processNcbiTaxonomy()
# save to text (tab-delimited) file
write.table(
preProcessedTaxonomy,
file = "preProcessedTaxonomy.txt",
col.names = TRUE,
row.names = FALSE,
quote = FALSE,
sep = "\t"
)
# save to rdata file
save(
preProcessedTaxonomy, file = "preProcessedTaxonomy.RData", compress='xz'
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.