More minor tweaks to R code in BAMMtools