Hello Freesurfer Experts, I am performing a mass-univariate analyses using the LME toolbox for longitudinal studies.
After running both mris_preproc and mri_surf2surf , I load the lh.thickness_sm10.mgh file using *[Y,mri] = fs_read_Y('lh.thickness_sm10.mgh');* Next, I run the following command: *Qdec = fReadQdec('qdec.table.dat');* However, it seems that the output is entirely in string format "166 x 1 cell". The first row reads as "'fsid fsid-base years group gender age'" in a single column. Because of this, I am running into problems when I try to execute the following steps: *Qdec = rmQdecCol(Qdec,1);* (removes first column) *sID = Qdec(2:end,1); (grabs the subjects' IDs)* *Qdec = rmQdecCol(Qdec,1);* (removes the subjects'ID column) *M = Qdec2num(Qdec);* (converts to a numeric matrix) *[M,Y,ni] = sortData(M,1,Y,sID);* (sorts the data) Your help will be greatly appreciated! Many thanks. Best Regards, Elijah -- Elijah Mak, Gates Scholar PhD Candidate *|* Psychiatry University of Cambridge Trinity College, Cambridge, CB2 1TQ
_______________________________________________ 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.