R scripts that underlie the analysis in the associated publication