[Eeglablist] how to access results for statcondfieldtrip

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Tue Oct 6 12:28:40 PDT 2015

Dear Michele,

I haven't used the function so I don't have an answer to this specific
Generally speaking, your typical workaround in this situation is to use a
debug mode. Put a breakpoint inside the code, run the calculation (Note: if
you open STUDY plot/edit window, matlab gets stack there; so put a
breakpoint first and then open plot/edit window), intercept the process,
and see what you have in the workspace. It's bothersome and maybe demanding
a little bit, but it is a general solution.

So, type 'edit statcondfieldtrip' to open it in the editor, and please try


On Tue, Sep 29, 2015 at 8:10 AM, Michele Scaltritti <
michele.scaltritti at gmail.com> wrote:

> Dears,
> I'm new to EEGLAB and to EEG analyses in general, so I hope my question is
> legitimate and does not rest (or not only) on severe basic
> misunderstandings.
> I have a STUDY for a simple experiment, with 2 within-participant
> conditions and 6 participants. For statistical analyses, I've been
> suggested to use the non parametric cluster-based permutation procedure
> (Maris and Oostenveld). I implemented it using the GUI (Fieldtrip
> statistics). However, I would like to access the actual results of this
> procedure. By searching around on the internet, I found that possibly
> results are not stored automatically when running the function from the GUI
> and that scripting may be needed. Basically, I would need to write the
> exact function that was used to get results for the plot via the GUI (I
> wasn't able to retrieve it using eegh). I understood that the function
> should look like this:
> [stats, df, pvals] = statcondfieldtrip (data)
> My first and most basic problem is that I don't really get how my data
> (from STUDY) should be re-formatted in order to be correctly passed to the
> function. My idea would be to compare the two conditions across all the
> channels (64 electrodes), so that appropriate corrections (for multiple
> corrections both in time and space) are in place.
> The second issue refers to the 'neighbors' parameter. Should I define the
> Fieldtrip channel neighbor structure beforehand
> (using std_prepare_neighbors) and then pass this structure to the
> statcondfieldtrip function?
> Thank you so much for your attention
> michele scaltritti
> p.s. of course I would be happy i you can just direct me towards a
> tutorial taking into consideration these basic issues. My searches were
> unfruitful.
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20151006/acfe6acf/attachment.html>

More information about the eeglablist mailing list