AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 17, 2019 10:16PM
Hi all,

I'm trying to get voxelwise residual images by regressing beta images (output from SPM) from my baseline condition out of beta images from my condition of interest. I've tried using the following script:

3dMVM -prefix Example4 -jobs 1 \
-vVars 'Bbaseline' \
-vVarsCenter 0 \
-resid residuals \
-dataTable \
Subj Bbaseline InputFile \
s1 s1/beta_0001.nii s1/beta_0002.nii \
s2 s2/beta_0001.nii s2/beta_0002.nii \
s3 s3/beta_0001.nii s3/beta_0002.nii \
s4 s4/beta_0001.nii s4/beta_0002.nii \
s5 s5/beta_0001.nii s5/beta_0002.nii \
s6 s6/beta_0001.nii s6/beta_0002.nii \
s7 s7/beta_0001.nii s7/beta_0002.nii \
s8 s8/beta_0001.nii s8/beta_0002.nii \
s9 s9/beta_0001.nii s9/beta_0002.nii \
s10 s10/beta_0001.nii s10/beta_0002.nii \
s11 s11/beta_0001.nii s11/beta_0002.nii \
s12 s12/beta_0001.nii s12/beta_0002.nii \
s13 s13/beta_0001.nii s13/beta_0002.nii \
s14 s14/beta_0001.nii s14/beta_0002.nii

but keep getting the following error:

Error in out[, , kk, ] <- array(apply(inData[, , kk, ], c(1, 2), runAOV, :
incorrect number of subscripts

I'm not sure what is causing this error, any help would be greatly appreciated!

Thanks so much!
Mackenzie
Subject Author Posted

residuals from 3DMVM

sundaym January 17, 2019 10:16PM