R file for plotting coalescence stats