<div dir="ltr"><div><div><div>Dear Max, Jim and Cristiano, <br><br></div>Thank you so much for sharing your experiences! I found your comments very helpful. I will certain try the things you suggested and see how the ICA works this time. <br>
<br></div><div>In addition, given that I have EOG and ECG recorded (but with different references), maybe it will also be beneficial if I calculate the coherence between the ICA components and EOG and ECG signals. <br></div>
<div><br></div>Furthermore, I think it will be very beneficial to the field if someone with rich experiences in applying ICA in TMS-EEG can write a paper on manual artifactual components recognition! ;)<br><br></div>Regards, <br>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr">-----<br>Bingshuo Li (MSc. candidate), Neuroprosthetic Group, CIN, Uni Tübingen</div></div><br><br><div class="gmail_quote">On Wed, Nov 27, 2013 at 2:59 PM, Cristiano Micheli <span dir="ltr"><<a href="mailto:michelic72@gmail.com" target="_blank">michelic72@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear J.D., Max and Bingshuo,<div><br></div><div>A brief comment: to be more confident about the correlative nature of an artifact being an artifact (a.k.a. unwanted interference) I always consider three things: topographies, time courses and spectra. The last one too, since it might inform about spectral components not evident at the bare eye from the time courses.</div>

<div>I'm not familiar with artifacts in TMS, but in all cases experience helps, especially if you see the same pattern in many subjects, in other published studies, from colleagues' data or from independent evidence (e.g. concomitant electromiography recorded from the facial muscles, for muscular artifacts identification).</div>

<div><br></div><div>HTH</div><div>Cristiano</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Nov 27, 2013 at 3:28 AM, Herring, J.D. (Jim) <span dir="ltr"><<a href="mailto:j.herring@fcdonders.ru.nl" target="_blank">j.herring@fcdonders.ru.nl</a>></span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><div class="im"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Dear </span>Bingshuo,<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I agree with Max that it would be beneficial to see the timecourses as well. Also, in case of ICA on TMS-EEG data I find it usefull to timelock average the time courses of the ICA components to the onset of the TMS pulse. That helps in identifying components that are related to the TMS pulse. <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Just from looking at the topographies I would say that component 7 is too posterior for being a cranial muscle artifact given that you are stimulating M1. Also, cranial muscle artifacts related to the TMS pulse usually last up to about 15ms after stimulation onset (see for example: <a href="http://fieldtrip.fcdonders.nl/_detail/development/tms/art_cranial_muscle.png?id=tutorial%3Atms-eeg" target="_blank">http://fieldtrip.fcdonders.nl/_detail/development/tms/art_cranial_muscle.png?id=tutorial%3Atms-eeg</a> ) unless you are actually referring to a decay artifact (<a href="http://fieldtrip.fcdonders.nl/_detail/development/tms/art_decay.png?id=tutorial%3Atms-eeg" target="_blank">http://fieldtrip.fcdonders.nl/_detail/development/tms/art_decay.png?id=tutorial%3Atms-eeg</a>) , which can last up to one second. You said that you cut and interpolated up to 18ms after stimulation so you should not see any cranial muscle artifacts related to TMS.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Too me component 7 looks more like a topography related to posterior alpha oscillations, however, to be sure we need to see the time courses. Component 13 and 18 might be neck muscle artifacts, however, without performing a timelock analysis of the ICA components and inspecting the time courses it is hard to tell whether these are due to the TMS-pulse. <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Component 42 and 54 could indeed just reflect two bad channels, at least they seem to contain some variance that cannot be explained by a combination of the other channels. <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jim<u></u><u></u></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>

<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>] <b>On Behalf Of </b>Bingshuo Li<br>

<b>Sent:</b> dinsdag 26 november 2013 18:26<br><b>To:</b> <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br><b>Subject:</b> [FieldTrip] ICA in TMS-EEG<u></u><u></u></span></p></div></div>
<div>
<div><p class="MsoNormal"><u></u> <u></u></p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12pt">Dear FieldTrip Community, <u></u><u></u></p>

