clusterstats empty cfg.neighbours, cfg.neighbours example

Chetan Sharma chesharm at STANFORD.EDU
Thu Mar 4 16:51:03 CET 2010


I am still running into bugs when doing the freq_time clustering. I am
testing for coherence between the hemispheres during a task, and now it runs
into problems at clusterstat() at line 175. The command is:

posclusobs = findcluster(reshape(postailobs,
      [cfg.dim,1]),channeighbstructmat,cfg.minnbchan);

The problem is that postailobs has size [nfreq*ntime, 1], while the cfg.dim
is [nchan nfreq ntime], where nchan=2 in this case. It seems like it wants
to reshape it into size [nfreq, ntime, 1]. Is this indeed the case?

And could someone help me out by explaining a bit more about when one would
choose for cfg.clusterthreshold the different values,
'nonparametric_common', 'nonparametric_individual', and 'parametric' when
testing for coherence in different brain areas? I have read over the
documentation and the code but am still somewhat unsure.

Thank you for the help,
-chetan

On Thu, Mar 4, 2010 at 6:13 AM, Andrea Ostendorf <aostendorf at besa.de> wrote:

> Dear Roemer,
>
> thanks. Yes, this helps.
>
> >I don't know why you want to edit cfg.channel though.
>
> Sorry, I just meant that I have to specify the channels which I want to
> send
> to ft_freqstatistics.
>
> All the best
> Andrea
>
> ----------------------------------
> The aim of this list is to facilitate the discussion between users of the
> FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG
> and EEG analysis. See also
> http://listserv.surfnet.nl/archives/fieldtrip.html and
> http://www.ru.nl/neuroimaging/fieldtrip.
>

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100304/896e9a49/attachment-0002.html>


More information about the fieldtrip mailing list