mutsel_simulator.mli 706 Bytes
Newer Older
Philippe Veber's avatar
Philippe Veber committed
1 2
open Phylogenetics

Philippe Veber's avatar
Philippe Veber committed
3
module Site_independent : sig
Philippe Veber's avatar
Philippe Veber committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
  type simulation = {
    sequences : Dna.t list ;
    fitness_profiles : Amino_acid.vector array ;
    tree : Convergence_tree.t ;
    h0_profiles : int array ;
    ha_profiles : (int * int) array ;
    h0_params : (Mutsel.param * Mutsel.param) array ;
    ha_params : (Mutsel.param * Mutsel.param) array ;
    base_param : Mutsel.param ;
    gBGC : float * float ;
    ne_s : float * float ;
  }

  val simulation :
    ?branch_scale:float ->
    ?seed:int ->
    n_h0:int ->
    n_ha:int ->
    ne_s:float * float ->
    gBGC:float * float ->
    tree:Convergence_tree.t ->
    fitness_profiles:Amino_acid.vector array ->
    unit ->
    simulation
end