Skip to contents

convert phylo to treedata

Usage

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

# S3 method for 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

Guangchuang Yu

Yu Guangchuang