Initial tree rooting based on best root-to-tip correlation

initRoot(phy, date, mtry = 10, useRec = F)

Arguments

phy

An unrooted phylogenetic tree

date

Dates of sampling

mtry

Average number of rooting attempts per branch

useRec

Whether or not to use results from previous recombination analysis

Value

Rooted tree