#popgen-Rfuncs
This project folder contains useful functions for performing populations genetics analyses and calculating summary statistics.
List of available population genetics functions:
polymorph_stats(sfs)
watterson_factor(no. of alleles)
div_jukes(sites, differences)
pred_sfs_neut(no. of alleles)
calc_nw_2ep(n1,n2,t)
calc_nw_3ep(n1,n2,n3,t2,t3)
kimura_fix_prob(N,s)
fold_sfs(sfs)
subsample_SFS(sfs,nsubsample)
integrate_fix_prob_gamma(N,beta,mean)
calculate_load(q,h,s)