Hi Sabin fReadQdec requires space-delimited format for the colums of your qdec not tabs. It's easy to modify the script so it can work with tab-delimited format thoug. Best |
Its under freesurfer/matlab/lme/Qdec. This is what is suggested to use while performing linear mixed effects models in freesurfer. http://surfer.nmr.mgh.harvard.edu/fswiki/LinearMixedEffectsModels On Tuesday, February 18, 2014 3:35 PM, Douglas N Greve <greve@nmr.mgh.harvard.edu> wrote: where did you get this m file from? I don't see it in our distribution.
On 02/18/2014 03:29 PM, sabin khadka wrote: > Hi Doug, > Thanks for the reply. Yeah I have my qdec.table.dat file in the same > format as wiki says and in tab delimited format. But when I try to run > fReadQdec it reads it as N(# of subjects)X1 cell (discounting for all > tabs and spaces). I was assuming it would give me N X M(no of columns > for each variable that I put in table). > > -Sabin > > > On Tuesday, February 18, 2014 1:26 PM, Douglas N Greve > <greve@nmr.mgh.harvard.edu> wrote: > > yes, it has a certain format. Look at the examples on the wiki > doug > > On 02/18/2014 11:19 AM, sabin khadka wrote: > > Hi all, > > I am trying to run fReadQdec.m. My qdec.table.dat file is a tab > > delimited file. However when it reads to Qdec variable it reads it as > > N(# of subjects)X1 cell (discounting for all tabs and spaces). I tried > > debugging the code but it seems to me like it is just a simple read > > file in matlab. Does the qdec.table.dat file need to be in certain > format? > > > > -Sabin > > > > > > > > > _______________________________________________ > > Freesurfer mailing list > > Freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu> > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > -- > Douglas N. Greve, Ph.D. > MGH-NMR Center > greve@nmr.mgh.harvard.edu <mailto:greve@nmr.mgh.harvard.edu> > Phone Number: 617-724-2358 > Fax: 617-726-7422 > > Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting > FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 > www.nmr.mgh.harvard.edu/facility/filedrop/index.html > Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu <mailto: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 > 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. > > > > -- Douglas N. Greve, Ph.D. MGH-NMR Center greve@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer |