Running nrm
To run this simulation:
$ ./nrm > nrm.outin the top-level source directory after compiling haploid (example programs are compiled by default).
Linkage disequilibrium
reset unset key # linkage disequilibrium graph set ylabel "Linkage disequilibrium" set xlabel "Generations" set xr [0:8] plot 'nrm.out' using 5 w lines \ linecolor rgb "blue" smooth csplines set terminal svg \ enhanced size 1000 1000 fsize 36 set output "nrm_ld.svg" replot unset outputDownload gnuplot script
Genotype frequency
reset unset key set ylabel "Haplotype Frequency" set xlabel "Generations" set xr [0:15] set yr [0:1] plot 'nrm.out' using 1 w lines \ linecolor rgb "blue" smooth csplines set terminal svg \ enhanced size 1000 1000 fsize 36 set output 'nrm_freq0.svg' replot unset outputDownload gnuplot script
Back to Haploid homepage