Backup for the averageAnalysis Rscript.