3dMVM error

Hello!

Long time listener…

I’m using 3dMVM. Here I am interested in the age by diagnostic group interaction as it predicts the brain outcome measure. I am getting the following error:

Error in [.data.frame(lop$dataStr, , jj) : undefined columns selected
Calls: process.MVM.opts → [ → [.data.frame
Execution halted

Here is the (truncated) command. Do I need the -glt options? I’m not sure where to start…

Thanks for the help!

3dMVM -prefix test -jobs 12
-mask /home/data/dcnlab/AHEAD/dset/derivatives/dwi/dwi_MNI_mask+orig
-bsVars “age*DxGroup+sex+educ+movement”
-qVars “age+sex+educ+movement”
-dbgArgs
-dataTable
Subj age DxGroup sex educ movement InputFile
4155012 5.42 Typical 2 5 0.44 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/4155012/ses-S1/dwi_processed/dwi/final_data/sub-4155012_RNT_space-MNI_blur4.nii.gz’[0]’
4155011 5.03 Typical 1 5 0.34 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/4155011/ses-S1/dwi_processed/dwi/final_data/sub-4155011_RNT_space-MNI_blur4.nii.gz’[0]’
4155010 6.25 Typical 2 6 0.24 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/4155010/ses-S1/dwi_processed/dwi/final_data/sub-4155010_RNT_space-MNI_blur4.nii.gz’[0]’
4155008 5.05 Typical 2 6 0.55 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/4155008/ses-S1/dwi_processed/dwi/final_data/sub-4155008_RNT_space-MNI_blur4.nii.gz’[0]’
1135582 5.99 ADHD 1 6 0.23 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135582/ses-S1/dwi_processed/dwi/final_data/sub-1135582_RNT_space-MNI_blur4.nii.gz’[0]’
1135578 5.33 ADHD 2 5 0.49 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135578/ses-S1/dwi_processed/dwi/final_data/sub-1135578_RNT_space-MNI_blur4.nii.gz’[0]’
1135571 4.86 ADHD 2 5 0.53 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135571/ses-S1/dwi_processed/dwi/final_data/sub-1135571_RNT_space-MNI_blur4.nii.gz’[0]’
1135570 5.82 ADHD 2 5 0.29 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135570/ses-S1/dwi_processed/dwi/final_data/sub-1135570_RNT_space-MNI_blur4.nii.gz’[0]’
1135567 6.57 ADHD 2 3 0.22 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135567/ses-S1/dwi_processed/dwi/final_data/sub-1135567_RNT_space-MNI_blur4.nii.gz’[0]’
1135564 5.74 ADHD 1 6 0.22 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135564/ses-S1/dwi_processed/dwi/final_data/sub-1135564_RNT_space-MNI_blur4.nii.gz’[0]’
1135559 5.46 ADHD 2 2 0.18 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135559/ses-S1/dwi_processed/dwi/final_data/sub-1135559_RNT_space-MNI_blur4.nii.gz’[0]’
1135551 4.59 ADHD 1 5 0.65 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135551/ses-S1/dwi_processed/dwi/final_data/sub-1135551_RNT_space-MNI_blur4.nii.gz’[0]’
1135544 5.51 ADHD 1 5 1.32 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135544/ses-S1/dwi_processed/dwi/final_data/sub-1135544_RNT_space-MNI_blur4.nii.gz’[0]’

Change the following line

-qVars “age+sex+educ+movement” \

to

-qVars “age,sex,educ,movement” \

Thank you, this worked!

Anthony

Hello,

Sorry if this is a duplicate. I tried posting but I don’t see it. Anyway, I just wanted to solve one additional problem. I am interested in the Age main effect, specifically the direction of it. The F test is reported, but it doesn’t provide the slope.

I assume I can run the following?

'DxGroup : 1ADHD -1Typical Age : ’
'DxGroup : 1ADHD Age : ’
'DxGroup : 1
Typical Age : ’

which will give me everything I want for Age? Age is centered on the mean.

Does this look right?

3dMVM -prefix RNT_interaction_ABCD -jobs 12
-mask /home/data/dcnlab/AHEAD/dset/derivatives/dwi/ABCD-mask.nii.gz
-bsVars "ageDxGroup+sex+educ+movement"
-qVars “age,educ,movement”
-qVarCenters ‘5.5,4.75,.55’
-num_glt 3
-gltLabel 1 age_glt -gltCode 1 'DxGroup : 1
ADHD -1Typical Age : ’
-gltLabel 2 age_ADHD_glt -gltCode 2 'DxGroup : 1
ADHD Age : ’
-gltLabel 3 age_Typical_glt -gltCode 3 ‘DxGroup : 1*Typical Age : ’
-dbgArgs
-dataTable
Subj age DxGroup sex educ movement InputFile
4155012 5.42 Typical 2 5 0.44 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/4155012/ses-S1/dwi_processed/dwi/final_data/sub-4155012_RNT_space-ABCD_blur4.nii.gz’[0]’

1135582 5.99 ADHD 1 6 0.23 /home/data/dcnlab/AHEAD/dset/derivatives/dwi/1135582/ses-S1/dwi_processed/dwi/final_data/sub-1135582_RNT_space-ABCD_blur4.nii.gz’[0]’

Yes, those 3 lines would help you parse the age effect in terms of its directionality.