Dear FreeSurfer experts,

I am trying to analyze some single time points of my longitudinal data in QDEC. 
I have 3 groups and created a file for the discrete factor "group" with three 
levels (1,2 and 3). I have done the same for gender (with 2 levels). The 
analysis with gender works just fine but when I try to use group as a factor I 
get an error message that factor 1 must have 2 levels:

SUBJECTS_DIR is '/scr/etsch2/kids/ct'
ERROR: QdecGlmDesign::GenerateContrasts: factor 1 must have 2 levels
ninputs = 72
Checking inputs
nframestot = 72
Allocing output
Done allocing
nframes = 72
Writing to /scr/etsch2/kids/ct/qdec/lh.thick10_groupdiffsc1/y.mgh
gdfReadHeader: reading 
/scr/etsch2/kids/ct/qdec/lh.thick10_groupdiffsc1/qdec.fsgd
INFO: gd2mtx_method is dods
Reading source surface /scr/etsch2/kids/ct/87kids_template/surf/lh.white
ERROR: no contrasts specified.
Error in Analyze: command failed: mri_glmfit --y 
/scr/etsch2/kids/ct/qdec/lh.thick10_groupdiffsc1/y.mgh --fsgd 
/scr/etsch2/kids/ct/qdec/lh.thick10_groupdiffsc1/qdec.fsgd dods --glmdir 
/scr/etsch2/kids/ct/qdec/lh.thick10_groupdiffsc1 --surf 87kids_template lh

In the tutorial it doesn't state that QDEC has to have discrete factors with 2 
levels only.
Am I doing something wrong or is there a work-around for that?

Cheers, Clara
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to