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 09, 2018 07:35AM
Hi, AFNI experts,

When I use paired 3dtest++ to analyse my group data between eyes open(EO) and eyes closed(EC) which is within subject, I want to add head motion as covariates. Therefore, I calculate averaged motion across all TRs in each subject's condition(EC and EO). And I got 6 number for each subject's condition,represented for 6 motion parametric(roll, pitch ,yaw,ds ,dl,dp).Then, I calculate absolute value of making EC averaged motion subtract EC averaged motion in every subject. Finally, I got a list of 6 averaged motion parametric of EC-EO for all subject. Here is the data table,which file name is 'motion_cov_ECvEO_del03.txt'.

subj roll pitch yaw ds dl dp
subj01 0.00043366 0.0016723 0.00099257 0.0020059 0.00087426 0.00089206
subj02 0.0033435 0.0044732 0.0017124 0.0022198 0.0021446 0.003556
subj04 0.0007257 0.0014431 0.0004065 0.0064732 0.0034252 0.005052
subj05 0.00073218 0.001202 0.0013787 0.0029742 0.0015723 0.0033188
subj06 0.013967 0.016465 0.0052084 0.026858 0.01368 0.014531
subj07 0.0016505 0.0009401 0.0049 0.0096836 0.0025317 0.0043183
subj08 0.0031069 0.0039599 0.0041099 0.011722 0.0006619 0.0070911
subj09 0.0039757 0.012604 0.007849 0.036342 0.01262 0.0086569
subj10 0.0032604 0.014714 0.003251 0.0041054 0.0010881 0.0022738
subj11 0.003748 0.0030911 0.0009832 0.0077777 0.0067663 0.003505
subj12 0.0010985 0.0027555 0.0038872 0.0032114 0.0060421 0.00059851
subj13 0.0021351 0.011116 0.00054954 0.0047065 0.0021366 0.0084144
subj14 0.0045733 0.0091005 0.0035643 0.010758 0.0054094 0.0052133
subj15 8.613e-05 0.0018946 0.0014035 0.000542 0.00023811 0.001506
subj16 0.0003035 0.0091837 0.0085702 0.003258 0.0025347 0.0018505
subj17 0.0035243 0.010365 0.00025 0.0012123 0.00048712 0.0059951

And when I use this data table in 3dttest++, it occur these error messages:
++ option -setA :: processing as LONG form (label label dset label dset ...)
++ option -setB :: processing as LONG form (label label dset label dset ...)
++ Mixed Table: processing file /media/hjr/Elements/fMRI_berlin/result/motion_cov_ECvEO_del03.txt
** ERROR: Table: can't open file
** ERROR: Can't read table from -covariates file '/media/hjr/Elements/fMRI_berlin/result/motion_cov_ECvEO_del03.txt'
** ERROR: Try re-running this program with the extra option -DAFNI_DEBUG_TABLE=YES
** FATAL ERROR: Can't continue after the above error!

And here is my 3dttest++ script:
3dttest++ -prefix SACC_FC_ECvEO \
-paired \
-setA EC subj01 'subj01_Z_EC_sacc+tlrc' \
subj02 'subj02_Z_EC_sacc+tlrc' \
subj04 'subj04_Z_EC_sacc+tlrc' \
subj05 'subj05_Z_EC_sacc+tlrc' \
subj06 'subj06_Z_EC_sacc+tlrc' \
subj07 'subj07_Z_EC_sacc+tlrc' \
subj08 'subj08_Z_EC_sacc+tlrc' \
subj09 'subj09_Z_EC_sacc+tlrc' \
subj10 'subj10_Z_EC_sacc+tlrc' \
subj11 'subj11_Z_EC_sacc+tlrc' \
subj12 'subj12_Z_EC_sacc+tlrc' \
subj13 'subj13_Z_EC_sacc+tlrc' \
subj14 'subj14_Z_EC_sacc+tlrc' \
subj15 'subj15_Z_EC_sacc+tlrc' \
subj16 'subj16_Z_EC_sacc+tlrc' \
subj17 'subj17_Z_EC_sacc+tlrc' \
-setB EO subj01 'subj01_Z_EO_sacc+tlrc' \
subj02 'subj02_Z_EO_sacc+tlrc' \
subj04 'subj04_Z_EO_sacc+tlrc' \
subj05 'subj05_Z_EO_sacc+tlrc' \
subj06 'subj06_Z_EO_sacc+tlrc' \
subj07 'subj07_Z_EO_sacc+tlrc' \
subj08 'subj08_Z_EO_sacc+tlrc' \
subj09 'subj09_Z_EO_sacc+tlrc' \
subj10 'subj10_Z_EO_sacc+tlrc' \
subj11 'subj11_Z_EO_sacc+tlrc' \
subj12 'subj12_Z_EO_sacc+tlrc' \
subj13 'subj13_Z_EO_sacc+tlrc' \
subj14 'subj14_Z_EO_sacc+tlrc' \
subj15 'subj15_Z_EO_sacc+tlrc' \
subj16 'subj16_Z_EO_sacc+tlrc' \
subj17 'subj17_Z_EO_sacc+tlrc' \
-covariates /media/hjr/Elements/fMRI_berlin/result/motion_cov_ECvEO_del03.txt \
-DAFNI_DEBUG_TABLE=YES

Thanks for your help!
Subject Author Posted

3dttest++ covariates error

hjr61547 January 09, 2018 07:35AM

Re: 3dttest++ covariates error

rick reynolds January 09, 2018 09:30AM

Re: 3dttest++ covariates error

Bob Cox January 10, 2018 02:13PM