get_k80_matrix: Chooses a transition matrix according the Kimura-80 model

Description Usage Arguments Value

Description

Returns a table T where Probability(X becoming Y) = TX, Y

Usage

1
get_k80_matrix(time_jump, K80_ALPHA = 10^(-8), K80_BETA = 10^(-9))

Arguments

time_jump

The number of years we jump by for our transition matrix To be valid, we need it to be less than 9*10^7

K80_ALPHA

probability of transition per year

K80_BETA

probability of transversion per year

Value

A table of numerical values that are the transition matrix for the K-80 model


sams25/rcombinator_old documentation built on May 28, 2019, 8:40 a.m.