plotting clusterandanalysis output.

Sameer Walawalkar sameer at ANDREW.CMU.EDU
Tue Jul 3 21:09:08 CEST 2007


Hello,

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:tutorial:clusterrandanalysis

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.



More information about the fieldtrip mailing list