<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Dear Makoto, <div class=""> Thanks a lot for the information, although that creates one more doubt for me:</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class="">Yes. As long as ICA detects data rank correctly, you don't need to do anything. However, sometimes it fails for unknown reason, so it's safer to explicitly use the data rank if you know it (how many channels you interpolated etc.) But I don't do the second ICA these days though, it usually makes little to no difference if your first ICA is good enough. If you want to drastically change the ICA results, you should reject 30-50% of data!<br class=""></div></blockquote><br class=""></div><div class="">If first ICA is good enough and second ICA is not required then:</div><div class=""> There should be no need to reject bad epoch, since we will be removing bad ICA components right? This should give us artifacts free epochs</div><div class=""><br class=""></div><div class="">Best</div><div class="">Sonia</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 01-Jul-2017, at 06:50, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" class="">mmiyakoshi@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Sonia,<br class=""><br class="">Sorry for belated response. To add some info to Isaiah's nice reply,<br class=""><br class="">> 1. So if we are performing two ICAs, we should interpolate these channels after second ICA?<br class=""><br class="">Yes. As long as ICA detects data rank correctly, you don't need to do anything. However, sometimes it fails for unknown reason, so it's safer to explicitly use the data rank if you know it (how many channels you interpolated etc.) But I don't do the second ICA these days though, it usually makes little to no difference if your first ICA is good enough. If you want to drastically change the ICA results, you should reject 30-50% of data!<br class=""><br class="">> 2. I assume rank of the data (used in ICA analysis) would be equivalent to the number of channels in data after running clean line function.<br class=""><br class="">If some of your channels were bridged, you have less rank than the number of channels.<br class=""><br class="">> If there are for example 128 channels with which data was collected and 10 channels were removed with clean line function then the rank of the data would be 118. If we now want to run ICA on this data do we need to add “ ‘pca’,117 “ in command line option - next to ‘extended’, 1 ? as suggested in the tutotrial : <a href="https://sccn.ucsd.edu/wiki/Chapter_09:_Decomposing_Data_Using_ICA" class="">https://sccn.ucsd.edu/wiki/Chapter_09:_Decomposing_Data_Using_ICA</a>.<br class=""><br class="">If 128-10, then 'pca', 118 is correct. If 117, one component is wasted (which is trivial in this case).<br class=""><br class="">Makoto<br class=""><div style="font-size:12.8px" class=""><br class=""></div><div style="font-size:12.8px" class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Apr 4, 2017 at 7:00 AM, Isaiah Innis <span dir="ltr" class=""><<a href="mailto:isainnis@indiana.edu" target="_blank" class="">isainnis@indiana.edu</a>></span> wrote:<br class=""><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" class=""><div class=""> Dr. Baloni:</div><div class=""><br class=""></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">1. Yes, you would interpolate after the second ICA. I personally interpolate as the last pre-processing step. Also </span><span style="font-size:12.8px" class="">I assume you are referring to "clean raw data" and not cleanline, as the latter only removes line noise. </span></div><div class=""><br class=""></div><div class="">2. Yes, your rank would be 128 -10 = 118. If the channels were deleted from the dataset entirely ICA should detect this and run fine without additional options. If not then you should use the 'pca' command. Are you average referencing your data before ICA? In that case your rank would be 117 (at least as I understand it - someone on the list please correct me if this is inaccurate), otherwise it would be the number of channels remaining = 118. </div><div class=""><br class=""></div><div class="">Remember that if you remove any components in the 1st ICA the 2nd should be run on the original number of components minus the number removed (e.g. 117-25 = 92).</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thank you, </div><div class=""><br class=""></div><span style="font-size:12.8px" class="">On Thu, Mar 30, 2017 at 6:42 AM, Dr. Sonia Baloni </span><span dir="ltr" style="font-size:12.8px" class=""><<a href="mailto:sbaloni@cbcs.ac.in" target="_blank" class="">sbaloni@cbcs.ac.in</a>></span><span style="font-size:12.8px" class=""> <wbr class="">wrote:</span><br style="font-size:12.8px" class=""><blockquote class="gmail_quote" style="font-size:12.8px;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class="">Hi All,<div class=""><br class=""><div class=""> I am new to EEGlab and trying to work with ICA analysis. I have been reading the eeglab list mails on ICA topic. I have gather few footnotes and few question which I would like to ask:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">1. Cleanline algorithm removes bad channels from the data. Posts in EEGlablist suggests that interpolation should be done after ICA.The tutorial suggests that two ICAs should be performed on the same data-set. So if we are performing two ICAs, we should interpolate these channels after second ICA?</div><div class=""><br class=""></div><div class="">2. I assume rank of the data (used in ICA analysis) would be equivalent to the number of channels in data after running clean line function. If there are for example 128 channels with which data was collected and 10 channels were removed with clean line function then the rank of the data would be 118. If we now want to run ICA on this data do we need to add “ ‘pca’,117 “ in command line option - next to ‘extended’, 1 ? as suggested in the tutotrial : <a href="https://sccn.ucsd.edu/wiki/Chapter_09:_Decomposing_Data_Using_ICA" target="_blank" class="">https://sccn.ucsd.edu/wiki/C<wbr class="">hapter_09:_Decomposing_Data_Us<wbr class="">ing_ICA</a>.</div><div class=""> </div><div class=""><br class=""></div><div class="">Thanks a lot.</div><div class=""><br class=""></div><div class="">Best </div><span class="gmail-m_4970522221476702788gmail-m_-4762118140862609177HOEnZb"><font color="#888888" class=""><div class="">Sonia</div><div class=""><br class=""></div><div class=""><br class=""></div></font></span></div></div><br class="">______________________________<wbr class="">_________________<br class="">Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank" class="">http://sccn.ucsd.edu/<wbr class="">eeglab/eeglabmail.html</a><br class="">To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank" class="">eeglablist-unsubscribe@<wbr class="">sccn.ucsd.edu</a><br class="">For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank" class="">eeglablist-request@sccn.<wbr class="">ucsd.edu</a><span class="gmail-HOEnZb"><font color="#888888" class=""><br class=""></font></span></blockquote><span class="gmail-HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class=""><br class=""></div>-- <br class=""><div class="gmail-m_4970522221476702788gmail_signature"><div dir="ltr" class="">Isaiah Innis<br class="">Indiana University '13<br class="">EEG Technician, IUB IRF<br class=""><br class=""></div></div>
</font></span></div>
<br class="">______________________________<wbr class="">_________________<br class="">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank" class="">http://sccn.ucsd.edu/eeglab/<wbr class="">eeglabmail.html</a><br class="">
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" class="">eeglablist-unsubscribe@sccn.<wbr class="">ucsd.edu</a><br class="">
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" class="">eeglablist-request@sccn.ucsd.<wbr class="">edu</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class="">Makoto Miyakoshi<br class="">Swartz Center for Computational Neuroscience<br class="">Institute for Neural Computation, University of California San Diego<br class=""></div></div>
</div></div>
</div></blockquote></div><br class=""></div></body></html>