| as.multiPhylo {TreeTools} | R Documentation |
multiPhylo classConverts representations of phylogenetic trees to an object of the 'ape'
class multiPhylo.
as.multiPhylo(x) ## S3 method for class 'phylo' as.multiPhylo(x) ## S3 method for class 'list' as.multiPhylo(x) ## S3 method for class 'phyDat' as.multiPhylo(x) ## S3 method for class 'Splits' as.multiPhylo(x)
x |
Object to be converted |
as.multiPhylo returns an object of class multiPhylo
as.multiPhylo.phyDat() returns a list of trees, each corresponding
to the partitions implied by each non-ambiguous character in x.
as.multiPhylo(BalancedTree(8))
as.multiPhylo(list(BalancedTree(8), PectinateTree(8)))
data('Lobo')
as.multiPhylo(Lobo.phy)