Description Usage Arguments Value
View source: R/branchRateMatrix.R
Compute exponentiated rate matrix for all branches
1 | branchRateMatrix(rate, branch.length, pi, log = TRUE)
|
rate |
vector of mutation rates, one per branch |
branch.length |
vector of branch lengths |
pi |
stationary distribution of allele frequencies |
log |
if TRUE returns log transition matricies |
a list of transition matricies, one entry for each specified branch length. The rows are the parental allele, the columns are the child allele.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.