View source: R/parsePhylotree.R
sortTaxaFromTree | R Documentation |
Get sorted supertaxon list based on a rooted taxonomy tree
sortTaxaFromTree(tree)
tree |
an "phylo" object for a rooted taxonomy tree |
A list of sorted taxa obtained the input taxonomy tree.
Vinh Tran tran@bio.uni-frankfurt.de
ppTaxonomyMatrix
for a demo taxonomy matrix data
data("ppTaxonomyMatrix", package = "PhyloProfile")
# create taxonomy tree rooted by ncbi10090
tree <- createUnrootedTree(ppTaxonomyMatrix)
rootedTree <- ape::root(tree, outgroup = "ncbi10090", resolve.root = TRUE)
# get taxon list sorted from tree
sortTaxaFromTree(rootedTree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.