<div dir="ltr">Dear Diego, <div><br></div><div style>Thank you for your kind answer. </div><div style>The importance of 'quality' you mentioned and the references that you attached could help me to understand the ICA algorithm further. </div>
<div style>And I have an additional question about preprocessing before ICA. Is detrending needed before the decomposition if there is a linear trend in the segmented data?</div><div style>Because I noticed one component showing linearly and consistently decreased (or increased) activity during one segment in some trials after ICA, I wondered why that happened. </div>
<div style><br></div><div style>Apart from that, I found the possible cause of the past problem. It looks like the ft_rejectcomponent might remove the 'demean' effect.</div><div style>After I used the function without any component removing, (cfg.component = [];) the baseline level decreased again but the shape of the ERP does not change. </div>
<div style>However, I have not found the way to correct this decreased baseline yet. The ft_preprocessing with demean pre-stimulus does not work. </div><div style><br></div><div style>Thanks.</div><div style><br></div><div style>
BJ</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/24 Lozano Soldevilla, D. (Diego) <span dir="ltr"><<a href="mailto:d.lozanosoldevilla@fcdonders.ru.nl" target="_blank">d.lozanosoldevilla@fcdonders.ru.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Times New Roman"><font size="3" style="font-family:'Times New Roman'">Dear Beom Jun,</font><br>
<br><font size="3" style="font-family:'Times New Roman'">I see multiple scenarios why this baseline activity decrease could happen. First of all, how the component you're rejecting look like (i.e. "blink component")? Do you see this activity decrease after the baseline period?</font><div style="font-family:'Times New Roman';font-size:12pt">
<br></div><div style="font-family:'Times New Roman';font-size:12pt">The "quality" of the ICA decomposition, how well your artifact/component of interest has been isolated by algorithm in time (i.e. blink time courses) and space (marked frontal topography), will determine the activity that later on you'll reject/select. If your decomposition is not well suited, the rejection of a particular IC activity might have "extra" activity you don't want to reject (effect of interest), might be the algorithm is not able to isolate the components of interests (i.e. artifacts) or a combination of both.</div>
<div style="font-family:'Times New Roman';font-size:12pt"><br></div><div style="font-family:'Times New Roman';font-size:12pt">To evaluate the quality of your ICA decomposition you might have a look here (<a href="http://www.ncbi.nlm.nih.gov/pubmed/19162199" style="font-size:12pt" target="_blank">http://www.ncbi.nlm.nih.gov/pubmed/19162199</a><span style="font-size:12pt">). Basically, the authors find that the ICA decomposition improves significantly "</span><span style="line-height:18.88888931274414px;font-size:13.333333969116211px;font-family:arial,helvetica,clean,sans-serif">increased by removing the mean EEG at each channel for each epoch of data rather than the mean EEG in a prestimulus baseline"</span><span style="font-size:12pt">. In addition (see here: </span><a href="http://sccn.ucsd.edu/pipermail/eeglablist/2012/004925.html" style="font-size:12pt" target="_blank">http://sccn.ucsd.edu/pipermail/eeglablist/2012/004925.html</a><span style="font-size:12pt">), high-pass filtering above ~1hz improve the results.</span></div>
<div style="font-family:'Times New Roman';font-size:12pt"><span style="line-height:20px;text-align:justify;color:rgb(46,46,46);font-size:13px;font-family:'Arial Unicode MS','Arial Unicode',Arial,'URW Gothic L',Helvetica,Tahoma,sans-serif;word-spacing:-1px"><br>
</span></div><div><font face="times new roman, new york, times, serif">It's very important to feed ICA as much relevant data as you can use. The more the data, the better the decomposition. There's a rule of thumb that says that for a reliable IC decomposition<span style="line-height:20px;text-align:justify;color:rgb(46,46,46);word-spacing:-1px"> 20 time points per channel</span><sup style="line-height:0;text-align:justify;color:rgb(46,46,46);margin:0px;padding:0px;border:0px;word-spacing:-1px">2  </sup></font><span style="font-family:'times new roman','new york',times,serif">is needed (see here for a reference </span><a href="http://www.ncbi.nlm.nih.gov/pubmed/16904745" target="_blank">http://www.ncbi.nlm.nih.gov/pubmed/16904745</a><span style="font-family:'times new roman','new york',times,serif">)</span><span style="font-family:'times new roman','new york',times,serif"> </span></div>
<div style="font-family:'Times New Roman';font-size:12pt"><br></div><div style="font-family:'Times New Roman';font-size:12pt">I hope that helps,</div><div style="font-family:'Times New Roman';font-size:12pt">
<br></div><div style="font-family:'Times New Roman';font-size:12pt">Diego<br><hr><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><b>From: </b>"Beom Jun Min" <<a href="mailto:mbj0310@gmail.com" target="_blank">mbj0310@gmail.com</a>><br>
<b>To: </b>"FieldTrip discussion list" <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br><b>Sent: </b>Monday, 24 June, 2013 6:27:47 AM<br><b>Subject: </b>[FieldTrip] Decreased baseline level after using ICA in ERP data<div>
<div class="h5"><br><br><div dir="ltr">Dear all,<div><br></div><div>I have ERP data and now I am dealing with ICA to remove muscle and eye artifacts. </div><div>However, I found that after ft_rejectcomponent, the baseline level of the segmented epoch decreased. (The baselinewindow is [-0.2 0].)</div>

<div>The baseline level decreased even though I rejected only one component. </div><div><br></div><div>My script is shown below.</div><div><br></div><div><div><i>%% Removing the Artifacts</i></div><div><i>cfg = [];<br>
</i></div><div><i>cfg.component = [ ]; % to be removed component(s)</i></div><div><i>post_ICA_temp6 = ft_rejectcomponent(cfg, comp_detrand, data_raw);</i></div><div><i><br></i></div><div><i>%% timelocking</i></div><div><i><br>

</i></div><div><i>cfg = [];</i></div><div><i>timelock_temp6 = ft_timelockanalysis(cfg, post_ICA_temp6);</i></div><div><i><br></i></div><div><i>%% Plot</i></div><div><i><br></i></div><div><i>figure;</i></div><div><i>cfg = [];</i></div>

<div><i>cfg.layout = lay;</i></div><div><i>cfg.interactive = 'yes';</i></div><div><i>cfg.channel = ['all', {'-EKG', '-EMG'}];</i></div><div><i>ft_multiplotER(cfg, timelock_temp6)</i><br></div>

</div><div><br></div><div>Is there something that I missed?<br></div><div><br></div><div>Thanks.</div><div><br></div><div>BJ</div><div><div><br></div>-- <br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">BeomJun Min, M.D.</font></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px">Department of Medical System Engineering (DMSE)<br></span><span style="color:rgb(51,51,51);line-height:18px">Gwangju Institute of Science and Technology (GIST)</span><span style="color:rgb(51,51,51);line-height:18px"> </span><span style="color:rgb(51,51,51);line-height:18px"><br>

261 Cheomdan-gwagiro(Oryong-dong), Buk-gu, Gwangju <br>500-712, Republic of Korea (South) <br>Phone: +82-62-715-3266 / Fax: +82-62-715-3244 <br>E-mail: </span><a href="mailto:mbj0310@gmail.com" style="text-decoration:none;line-height:18px" target="_blank"><span>mbj0310@gmail.com</span></a><span style="color:rgb(51,51,51);line-height:18px">, <a href="http://bmssa.gist.ac.kr/" style="text-decoration:none" target="_blank">http://bmssa.gist.ac.kr</a></span></font><br>

</div></div>
</div></div>
<br></div></div>_______________________________________________<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></blockquote>
<span class="HOEnZb"><font color="#888888"><br><br><br>-- <br><div><span name="x"></span>PhD Student<br>Neuronal Oscillations Group<br>Donders Institute for Brain, Cognition and Behaviour <br>Centre for Cognitive Neuroimaging<br>
Radboud University Nijmegen <br>NL-6525 EN Nijmegen<br>The Netherlands<br><a href="http://www.ru.nl/people/donders/lozano-soldevilla-d/" target="_blank">http://www.ru.nl/people/donders/lozano-soldevilla-d/</a><span name="x"></span><br>
</div></font></span></div></div></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><br clear="all"><div><br></div>-- <br><div dir="ltr">
<div><font face="arial, helvetica, sans-serif">BeomJun Min, M.D.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px">Department of Medical System Engineering (DMSE)<br>
</span><span style="color:rgb(51,51,51);line-height:18px">Gwangju Institute of Science and Technology (GIST)</span><span style="color:rgb(51,51,51);line-height:18px"> </span><span style="color:rgb(51,51,51);line-height:18px"><br>
261 Cheomdan-gwagiro(Oryong-dong), Buk-gu, Gwangju <br>500-712, Republic of Korea (South) <br>Phone: +82-62-715-3266 / Fax: +82-62-715-3244 <br>E-mail: </span><a href="mailto:mbj0310@gmail.com" style="text-decoration:none;line-height:18px" target="_blank"><span>mbj0310@gmail.com</span></a><span style="color:rgb(51,51,51);line-height:18px">, <a href="http://bmssa.gist.ac.kr/" style="text-decoration:none" target="_blank">http://bmssa.gist.ac.kr</a></span></font><br>
</div></div>
</div>