Description Usage Arguments Value See Also
It assumes: no uncertainty on species tree (A,(B,C)), one sample per species, observed states of binary trait were a=1, b=0, and c=1, branch lengths in coalescent units.
Roughly, it computes the product of the probabilities of events necessary for the observed
incongruence. Specifically, mutations along the A and C branches (implying no mutations
in other branches) or –depending on mode
- mutations along the ABC ancestor and B.
See documentation of tree_hrf() for description of the three models implemented.
1 | pr_homoplasy(this, desc_a, desc_b, sib, anc, mu_rate, mode = "standard")
|
this |
Numeric. Branch length of focal internal branch. |
desc_a |
Lengths of branches descending from focal branch. |
desc_b |
Lengths of branches descending from focal branch. |
sib |
Length of sibling branch (leading to tip node C). |
anc |
Length of ancestral branch (the ABC ancestor) |
mu_rate |
Numeric of length 2. Population-wide mutation rate (forward, reverse) |
mode |
String. One of the three models implemented: "standard" (default), "minimal", or "strict". |
Numeric, a probability
pr_hemiplasy
, calc_hrf
, tree_hrf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.