added R plots to indels and substitutions