Description Usage Arguments Value Author(s) Examples
View source: R/method-as.treedata.R
convert dataframe contained hierarchical relationship or other classes to treedata class
1 | convert_to_treedata(data, type = "species", ...)
|
data |
data.frame, such like the tax_table of phyloseq. |
type |
character, the type of datasets, default is "species", if the dataset is not about species, #' such as dataset of kegg function, you should set it to "others". |
..., |
additional parameters. |
treedata class.
Shuangbin Xu
1 2 3 | data(hmp_aerobiosis_small)
head(taxda)
treedat <- convert_to_treedata(taxda)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.