View source: R/ncbi_taxonomy.R
getTree | R Documentation |
getTree
returns an annotated phylogenetic tree from
NCBI IDs (taxids) based on the NCBI taxonomy.
getTree(taxids)
taxids |
Integer vector of NCBI IDs (taxids). |
This is a wraper around the ete3 package http://etetoolkit.org/docs/latest/tutorial/tutorial_ncbitaxonomy.html.
A phylogenetic tree (tidytree class object).
## Not run: taxids <- c(9606, 9598, 10090, 7707, 8782) tree <- getTree(taxids) class(tree) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.