modify MasterAnalysis.R