Prepares a phylogeny for use in the insitu pipeline
prep_phylo.RdHandles non-ultrametricity and incomplete taxon sampling. The tree must be fully bifurcating.
Arguments
- phy
A
phyloobject.- force_ultrametric
Logical. If
TRUEand the tree is not ultrametric, it is forced ultrametric usingphytools::force.ultrametric. Default:TRUE.- sampling_fraction
The proportion of extant species included in the phylogeny (between 0 and 1). Used to correct branch length-based rate estimates. Default:
1(complete sampling assumed).