Karl,<br><br>I believe you can accomplish the same thing as ft_clusterplot using the code sample at <a href="http://fieldtrip.fcdonders.nl/tutorial/cluster_permutation_timelock#plotting_the_results1">http://fieldtrip.fcdonders.nl/tutorial/cluster_permutation_timelock#plotting_the_results1</a>, which also gives you the option to plot negative or positive clusters (or both, if you fiddle with that code; there is a sample higher up on the page that plots both).<br>
<br>Best,<br>Steve Politzer-Ahles<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Message: 2<br>
Date: Wed, 5 Oct 2011 15:50:01 -0700<br>
From: Karl Doron <<a href="mailto:karl.doron@gmail.com">karl.doron@gmail.com</a>><br>
To: <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
Subject: [FieldTrip] Clusterplot with F-test<br>
Message-ID: <<a href="mailto:AE6D70A8-4C39-4400-909B-250ECDB34755@gmail.com">AE6D70A8-4C39-4400-909B-250ECDB34755@gmail.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hello,<br>
<br>
I've run a statistical analysis with cfg.statistic=depsamplesF. The tail of the F distribution is a one-sided test, so no negative cluster distributions are output as part of the processing. The clusterplot function seems to want negative clusters however. Is there any way around this?<br>

<br>
Best,<br>
<br>
karl<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 6 Oct 2011 16:54:43 +1100<br>
From: Tommy Ng <<a href="mailto:tommy.ng@mq.edu.au">tommy.ng@mq.edu.au</a>><br>
To: <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
Subject: Re: [FieldTrip] Units for Y axis<br>
Message-ID:<br>
        <CABXsOyzauxDv__4a=<a href="mailto:neC_GubdCXbmqaFKPrOoe5k9cm1%2BHvZhA@mail.gmail.com">neC_GubdCXbmqaFKPrOoe5k9cm1+HvZhA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear FT Experts<br>
<br>
I am very new to FT and would like to ask a simple question.<br>
<br>
Using FT beamformer source extraction module implemented in SPM8, I obtained<br>
time series of virtual sensors in source space. However, I do not know what<br>
is the unit for the Y axis.<br>
<br>
Can someone please advise?<br>
<br>
Thank you in advance.<br>
<br>
Tommy Ng<br>
PhD Student<br>
Macquarie University<br>
Australia<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111006/2b4d2da3/attachment-0001.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111006/2b4d2da3/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 6 Oct 2011 10:13:41 +0200<br>
From: <<a href="mailto:B.Mouthaan@neuro.umcn.nl">B.Mouthaan@neuro.umcn.nl</a>><br>
To: <<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>><br>
Subject: [FieldTrip] Problems using .elp files<br>
Message-ID: <<a href="mailto:C1B628236A6B6B4AA11AE3022559568494D9B6@UMCEXBE04.umcn.nl">C1B628236A6B6B4AA11AE3022559568494D9B6@UMCEXBE04.umcn.nl</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear Fieldtrippers,<br>
<br>
I am using .avr files for source modelling on ERP data. From the ERP components, I have calculated the differencewaves in a .mat file. Until this it all went fine. However I get stuck at using .elp files.<br>
I can succesfully create the headmodel with ft_prepare_singleshell(cfg,segementedmri) with the semi-realistic head model developed by Nolte (2003)<br>
However when using ft_prepare_leadfield(cfg) I get problems.<br>
<br>
My code is like this:<br>
<br>
% discretize brainvolume in grid<br>
cfg=[]<br>
cfg.inputfile= 'C:\Users\Brian\Documents\MATLAB\AnalysisM\differencewave01'<br>
[lbl] = importdata([subjectdata.subjectdir filesep subjectdata.electrodes]) % reading in .elp files<br>
<br>
%renaming lbl.textdata to lbl.label, else it gives an error at ft_channelselection, because it is unable to read sens.label<br>
oldField = 'textdata';<br>
newField = 'label';<br>
[lbl.(newField)] = lbl.(oldField);<br>
lbl = rmfield(lbl,oldField);<br>
cfg.elec= lbl<br>
cfg.vol            = vol;<br>
cfg.reducerank      = 3;<br>
cfg.channel         = 'Fz'<br>
cfg.grid.resolution = 1;   % use a 3-D grid with a 1 cm resolution<br>
save cfg<br>
[grid] = ft_prepare_leadfield(cfg);<br>
<br>
When executing this I get the following commandscreen:<br>
....<br>
.....<br>
using headmodel specified in the configuration<br>
using electrodes specified in the configuration<br>
??? Error using ==> ft_prepare_vol_sens at 110<br>
the input does not look like EEG, nor like MEG<br>
<br>
Error in ==> prepare_headmodel at 114<br>
[vol, sens] = ft_prepare_vol_sens(vol, sens, 'channel', cfg.channel, 'order', cfg.order);<br>
<br>
Error in ==> ft_prepare_leadfield at 159<br>
[vol, sens, cfg] = prepare_headmodel(cfg, data);<br>
<br>
I think this is because I use .elp files? The .elp files contain N rows and 3 columns representing xyz or spherical coordinates I assume. However this is the only information I have about the electrodes, so I have to do with it.<br>

<br>
Any ideas?<br>
<br>
Kind regards,<br>
<br>
Brian<br>
<br>
<br>
<br>
<br>
<br>
<br>
Het UMC St Radboud staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 41055629.<br>
The Radboud University Nijmegen Medical Centre is listed in the Commercial Register of the Chamber of Commerce under file number 41055629.<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111006/1e3275df/attachment.html" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111006/1e3275df/attachment.html</a>><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
End of fieldtrip Digest, Vol 11, Issue 7<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Stephen Politzer-Ahles<br>University of Kansas<br>Linguistics Department<br><a href="http://www.linguistics.ku.edu/">http://www.linguistics.ku.edu/</a><br>