ptreeFromPhylo.RdConverts an ape phylo object into a phylogenetic tree
ptreeFromPhylo(tr, dateLastSample)phylo object
date of the last sample
phylogenetic tree
ptreeFromPhylo(ape::rtree(5),2020)
#> Phylogenetic tree
#> Number of sampled individuals=5