tar zxvf MixfMRI_0.1-0.tar.gz
cp -R ./MixfMRI/inst/workflow/simulation/simu_2d/ ./

### Edit "script/00-set_condition.r" if needed.
### Do either one of the next.

### Create one simulation
cd simu_2d/
Rscript create_simu.r
Rscript create_smooth_simu.r

### Create 25 simulations
Rscript ./simu_2d/create_rep.r        
Rscript ./simu_2d/create_smooth_rep.r

### Commands to run in background
nohup bash q_run_1.sh &
nohup bash q_run_2.sh &
nohup bash q_run_3.sh &

### Collect all tables
Rscript ./run_summary_collect.r
Rscript ./run_summary_collect_new4.r
Rscript ./run_summary_collect_new5.r

