as.treedata.taxonomyTable | R Documentation |
convert taxonomyTable to treedata
## S3 method for class 'taxonomyTable'
as.treedata(tree, include.rownames = FALSE, ...)
tree |
object, This is for taxonomyTable class, so it should be a taxonomyTable. |
include.rownames |
logical, whether to set the rownames of taxonomyTable to tip labels, default is FALSE. |
... |
additional parameters. |
## Not run:
data(test_otu_data)
test_otu_data %<>% as.phyloseq()
tree <- as.treedata(phyloseq::tax_table(test_otu_data), include.rownames = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.