Hi Gang, here is my script. I am trying to see the main effect of loneliness, main effect of hamd and their interaction in my CBF maps. would you mind to tell me if I am doing it correctly?
3dMVM -prefix 3dMVM_test -jobs 24 \
-mask GM2mm_WFU_Mask.nii.gz \
-bsVars 'loneliness+age+gender+hamd' \
-qVars 'age,gender' \
-num_glt 3 \
-gltLabel 1 Loneliness -gltCode 1 'loneliness' \
-gltLabel 2 HAMD -gltCode 2 'hamd' \
-gltLabel 3 Lon_by_HAMD -gltCode 3 'loneliness:hamd ' \
-dataTable @FIXED.txt
Also, I try to run it and I am having an error in my table (data table is not rectangular) even after "fixing it" with the file_tool
tcsh -x 3dMVM.txt > diary.txt &
3dMVM -prefix 3dMVM_test -jobs 24 -mask GM2mm_WFU_Mask.nii.gz -bsVars loneliness+age+gender+hamd -qVars age,gender -num_glt 3 -gltLabel 1 Loneliness -gltCode 1 loneliness -gltLabel 2 HAMD -gltCode 2 hamd -gltLabel 3 Lon_by_HAMD -gltCode 3 loneliness:hamd -dataTable @FIXED.txt
Read 409 items
** Error:
The content under -dataTable is not rectangular ! 358 7
[1]+ Done tcsh -x 3dMVM.txt > diary.txt
file_tool -infile FIXED.txt -test
FIXED.txt has 0 bad characters
FIXED.txt file type: UNIX
file_tool -infile 3dMVM.txt -test
3dMVM.txt has 0 bad characters
3dMVM.txt file type: UNIX