as.phylo.treeshape: Conversion among tree objects

Description Usage Arguments Value Author(s) See Also Examples

Description

as.phylo is a generic function - described in the APE package - which converts an object into a tree of class "phylo". This method is an adataption of this generic method to convert objects of class "treeshape" in objects of class "phylo".

Usage

1
2
## S3 method for class 'treeshape'
as.phylo(x, ...)

Arguments

x

An object of class"treeshape".

...

further arguments to be passed to or from other methods.

Value

An object of class "phylo".

Author(s)

Michael Blum <michael.blum@imag.fr>
Nicolas Bortolussi <nicolas.bortolussi@imag.fr>
Eric Durand <eric.durand@imag.fr>
Olivier Francois <olivier.francois@imag.fr>

See Also

as.phylo
as.treeshape

Examples

1
2
3
4
5
6
7
data(primates)
plot(primates)

library(ape)
  
primates.phylo=as.phylo(primates)
plot(primates.phylo)

apTreeshape documentation built on Jan. 8, 2021, 2:07 a.m.