ptreeFromPhylo: Converts an ape phylo object into a phylogenetic tree

View source: R/ptreeFromPhylo.R

ptreeFromPhyloR 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)

xavierdidelot/TransPhylo documentation built on Sept. 28, 2023, 7:20 p.m.