<div dir="ltr">Dear Alex, <div> This can be done by a few ways.</div><div> 1-Tweaking the field EEG.dipfit to fit your dipole information.</div><div> 2- Scripting a bit in std_preclust. More specifically in lines 320-343, where the dipole info is passed for the pre-clustering.</div><div> 3- Using the option 'customfunc' in std_precomp so you can create a custom field of computed measures (in this case your coordinates) and use this for your pre-clustering and later clustering.</div><div><br></div><div> Hope this helps.</div><div>Ramon</div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 2, 2016 at 9:27 AM, Alex Billig <span dir="ltr"><<a href="mailto:ajbillig@gmail.com" target="_blank">ajbillig@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"><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Hello,</span><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">I have an epoched MEG data set in EEGLAB, on which I have run an ICA. Because I was more familiar with SPM's source localisation functionality and forward models, I then exported the component scalp maps there to derive dipole locations using individual MRI scans. I would now like to cluster components in the EEGLAB study, using the SPM-derived dipole MNI coordinates as one of the clustering dimensions. I don't think this is possible in the EEGLAB GUI, which expects the dipoles to have been derived via DIPFIT. So I have started to work through the pop_preclust.m and pop_clust.m scripts to see where I might be able to moderate them to feed these coordinates. Neither function seems to refer to the EEG.dipfit field, so I am a little stuck. Has anyone else done this before, or can the programmers give me some pointers as to where in the code I need to be?</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Many thanks,</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Alexander Billig</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Postdoctoral Research Fellow</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">Brain and Mind Institute</div><div style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:13px">University of Western Ontario</div></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.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.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="color:rgb(136,136,136)">_____________________________________________________</span><br></div><div><span style="color:rgb(136,136,136)">Ramon Martinez-Cancino</span></div><span style="color:rgb(136,136,136)">Swartz Center for Computational Neuroscience</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Institute for Neural Computation, University of California San Diego</span><br></div></div>
</div>