<div dir="ltr"><div><div>I'm not sure exactly how it's done in STUDY (others on the list may be able to provide more information), but for what it's worth, using STUDY is not necessary. Basic EEGLAB has a topoplot() function which only needs a list of amplitudes (one per channel) and a list of channel locations (the `EEG.chanlocs` structure that is in the matlab workspace after you import a data file and its channel locations). Once you have this list of amplitudes (i.e., condition differences) per channel, then you can use the topoplot() function directly; there are examples in the documentation for this function and you can find more examples in previous messages on this list. There are lots of different ways you could get this list; STUDY is one way, what I usually do is write a MATLAB `for` loop to open and process each participant's file and then combine them into a grand average, or you can even make the list in some other software. (E.g., if you have already processed your data, then in whatever software you use for doing statistics you presumably already have this list of condition averages at each channel in the time window you're interested in; all you need to do is, at each channel, subtract one condition from the other, and then get that list of differences into MATLAB as an array which you can use in the topoplot() function).<br><br></div>Best,<br></div>Steve <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><span><div>---<br></div>Stephen Politzer-Ahles<br>The Hong Kong Polytechnic University<br>Department of Chinese and Bilingual Studies<br><a href="http://www.mypolyuweb.hk/~sjpolit/" target="_blank">http://www.mypolyuweb.hk/~sjpolit/</a></span><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank"></a></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 4, 2017 at 5:21 PM, Guannan (Mandy) Shen <span dir="ltr"><<a href="mailto:mandy.g.shen@gmail.com" target="_blank">mandy.g.shen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear EEG list,
<div><br></div><div>I'm working on creating some topoplots of condition differences (ERPs). I understand it requires some scripting in STUDY. I would really appreciate if someone can share your script with me! </div><div>So far I can only generate topo-maps of p- values of condition comparison in STUDY using the GUI. I'm trying to generate topo-maps of actual voltage differences between conditions (averaged). </div><div>Any insights would be greatly appreciated! </div><div><br></div><div>Many thanks,</div><div>Guannan Shen </div></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/<wbr>eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.<wbr>ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.<wbr>edu</a><br></blockquote></div><br></div>