package phylogenetics

  1. Overview
  2. Docs

Parameters

module A : Alphabet

Signature

type profile =
  1. | Profile of {
    1. probs : float array;
    2. dist : Gsl.Randist.discrete;
    }
val of_array_exn : float array -> profile
val random_profile : alpha:float -> Gsl.Rng.t -> profile
val draw_from_profile : profile -> Gsl.Rng.t -> A.t
type pwm = profile array
val random_pwm : alpha:float -> int -> Gsl.Rng.t -> pwm
val draw_from_pwm : pwm -> Gsl.Rng.t -> string