as.treedata.phylo {treeio} | R Documentation |
convert phylo to treedata
## S3 method for class 'phylo' as.treedata(tree, boot = NULL, ...) ## S3 method for class 'pml' as.treedata(tree, type = "ml", ...)
tree |
input tree, a |
boot |
optional, can be bootstrap value from ape::boot.phylo |
... |
additional parameters |
type |
one of 'ml' and 'bayes' for inferring ancestral sequences |
converting phylo object to treedata object
Guangchuang Yu
Yu Guangchuang