</div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">I recently started to analyze some TMS-EEG datasets and I encountered some questions regarding to using ICA to remove eye movement/muscle artifacts in our EEG data. As I am quite new to the analysis of TMS-EEG, I would like to inquire the FT community for some hints or suggestions. Below are the details of my questions:<u></u><u></u></p>

</div></div></div><p class="MsoNormal">//Description of Data Processing//<u></u><u></u></p></div><div><div class="h5"><div><p class="MsoNormal">- EEG with 64 channel, sampling frequency 2500 Hz, electrode impedance less than 5 kOhm<u></u><u></u></p>
</div>
<p class="MsoNormal">- Every epoch consists of 1s prior to and 1s after TMS (130-150 trials per subject)<u></u><u></u></p></div></div></div><div><div class="h5"><p class="MsoNormal">- TMS contaminated data points were cut out symmetrically -18ms to +18ms relative to TMS onset. Cubic spline interpolation is used to fill in the cut. <u></u><u></u></p>

</div></div></div><div><div class="h5"><p class="MsoNormal">- Bandpass 0.5 - 80 Hz, with BUT and filter order 3. <br>- Discrete Fourier transform filter (cfg.dftfilter) to remove 50 Hz line noise<u></u><u></u></p></div></div>
</div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">
- Visual inspection and rejection of trials with obvious unstable signal or channels.<u></u><u></u></p></div></div></div><p class="MsoNormal"> //ICA//<u></u><u></u></p></div><p class="MsoNormal">- ICA algorithm: runica<u></u><u></u></p>

</div><div><div class="h5"><p class="MsoNormal">- Demeaned data for ICA training (baseline is defined as the entire epoch -1 to +1s)<u></u><u></u></p></div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">
- Unmixing matrix applied to non-demeaned data for component removal <u></u><u></u></p>
</div></div></div><p class="MsoNormal">/////QUESTIONS/////<u></u><u></u></p></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">Please see the image below for a typical result of ICA from a subject with TMS applied at M1 (32 epochs for ICA training):<br>

<a href="https://www.dropbox.com/s/chwo2jnwi72saba/ica1.png" target="_blank">https://www.dropbox.com/s/chwo2jnwi72saba/ica1.png</a><u></u><u></u></p></div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">
Q1: It seems obvious to me that component 1 and 2 are of eyeblink origin. However, what about component 5, 12, 20, 28? Topology-wise, they seem to have a very anterior origin, but data in the time domain does not seem to correlate with component 1 and 2 very well (judging visually..)<u></u><u></u></p>

</div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">Q2: What can you say about components 7, 9, 13 and 18? Are these cranial muscle artifacts? <u></u><u></u></p></div></div></div><div><div class="h5">
<p class="MsoNormal" style="margin-bottom:12pt">
Q3: Also, for components 42 and 54, given their high focality, are these more or less a indication of bad/unstable electrodes?<u></u><u></u></p></div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">
- I guess maybe I am asking too many questions. I think my main problem here is that I do not know what can be a good procedure / rules in manually selecting ICA components for rejection? (I tried to look in the literature but I couldn't find any that can answer my questions). And sometime I have the feeling that my ICA results look like a mess and maybe there were something wrong with my pre-processing or even data collection? <u></u><u></u></p>

</div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">Thank you guys in advance for any input! I look forward to hearing from you!<u></u><u></u></p></div></div></div><p class="MsoNormal" style="margin-bottom:12pt">
Regards, <u></u><u></u></p>
</div><p class="MsoNormal">Bingshuo Li<u></u><u></u></p></div><div><div class="h5"><p class="MsoNormal" style="margin-bottom:12pt">MSc. Student, Neuroprosthetic Group, CIN, Uni Tübingen<u></u><u></u></p></div></div></div>
</div></div></div></div><br><div class="im">_______________________________________________<br>

fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">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></div></blockquote></div><br></div>
<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></blockquote></div><br></div></div>