Hello,

I am attempting to include a voxel-wise covariate (a nifti file showing the grey matter probability maps from VBM analysis) in my 3dMVM script see below, but I keep getting this error and I am not sure what this pertains to. Any help or suggestions is much appreciated!

Error in dim(vQV) ← c(dimx, dimy, dimz, length(unique(lop$dataStr[, lop$vQV[1]]))) :

dims [product 42024960] do not match the length of object [351351000]

Execution halted

All the best,

Klad

3dMVM -prefix Fed_VBM -jobs 4

-bsVars group

-wsVars "phase*reinf"
-vVars VBM
-SS_type 3
-num_glt 19
-gltLabel 1 3way_inter -gltCode 1 'group : 1*pat -1

*ctrl phase : 1*acq -1

*rev reinf : 1*corr -1

*incor’*

-gltLabel 2 group_phase -gltCode 2 'group : 1pat -1

-gltLabel 2 group_phase -gltCode 2 'group : 1

*ctrl phase : 1*acq -1

*rev’*

-gltLabel 3 group_reinf -gltCode 3 'group : 1pat -1

-gltLabel 3 group_reinf -gltCode 3 'group : 1

*ctrl reinf : 1*corr -1

*incor’*

-gltLabel 4 phase_reinf -gltCode 4 'phase : 1acq -1

-gltLabel 4 phase_reinf -gltCode 4 'phase : 1

*rev reinf : 1*corr -1

*incor’*

-gltLabel 5 group -gltCode 5 'group : 1pat -1

-gltLabel 5 group -gltCode 5 'group : 1

*ctrl’*

-gltLabel 6 phase -gltCode 6 'phase : 1acq -1

-gltLabel 6 phase -gltCode 6 'phase : 1

*rev’*

-gltLabel 7 reinf -gltCode 7 'reinf : 1corr -1

-gltLabel 7 reinf -gltCode 7 'reinf : 1

*incor’*

-gltLabel 8 acq_group -gltCode 8 'phase : 1acq group : 1

-gltLabel 8 acq_group -gltCode 8 'phase : 1

*pat -1*ctrl’

-gltLabel 9 rev_group -gltCode 9 ‘phase : 1

*rev group : 1*pat -1

*ctrl’*

-gltLabel 10 corr_group -gltCode 10 'reinf : 1corr group : 1

-gltLabel 10 corr_group -gltCode 10 'reinf : 1

*pat -1*ctrl’

-gltLabel 11 incor_group -gltCode 11 ‘reinf : 1

*incor group : 1*pat -1

*ctrl’*

-gltLabel 12 acq_reinf -gltCode 12 'phase : 1acq reinf : 1

-gltLabel 12 acq_reinf -gltCode 12 'phase : 1

*corr -1*incor’

-gltLabel 13 rev_reinf -gltCode 13 ‘phase : 1

*rev reinf : 1*corr -1

*incor’*

-gltLabel 14 corr_phase -gltCode 14 'reinf : 1corr phase: 1

-gltLabel 14 corr_phase -gltCode 14 'reinf : 1

*acq -1*rev’

-gltLabel 15 incor_phase -gltCode 15 ‘reinf : 1

*incor phase : 1*acq -1

*rev’*

-gltLabel 16 group_acq_corr -gltCode 16 'group : 1pat -1

-gltLabel 16 group_acq_corr -gltCode 16 'group : 1

*ctrl phase : 1*acq reinf : 1

*corr’*

-gltLabel 17 group_acq_incor -gltCode 17 'group : 1pat -1

-gltLabel 17 group_acq_incor -gltCode 17 'group : 1

*ctrl phase : 1*acq reinf : 1

*incor’*

-gltLabel 18 group_rev_corr -gltCode 18 'group : 1pat -1

-gltLabel 18 group_rev_corr -gltCode 18 'group : 1

*ctrl phase : 1*rev reinf : 1

*corr’*

-gltLabel 19 group_rev_incor -gltCode 19 'group : 1pat -1

-gltLabel 19 group_rev_incor -gltCode 19 'group : 1

*ctrl phase : 1*rev reinf : 1*incor’

-dataTable

Subj group phase reinf VBM InputFile

6292 pat acq corr 6292/smwc16292.nii 6292/Proc_FIRST_3RUNS_6292_April2019.results/6292_RevP_acq_corr_fed+tlrc

6292 pat acq incor 6292/smwc16292.nii 6292/Proc_FIRST_3RUNS_6292_April2019.results/6292_RevP_acq_incor_fed+tlrc

6292 pat rev corr 6292/smwc16292.nii 6292/Proc_FIRST_3RUNS_6292_April2019.results/6292_RevP_rev_corr_fed+tlrc

…

…

…

…

.