plotting clusterandanalysis output.

Eric Maris maris at NICI.RU.NL
Wed Jul 4 11:26:43 CEST 2007


Sameer,



> After doing clusterandanalysis for coherence differences, I want to plot
> the results using information on
>
http://www2.ru.nl/fcdonders/fieldtrip/doku.php?id=fieldtrip:documentation:tu
tori
> al:clusterrandanalysis


You have to do some work yourself here. Replace labelcmb by a
one-dimensional cell array containing the labels of the non-reference
channels, and then use a topoplot-function.

Good luck,

Eric

dr. Eric Maris
NICI/Biological Psychology and
F.C. Donders Center for Cognitive NeuroImaging
University of Nijmegen
P.O. Box 9104
6500 HE Nijmegen
The Netherlands
T:+31 24 3612651 (NICI)
T:+31 24 3610754 (FCDC)
F:+31 24 3616066 (NICI)
E: maris at nici.ru.nl
MSc Cognitive Neuroscience :www.ru.nl/master/cns/
>
> plotdata requires
>
> plotdata.label=clusrand.label;
>
> However as
>
>
> clusrand =
>
>                    stats: [280x3 double]
>                raweffect: [280x3 double]
>                obsmeanc1: [280x3 double]
>                obsmeanc2: [280x3 double]
>              posclusters: [1x1 struct]
>              negclusters: []
>      posclusterslabelmat: [280x3 double]
>      negclusterslabelmat: []
>                 critvals: 57.8332
>                 labelcmb: {280x2 cell}
>                     freq: [54.7264 59.7015 64.6766]
>                     time: NaN
>                      cfg: [1x1 struct]
>
> I use
> plotdata.label = 'MEG2443' as that is what I have used in cfg.channelcmb
> (see below). This gives
>
> ??? Error using ==> fieldtrip/private/nearest at 24
> incorrect value
>
> what input cfg for clusrandanalysis would change this? My current (very
> experimental) cfg is
>
> cfg = [];
>      cfg.channelcmb = { 'MEG2443'  'MEG'};
>      cfg.statistic = 'indepsamplesZcoh' ;
>      cfg.alpha = 0.05 ;
>      cfg.clusterteststat = 'maxsum' ;
>      cfg.onetwo = 'onesided_1<2' ;
>      cfg.makeclusters = 'yes' ;
>      cfg.minnbchan  = 2;
>      cfg.nranddraws = 100;
>
>
> thanks for your time.
>
> best,
> sameer
>
> ----------------------------------
> 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/fcdonders/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/fcdonders/fieldtrip.



More information about the fieldtrip mailing list