compute_Px: Compute hidden state transition kernel

Description Usage Arguments Value

Description

A wrapper function for calling A. Hobolths code for computin the hiden state rate matrix by way of matrix exponentiation (as outlined in his note).

Usage

1
compute_Px(M, rho)

Arguments

M

the number of hissden states

rho

The recombination rate between two sites

Value

An M-by-M matrix P, s.t. P[i,j] = P(X_t = j | X_t-1 = i)


Cronjaeger/HotBirdHMM documentation built on May 9, 2019, 6:01 p.m.