Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-21 Thread Angela Favaro
thank you! Martin Reuter ha scritto: > Hi Angela, > > to get the fs_write_Y to work, you would first need to set > mri.volsz(4) = 1 > (to tell it to write only a single frame). > > But for writing significance maps, you can use fs_write_fstats (as you did). > > Usually you don't describe the d

Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-21 Thread Martin Reuter
Hi Angela, to get the fs_write_Y to work, you would first need to set mri.volsz(4) = 1 (to tell it to write only a single frame). But for writing significance maps, you can use fs_write_fstats (as you did). Usually you don't describe the data, but simply capture the overlay of the p values on

Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-20 Thread Angela Favaro
I was finally able to run linear mixed models with my data - thank you very much Martin for your precious help! No I would need some help/advice for visualization and description of my results The command fs_write_Y(sided_pval,mri,'spval.mgh') is not working on my matlab. This is the message erro

Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-06 Thread Martin Reuter
Actually I am just adding a fix for this submitted by a user (thanks Knut) , so it should work with modern versions soon. Best, Martin On 04/06/2016 11:02 AM, Martin Reuter wrote: > Hi Angela, > > newer versions of matlab don't support the old matlabpool comands any > longer. You need to use an

Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-06 Thread Martin Reuter
Hi Angela, newer versions of matlab don't support the old matlabpool comands any longer. You need to use an older matlab version (less than 8.2.0.29). Best, Martin On 04/05/2016 06:06 PM, Angela Favaro wrote: > Hi Martin, thank you for your help. > I still have problems in running mixed models

Re: [Freesurfer] mixed models and longitudinal streaming

2016-04-05 Thread Angela Favaro
Hi Martin, thank you for your help. I still have problems in running mixed models analyses. Do I need some additional toolbox in matlab? (I did not find this information in the web) I tried to run the module in two versions of matlab, but the same problem occurr. I used these commands: [M,Y,ni] =

Re: [Freesurfer] mixed models and longitudinal streaming

2016-03-21 Thread Martin Reuter
Hi Angela, the smooth function seems to be part of the curve fitting toolbox http://www.mathworks.com/help/curvefit/smooth.html so either that is missing, or your version is too old. You can skip the lowess Plot (it is just for initially checking the data). Make sure your M has the same number o

[Freesurfer] mixed models and longitudinal streaming

2016-03-20 Thread Angela Favaro
Dear Freesurfer experts, I need some help with the longitudinal streaming and the use of mixed models in matlab. I followed all the instructions and tried to use the following commands in matlab: lme_timePlot(M(:,1),Y,ni) and this worked well However, when I tried this: lme_lowessPlot(M(:,1),Y,0.