Description Usage Arguments Value
Under the assumption that all gene tree discordance is due to incomplete lineage sorting, this function estimates length for internal branches of a tree by taking the proportion of discordant trees (i.e. 1 minus the concordance factor) and solving for branch length t = -ln(3⁄2* (1-CF)). It will return 0 for CF < 1/3, and Infinite for CF == 1 (which isn't realistic but essentially eliminates the possibility of hemiplasy)
1 | convert_from_cf(tree, concordance_factors)
|
tree |
a phylogeny of class 'phylo' |
concordance_factors |
string or numeric vector of length equal to number of branches in tree |
numeric vector of estimated branches
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.