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  

|
April 25, 2019 08:09PM
Hi AFNI gurus,

I cannot get 3dMVM running using two covariates - I am sure I am doing something wrong. I think the problem stems from attempting to use two covariates in the gltCode - can such a thing be done? I've tried both glt and glfCode. I realize that my gltCode tests are t-tests which could be done with 3dttest++, but I have many such tests to run and was trying to not conduct too many t-tests.

I'd appreciate any input.
-n

Command I'm attempting to run:
3dMVM -prefix MVM_FUMC_10 -jobs 10 -mask Intersection_GM_mask+tlrc \
-bsVars 'Group*Snif+Group*SPA' \
-wsVars Stim \
-qVars 'Snif,SPA' \
-num_glt 4 \
-gltLabel 1 G_Mask -gltCode 1 'Group : 1*Con -1*Aut Stim : 1*Mask Snif : SPA : ' \
-gltLabel 2 G_FBO -gltCode 2 'Group : 1*Con -1*Aut Stim : 1*FBO Snif : SPA : ' \
-gltLabel 3 G_UBO -gltCode 3 'Group : 1*Con -1*Aut Stim : 1*UBO Snif : SPA : ' \
-gltLabel 4 G_CA -gltCode 4 'Group : 1*Con -1*Aut Stim : 1*CA Snif : SPA : '  \
-dataTable \
Subj Group Stim Snif SPA InputFile \
sub-606 Aut Mask 13 46 sub-606/PPI_FUMC_10_stats_REML+tlrc'[29]' \
sub-606 Aut FBO 13 46 sub-606/PPI_FUMC_10_stats_REML+tlrc'[32]' \
sub-606 Aut UBO 13 46 sub-606/PPI_FUMC_10_stats_REML+tlrc'[35]' \
sub-606 Aut CA 13 46 sub-606/PPI_FUMC_10_stats_REML+tlrc'[38]' \
sub-608 Aut Mask 11 42 sub-608/PPI_FUMC_10_stats_REML+tlrc'[29]' \
sub-608 Aut FBO 11 42 sub-608/PPI_FUMC_10_stats_REML+tlrc'[32]' \
sub-608 Aut UBO 11 42 sub-608/PPI_FUMC_10_stats_REML+tlrc'[35]' \
sub-608 Aut CA 11 42 sub-608/PPI_FUMC_10_stats_REML+tlrc'[38]' \
...
sub-1138 Con Mask 13 40 sub-1138/PPI_FUMC_10_stats_REML+tlrc'[29]' \
sub-1138 Con FBO 13 40 sub-1138/PPI_FUMC_10_stats_REML+tlrc'[32]' \
sub-1138 Con UBO 13 40 sub-1138/PPI_FUMC_10_stats_REML+tlrc'[35]' \
sub-1138 Con CA 13 40 sub-1138/PPI_FUMC_10_stats_REML+tlrc'[38]'

Error message:
** Error:
   Inappropriate coding in test No.1!

Warning messages:
1: In if (is.na(code[[n]][QVpos + 2])) { :
  the condition has length > 1 and only the first element will be used
2: In if (QVpos == 1) outList[[1]][[n]] <- NA else outList[[1]][[n]] <- glfConstr(code[[n]][-(QVpos:(QVpos +  :
  the condition has length > 1 and only the first element will be used
3: In QVpos:(QVpos + 2) :
  numerical expression has 2 elements: only the first used
4: In QVpos:(QVpos + 2) :
  numerical expression has 2 elements: only the first used
5: In gl_Constr(lop$num_glt, lop$gltCode, lop) :
  NAs introduced by coercion

AFNI version:
afni -ver
Precompiled binary linux_openmp_64: Dec  5 2018 (Version AFNI_18.3.15 'Augustus')
Subject Author Posted

3dMVM with multiple covariates?

nmuncy April 25, 2019 08:09PM

Re: 3dMVM with multiple covariates?

gang April 25, 2019 08:51PM

Re: 3dMVM with multiple covariates?

nmuncy April 26, 2019 10:57AM

Re: 3dMVM with multiple covariates?

gang April 26, 2019 05:09PM

Re: 3dMVM with multiple covariates?

nmuncy April 27, 2019 01:06PM