as.treedata: as.treedata

Description Usage Arguments Details Author(s)

Description

convert phylo to treedata

Usage

1
2
3
4
5
## S3 method for class 'phylo'
as.treedata(tree, boot = NULL, ...)

## S3 method for class 'pml'
as.treedata(tree, type = "ml", ...)

Arguments

tree

input tree, a phylo object

boot

optional, can be bootstrap value from ape::boot.phylo

...

additional parameters

type

one of 'ml' and 'bayes' for inferring ancestral sequences

Details

converting phylo object to treedata object

Author(s)

Guangchuang Yu

Yu Guangchuang


treeio documentation built on Nov. 21, 2020, 2:01 a.m.