ptreeFromPhylo {TransPhylo}R Documentation

Converts an ape phylo object into a phylogenetic tree

Description

Converts an ape phylo object into a phylogenetic tree

Usage

ptreeFromPhylo(tr, dateLastSample)

Arguments

tr

phylo object

dateLastSample

date of the last sample

Value

phylogenetic tree

Examples

ptreeFromPhylo(ape::rtree(5),2020)

[Package TransPhylo version 1.4.5 Index]