I have a single factor with three levels (diagnosis) and trying to setup qdec, but I get the following message – I have a .levels file with all 3 groups specified – the contrasts are not getting generated automatically.
Data table loading completed successfully.
SUBJECTS_DIR is '/Volumes/FREECOM/Applications/freesurfer/subjects/conn'
ERROR: QdecGlmDesign::GenerateContrasts: factor 1 must have 2 levels
ninputs = 87
Checking inputs
nframestot = 87
Allocing output
Done allocing
nframes = 87
Writing to /Volumes/FREECOM/Applications/freesurfer/subjects/conn/qdec/Untitled/y.mgh
gdfReadHeader: reading /Volumes/FREECOM/Applications/freesurfer/subjects/conn/qdec/Untitled/qdec.fsgd
INFO: gd2mtx_method is dods
Reading source surface /Volumes/FREECOM/Applications/freesurfer/subjects/conn/fsaverage/surf/lh.white
ERROR: no contrasts specified.
Error in Analyze: command failed: mri_glmfit --y /Volumes/FREECOM/Applications/freesurfer/subjects/conn/qdec/Untitled/y.mgh --fsgd /Volumes/FREECOM/Applications/freesurfer/subjects/conn/qdec/Untitled/qdec.fsgd dods --glmdir /Volumes/FREECOM/Applications/freesurfer/subjects/conn/qdec/Untitled --surf fsaverage lh --label /Volumes/FREECOM/Applications/freesurfer/subjects/conn/fsaverage/label/lh.aparc.label
Any help?
Thanks
Lena
________________________________
Lena Palaniyappan
Clinical Lecturer & Honorary StR | Division of Psychiatry ( University of Nottingham)
South Block 'A' floor| Queens Medical Centre | Nottingham | NG7 2UH
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use,
copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.