External Email - Use Caution        

Hello FreeSurfer Developers,

I have a problem. Can you help me

freesurfer version : 6.0.0

Load qdec when I run qdec.table.dat, the data is loaded correctly, but when I 
design, I choose discrete and continuous factors for analysis
The error log is as follows
:
————————————————
Input table: /media/root/Backup_Plus2/new/RECON/qdec/qdec5.table.dat
Subj#, SubjID, Data...
    1 bd1 d Male 15.000000 8.000000
    2 bd2 d Female 19.000000 13.000000
    3 bd3 d Male 25.000000 9.000000
    4 bd4 d Male 17.000000 12.000000
    5 bd5 d Male 16.000000 10.000000
    6 bd6 m Female 22.000000 12.000000
    7 bd7 d Male 17.000000 11.000000
    8 bd8 d Female 19.000000 13.000000
    9 bd9 m Female 26.000000 7.000000
   10 bd10 m Male 53.000000 15.000000
   11 bd11 m Female 56.000000 4.000000
   12 bd12 d Female 21.000000 14.000000
   13 bd13 m Female 19.000000 12.000000
   14 bd14 m Female 32.000000 15.000000
   15 bd15 d Male 21.000000 9.000000
   16 bd16 d Male 16.000000 10.000000
   17 bd17 d Male 15.000000 11.000000
   18 bd18 d Female 32.000000 10.000000
   19 bd19 d Female 20.000000 15.000000
   20 bd20 d Female 17.000000 11.000000
   21 bd22 m Male 22.000000 11.000000
   22 bd23 m Female 28.000000 6.000000
   23 bd24 d Male 26.000000 11.000000
   24 bd25 m Female 24.000000 9.000000
   25 bd26 m Female 30.000000 6.000000
   26 bd27 m Female 20.000000 12.000000
   27 bd28 d Female 28.000000 16.000000
   28 bd29 m Female 18.000000 12.000000
   29 bd30 d Male 21.000000 15.000000
   30 bd31 d Female 30.000000 16.000000
   31 bd32 d Male 18.000000 11.000000
   32 bd33 d Female 16.000000 10.000000
   33 bd34 d Male 21.000000 11.000000
   34 bd35 d Female 15.000000 10.000000
   35 bd36 d Female 16.000000 10.000000
   36 bd37 d Male 19.000000 14.000000
   37 bd39 d Male 16.000000 10.000000
   38 bd40 m Female 20.000000 14.000000
   39 bd41 m Female 21.000000 15.000000
   40 bd42 d Male 23.000000 9.000000
   41 bd43 m Male 27.000000 9.000000
   42 bd44 d Female 15.000000 8.000000
   43 bd45 m Male 19.000000 9.000000
   44 bd46 d Female 16.000000 11.000000
   45 bd47 m Female 23.000000 15.000000
   46 bd48 m Male 18.000000 13.000000
   47 bd49 d Female 22.000000 15.000000
   48 bd50 d Female 17.000000 11.000000
   49 bd51 d Male 17.000000 10.000000
   50 bd52 d Male 27.000000 15.000000
   51 bd53 m Male 16.000000 9.000000
   52 bd54 d Male 18.000000 12.000000
   53 bd55 d Female 18.000000 11.000000
   54 bd56 m Female 16.000000 10.000000
   55 bd57 d Male 16.000000 9.000000
   56 bd58 m Male 22.000000 9.000000
   57 bd59 m Male 16.000000 8.000000
   58 bd60 d Male 16.000000 9.000000
   59 bd61 m Female 18.000000 10.000000
   60 bd62 d Female 15.000000 9.000000
   61 hc1 h Male 52.000000 7.000000
   62 hc2 h Female 24.000000 10.000000
   63 hc3 h Male 45.000000 7.000000
   64 hc4 h Female 18.000000 13.000000
   65 hc5 h Female 19.000000 10.000000
   66 hc6 h Female 17.000000 12.000000
   67 hc7 h Female 19.000000 7.000000
   68 hc8 h Male 48.000000 5.000000
   69 hc9 h Female 53.000000 6.000000
   70 hc10 h Female 52.000000 15.000000
   71 hc11 h Female 19.000000 12.000000
   72 hc12 h Female 18.000000 12.000000
   73 hc13 h Female 20.000000 12.000000
   74 hc14 h Female 18.000000 12.000000
   75 hc15 h Female 19.000000 13.000000
   76 hc16 h Female 18.000000 11.000000
   77 hc17 h Female 19.000000 12.000000
   78 hc18 h Female 19.000000 12.000000
   79 hc19 h Female 19.000000 12.000000
   80 hc20 h Female 19.000000 12.000000
   81 hc21 h Female 18.000000 12.000000
   82 hc22 h Female 18.000000 12.000000
   83 hc23 h Female 18.000000 11.000000
   84 hc24 h Female 18.000000 12.000000
   85 hc25 h Female 18.000000 12.000000
   86 hc26 h Female 18.000000 11.000000
   87 hc27 h Female 18.000000 12.000000
   88 hc28 h Female 18.000000 12.000000
   89 hc29 h Female 18.000000 11.000000
   90 hc30 h Male 20.000000 12.000000
   91 hc31 h Female 29.000000 17.000000
   92 hc32 h Female 16.000000 10.000000
   93 hc33 h Female 17.000000 10.000000
   94 hc34 h Female 26.000000 14.000000
   95 hc35 h Female 24.000000 17.000000
   96 hc36 h Female 22.000000 17.000000
   97 hc37 h Male 25.000000 17.000000
   98 hc38 h Male 24.000000 17.000000
   99 hc39 h Male 25.000000 17.000000
