branchRateMatrix: Compute exponentiated rate matrix for all branches

Description Usage Arguments Value

View source: R/branchRateMatrix.R

Description

Compute exponentiated rate matrix for all branches

Usage

1
branchRateMatrix(rate, branch.length, pi, log = TRUE)

Arguments

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

Value

a list of transition matricies, one entry for each specified branch length. The rows are the parental allele, the columns are the child allele.


ndukler/epiAllele documentation built on May 5, 2019, 4:50 p.m.