Root to tip correlation
roottotip(
tree,
date,
rate = NA,
permTest = 10000,
showFig = T,
colored = T,
showPredInt = "gamma",
showText = T,
showTree = T
)
Phylogenetic tree
Dates of sampling
Evolutionary rate, estimated unless provided
Number of permutations to perform to compute the p-value using a permutation test
Whether or not to show the root-to-tip regression figure
Whether or not to use colors illustrating dates
To show 95percent confidence intervals of a strict clock model, can be 'poisson' or 'gamma'
Whether to show the title and axis labels
Whether to show the tree or not
List containing estimated clock rate, date of origin and p-value