1  groups  discrete 3
    1  d
    2  m
    3  h
2  gender  discrete 2
    1  Male
    2  Female
3  age  continuous 0
4  edu  continuous 0
                Continuous Factors:         Mean:       StdDev:
                -------------------         -----       -------
                                age        22.293         9.015
                                edu        11.374         2.827

Number of subjects:   99
Number of factors:    4 (2 discrete, 2 continuous)
Number of classes:    6
Number of regressors: 18
============================================================
Data table loading completed successfully.
SUBJECTS_DIR is '/media/root/Backup_Plus2/new/RECON'
ERROR: QdecGlmDesign::GenerateContrasts: factor 1 must have 2 levels
ninputs = 99
Checking inputs
nframestot = 99
Allocing output
Done allocing
nframes = 99
Writing to /media/root/Backup_Plus2/new/RECON/qdec/Untitled/y.mgh
gdfRead(): reading /media/root/Backup_Plus2/new/RECON/qdec/Untitled/qdec.fsgd
INFO: DeMeanFlag keyword not found, DeMeaning will NOT be done.
Continuous Variable Means (all subjects)
0 age 22.2929 8.96937
1 edu 11.3737 2.81262
Class Means of each Continuous Variable
1 groupsd-genderMale  19.0000  10.8000
2 groupsm-genderMale  24.1250  10.3750
3 groupsh-genderMale  34.1429  11.7143
4 groupsd-genderFemale  19.7647  11.9412
5 groupsm-genderFemale  24.8667  10.6000
6 groupsh-genderFemale  21.4375  11.9688
INFO: gd2mtx_method is dods
Reading source surface 
/media/root/Backup_Plus2/new/RECON/fsaverage/surf/lh.white
ERROR: no contrasts specified.

Error in Analyze: command failed: mri_glmfit --y 
/media/root/Backup_Plus2/new/RECON/qdec/Untitled/y.mgh --fsgd 
/media/root/Backup_Plus2/new/RECON/qdec/Untitled/qdec.fsgd dods --glmdir 
/media/root/Backup_Plus2/new/RECON/qdec/Untitled --surf fsaverage lh --label 
/media/root/Backup_Plus2/new/RECON/fsaverage/label/lh.aparc.label
——————————————————————————————————————————
I checked the description of .levels on the official website. I can use many 
categorical factors, but the error message is
ERROR: QdecGlmDesign::GenerateContrasts: factor 1 must have 2 levels
https://secure-web.cisco.com/1kUfsJNAvGVt8tBXKDcJYuIUu4h1wAq2TNCeY2z4M_AAEROQCyiNF8erx0p0_xUkY9RwXFNHevIxE9_V9VlM0YmkCVKQAvDiy7GdEMMXML-sxGZb09rPmfO6RwqpMl7okNXAH7301jABIpvluGdIzYdnd81AWb4ruMbw5uutO9Dqx_IS4u8YsAc1M3Q9J9eoPsajUtOoaD7lgU_dfMiFKyuFoaAEOgIhaNAiGgkjQj5s9TfYBR7UZKhNcT4MX25rxiLJ7IYqqOyLCk6BIiXLMy0Y3b_WgaKHSKDI7JivKepLvzkl6356XOHqK8TCuaFd8AEdb-62FHO0R--NTC7pmCA/https%3A%2F%2Ffreesurfer.net%2Ffswiki%2FFsTutorial%2FQdecLevels
Can I use many categorical factors
If I can, how can I solve this mistake

_______________________________________________
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 Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to