Description Usage Arguments Value
Because estimating branch length at tips (terminal lineages) is impossible for coalescent methods, some implementations (like MP-EST) return tips of arbitrary length. These lengths don't have biological meaning but can affect the value of HRF. This function changes the values of the tips for another, equally arbitrary length. 'newval' can take a single value that is applied to all tips, a vector of equal length to the number of tips, or a phylogeny (object class 'phylo') with branch lengths in substitution rate (will be used to extrapolate coalescent branch length)
1 | fix_mpest_tips(branches, is_tip, newval)
|
branches |
numeric vector |
is_tip |
logical vector |
newval |
numeric or class 'phylo' |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.