homoplasy_mutations: Get probabilities of mutation along all branches

Description Usage Arguments Value

Description

Given a species tree, calculate the probability of mutation on each of the branches of the gene tree.

Usage

1
2
homoplasy_mutations(this, desc_a, desc_b, sib, anc, mu_rate, coal = T,
  mode)

Arguments

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)

coal

logical. Did coalescence in the BC ancestor happen?

mode

String. One of the three models implemented: "standard" (default), "minimal", or "strict".

Value

List of size 5


guerreror/pepo documentation built on May 23, 2019, 9:01 p.m.