as.treedata {treeio} | R Documentation

## as.treedata

### Description

converting phylo object to treedata object

### Usage

    as.treedata(tree, ...)

    ## S3 method for class 'phylo'
    as.treedata(tree, boot = NULL, ...)

### Arguments

`tree` | tree object
`...` | additional parameter
`boot` | optional, can be bootstrap value from ape::boot.phylo

### Value

treedata object

### Author(s)

guangchuang yu

[Package treeio version 1.2.2 Index]