Description Usage Arguments Value Author(s) See Also Examples
View source: R/parsePhylotree.R
Get sorted supertaxon list based on a rooted taxonomy tree
1 | 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
1 2 3 4 5 6 7 8 9 | data("ppTaxonomyMatrix", package = "PhyloProfile")
# prepare matrix for calculating distances
distDf <- subset(ppTaxonomyMatrix, select = -c(ncbiID, fullName))
row.names(distDf) <- distDf$abbrName
distDf <- distDf[, -1]
# create taxonomy tree rooted by ncbi10090
rootedTree <- createRootedTree(distDf, "ncbi10090")
# 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.