phylo2ggphy: Convert phylogenies from the class 'phylo' to the class...

Description Usage Arguments Author(s)

View source: R/phylo2ggphy.R

Description

Function to convert phylogenies from the class 'phylo' to the class 'ggphy'

Usage

1
2
  phylo2ggphy(phylo, tip.dates = NULL, branch.unit = NULL,
    verbose = FALSE)

Arguments

phylo

an object of the class "phylo"

tip.dates

a vector containing the sample dates of the tip in "Date" format, the dates must be ordered like the tips

branch.unit

the unit of the branch. Either "year", "month", "day" or "subst". If a time unit is provided, together with tip.dates, then the x-axis of the phylogeny will be in the Date format

verbose

if TRUE additional information is provided at execution

Author(s)

Anton Camacho


thibautjombart/OutbreakTools documentation built on Oct. 26, 2019, 10:56 p.m.