convert_to_treedata {MicrobiotaProcess} | R Documentation

## convert dataframe contained hierarchical relationship or other classes to treedata class

### Description

convert dataframe contained hierarchical relationship or other classes to treedata class

### Usage

    convert_to_treedata(data, ...)

### Arguments

`data` | data.frame, such like the tax_table of phyloseq.
`...,` | additional parameters.

### Value

treedata class.

### Author(s)

Shuangbin Xu

### Examples

    data(hmp_aerobiosis_small)
    head(taxda)
    treedat <- convert_to_treedata(taxda)

[Package MicrobiotaProcess version 1.0.5 Index]