Rev Language Reference


fnReversiblePoMoBalance4N

Usage

fnReversiblePoMoBalance4N(Natural N, Simplex pi, RealPos[] rho, Real[] phi, RealPos[] beta, Natural[] B)

Arguments

N : Natural (pass by const reference)
Population size
pi : Simplex (pass by const reference)
Vector of allele frequencies: pi=(pi_a0,pi_a1,pi_a2,pi_a3)
rho : RealPos[] (pass by const reference)
Vector of exchangeabilities: rho=(rho_a0a1,rho_a0a2,rho_a0a3,rho_a1a2,rho_a1a3,rho_a2a3)
phi : Real[] (pass by const reference)
Vector of fitness coefficients: phi=(phi_a0,phi_a1,phi_a2,phi_a3)
beta : RealPos[] (pass by const reference)
Vector of balancing selection coefficients: beta=(beta_a0a1,beta_a0a2,beta_a0a3,beta_a1a2,beta_a1a3,beta_a2a3)
B : Natural[] (pass by const reference)
Vector of preferred frequencies: B=(B_a0a1,B_a0a2,B_a0a3,B_a1a2,B_a1a3,B_a2a3)

Return Type