package phylogenetics

  1. Overview
  2. Docs

Continuous Time Markov Chain rate matrix

A rate matrix is the infinitesimal generator for a discrete-space continuous time markov process. It is basically a matrix such that all off-diagonal elements are positive and each diagonal element is minus the sum of all other elements in the row.

module type S = sig ... end
module Make (A : Alphabet.S_int) : S with type symbol := A.t and type vector := A.vector and type matrix := A.matrix
module Nucleotide : sig ... end
module Amino_acid : sig ... end
val make : int -> f:(int -> int -> float) -> Linear_algebra.mat
val transition_probability_matrix : tau:float -> rates:float array array -> float array array
OCaml

Innovation. Community. Security.