<div dir="ltr"><div><div><div><div><div><div>Hi Makoto, <br><br><br></div>thank you very much for the answer. I tried what you described in your email. I didn't get the error message then. But the wierd thing is when I run Build Preclustering Matrix from the Study > PCA Clustering Menu it runs without no error, however at the end of the whole process there is no any record of parameters in the Study.preclust structures (erpclusttimes, specclustfreqs, erspclustfreqs, erspclusttimes), they are all empty is that normal? <br><br></div>And then when I try to run Cluster Components from the menu with K-means and choosing 3 cluster for example, I get an error that is saying '' Too many input arguments (Error occured in function pop_clust() at line 184) which line calls k-means function actually. <br><br></div>So I am stuck really and do you think is there any link between not having any record of parameters in the anywhere under Study structure and not being able to run Cluster Components? And do you think these all again go down to the STUDY cannot read the data sets properly even though it seems running the precomputing and preclustering without an error? <br><br></div>For your first question, I have actually 5 condition, for each condition I try to do seperate network analyisis to see within-condition network using ICs belongs only to that condition. Do you think this might be a problem as well? I mean I am not interested in with statistical comparison between the conditions at this stage, the only thing that I am interested in at the moment is to see whether is there a network specific to each single condition. <br><br></div>Thank you very much for any help indeed, <br><br></div>Maya<br><div><div><div><div><div><br><br><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-09 3:09 GMT+01:00 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Maya,<div><br></div><div>Sorry for the trouble.</div><span class=""><div><br></div><div>> each collected for only one condition<br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">Do you mean there is no within-subject condition?</div><span class=""><div class="gmail_extra"><br></div><div class="gmail_extra">> ''Warning: ICA ERSP or ITC data files computed with old version of EEGLAB for design 1 (and maybe other designs). These files may be corrupted and must be recomputed.''<br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">This message has been there for LONG time. It's a false alarm.</div><span class=""><div class="gmail_extra"><br></div><div class="gmail_extra">> '' Error using eeglab (line 1006)<br>Error: ()-indexing must appear last in an index expression.<br>You are using the latest version of EEGLAB.<br>Warning: STUDY moved since last saved, trying to load data files using relative path<br>pop_loadset(): loading file C:\Users\tc025847\Desktop\Mitchell Replica Experiment Files\EEG only\DATA\3\Category_5_ICAremoved.set ...<br>Reading float file 'C:\Users\tc025847\Desktop\Mitchell Replica Experiment Files\EEG only\DATA\3\Category_5_ICAremoved.fdt'... ''<br></div><div class="gmail_extra"><br></div></span><div class="gmail_extra">I don't know about this error.</div><div class="gmail_extra">Maybe your folder structure is bad... my guess is that STUDY is trying to use relative path but failing. What I would try is that I would move all the .set and precompute files into one folder and create another STUDY there with exact same data and STUDY.design. In this way, you can skip precompute and immediately start from precluster.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Jun 7, 2016 at 3:45 AM, Maya Pinacle <span dir="ltr"><<a href="mailto:mayapinacle@gmail.com" target="_blank">mayapinacle@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi, <br><br></div>I have just started using STUDY with EEGLAB, I have data from 10 subjects in different 10 folders, each collected for only one condition and I would like to extract clusters of ICs of those datasets using STUDY. I have already run ICA and Dipfit to extract ICs and corresponding dipoles. When I create a Study with those 10 subject's data and save it to a folder and again want to load it back to the EEGLAB, I always get this warning message in a popup window which says <br><div><div><br><br>''Warning: ICA ERSP or ITC data files computed with old version of EEGLAB for design 1 (and maybe other designs). These files may be corrupted and must be recomputed.''<br><br><br></div><div>and also in the command line there is a warning saying<br><br>'' Error using eeglab (line 1006)<br>Error: ()-indexing must appear last in an index expression.<br>You are using the latest version of EEGLAB.<br>Warning: STUDY moved since last saved, trying to load data files using relative path<br>pop_loadset(): loading file C:\Users\tc025847\Desktop\Mitchell Replica Experiment Files\EEG only\DATA\3\Category_5_ICAremoved.set ...<br>Reading float file 'C:\Users\tc025847\Desktop\Mitchell Replica Experiment Files\EEG only\DATA\3\Category_5_ICAremoved.fdt'... ''<br>...<br><br></div><div>This message continues for each single file that I have used to create STUDY. However there is no change of datesets' location at all but STUDY seems struggling to find the datasets. Eventually EEGLAB seems loading the *.study file and I run preclustering on the data, however there is no preclustering parameters are set either. <br><br><br></div><div>These are the code lines how I run precomputing and preclustering<br><br></div><div>% precomputing<br></div><div> [STUDY ALLEEG] = std_precomp(STUDY, ALLEEG, 'components','erp','on','erpparams',{'rmbase' [-200 1] },'scalp','on','spec','on','specparams',{'specmode' 'fft' 'logtrials' 'off'},'erpim','on','erpimparams',{'nlines' 10 'smoothing' 10},'ersp','on','erspparams',{'cycles' [3 0.5] 'freqs' [3 45] 'alpha' 0.01 'padratio' 1},'itc','on');<br><br><br> % preclustering<br> [STUDY ALLEEG] = std_preclust(STUDY, ALLEEG, 1,{'spec' 'npca' 5 'norm' 1 'weight' 1 'freqrange' [3 45] },{'erp' 'npca' 5 'norm' 1 'weight' 1 'timewindow' [-500 1000] },{'scalp' 'npca' 5 'norm' 1 'weight' 1 'abso' 1},{'dipoles' 'norm' 1 'weight' 10},{'ersp' 'npca' 5 'freqrange' [3 45] 'timewindow' [-500 1000] 'norm' 1 'weight' 1},{'itc' 'npca' 5 'freqrange' [3 45] 'timewindow' [-500 1000] 'norm' 1 'weight' 1},{'finaldim' 'npca' 5});<br><br></div><div><br></div><div>These codes run smoothly however there is no parameters stored in theStudy.cluster.precluster.preclusterparams and preclusterdata<br><br><br></div><div>And when I run all these processes on the sample data I got the same error messages and nothing was stored in those Study structures at all. <br> <br></div><div><br></div><div>Is there anyone encountered this problem before? Do you have any idea what could be the problem? I would appreciate any help please. <br><br></div><div>Thank you, <br><br></div><div>Maya.<br></div></div></div>
<br></div></div><span class="">_______________________________________________<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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</font></span></div></div>
</blockquote></div><br></div>