HKY85: HKY85 Substiution Model

Description Usage Arguments Value

Description

This function creates the rate matrix of the HKY85 model before calculating the related transition matrix, P, using the mutation (mu), branch length/time (t) and transition transversion ratio (kappah)

Usage

1
HKY85(mu, t, kappa, pi)

Arguments

mu

- Mutation rate

t

- Branch length, i.e. specific generation time

kappa

- ransition/transversion rate ratio

pi

- Base Frequencies

Value

This function returns a dgeMatrix containing the transition matrix P


OJWatson/sims4 documentation built on May 7, 2019, 8:33 p.m.