package phylogenetics

  1. Overview
  2. Docs

Compilation of modules implementing evolution models and providing relevant mathematical procedure (eg, exponential of transition matrix); also includes functors to build models from transition matrices.

module type S = sig ... end

Evolution model with linear algebra functions to compute stationary distribution and transition matrix diagonalization.

module type S_with_reduction = sig ... end
module type Rate_matrix = sig ... end
module type Diagonalizable_rate_matrix = sig ... end
module Make (A : Alphabet.S) (M : Rate_matrix with type mat := A.matrix) : sig ... end
module Make_diag (A : Alphabet.S) (M : Diagonalizable_rate_matrix with type vec := A.vector and type mat := A.matrix) : sig ... end
module JC69 : Nucleotide_S_with_reduction with type param = unit

Jukes-Cantor model with analytical diagonalization of transition matrix.

Jukes-Cantor model with numerical calculation of probability transition matrix

module K80 : Nucleotide_S_with_reduction with type param = float

K80 model with analytical diagonalization of transition matrix (parametrized by kappa)

K80 model with numerical calculation of probability transition matrix