Run as below Rscript r_brodmann_mni.R ./inputData/*MNIcoords.csv This will produce "SUBJID_MNIcoords_labelled.csv" in the "./outputData" folder