<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="">Hi Makoto and Fernanda,<div class=""><br class=""></div><div class="">For some reason, your base cluster does not contain all the datasets. In your case, the following statement is true</div><div class=""><br class=""></div><div class="">length(unique_bc(STUDY.cluster(1).sets(:))) < length(STUDY.datasetinfo)<br class=""><br class=""></div><div class="">Try reinitializing the base cluster by calling menu item “STUDY > Edit STUDY info” and checking the box to delete clustering information or from the command line</div><div class=""><br class=""></div><div class="">STUDY.cluster = [];</div><div class="">STUDY = stc_checkset(STUDY, ALLEEG);</div><div class=""><br class=""></div><div class="">Then again check if the statement above is true (length(unique_bc(STUDY.cluster(1).sets(:))) < length(STUDY.datasetinfo))</div><div class=""><br class=""></div><div class="">In the STUDY design (screen capture you sent), I would select the first indep. variable as “group”. There is no reason for it to be the second indep. var. since the first one is not selected. This should not change anything though. Try also to create a second design where you do not select any independent variable just in case.</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br class=""></div><div class="">Arno</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Sep 2, 2015, at 5:54 PM, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" class="">mmiyakoshi@ucsd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">Dear Arno,<div class=""><br class=""></div><div class="">I really have no idea how this can happen. Does her report ring a bell?</div><div class=""><br class=""></div><div class="">Makoto</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sat, Aug 22, 2015 at 10:19 AM, Fernanda Pérez Gay Juárez <span dir="ltr" class=""><<a href="mailto:fernandapgj@gmail.com" target="_blank" class="">fernandapgj@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hello, Makoto<br class=""><br class="">My MATLAB version is R2015a and I'm using EEGLAB 13_4_4b. All of the subjects have EEG data (clearly), I didn't run ICA independently on each one of them but ran the ICA on the whole StudySet.<br class=""><br class="">Thanks beforehand for any help you can provide me with!<span class="HOEnZb"><font color="#888888" class=""><br class=""><br class="">Fernanda<br class=""><br class=""><br class=""></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">2015-08-21 19:21 GMT-04:00 Makoto Miyakoshi <span dir="ltr" class=""><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank" class="">mmiyakoshi@ucsd.edu</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Dear Fernanda,<div class=""><br class=""></div><div class="">Sorry for inconvenience.</div><div class="">As you may have thought, this can't happen since you are using a between-subject condition only (unless some of the subjects do not have EEG data).</div><div class=""><br class=""></div><div class="">Just to double check--what's the version of your Matlab and EEGLAB?</div><div class=""><br class=""></div><div class="">Makoto</div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="">On Thu, Aug 20, 2015 at 10:21 AM, Fernanda Pérez Gay Juárez <span dir="ltr" class=""><<a href="mailto:fernandapgj@gmail.com" target="_blank" class="">fernandapgj@gmail.com</a>></span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div dir="ltr" class=""><br class=""><div class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">Hello. I'm trying to run the PCA on a Study of 10 datasets, in which I compare 2 groups of 5 subjects each.</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">When I intend to build the pre.clustering matrix, and I select spectra and ERPs (without changing any further settings) I get the following error:</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">std_preclust (line 260) error</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">"Some datasets not included in preclustering because of partial STUDY design. You need to use a STUDY design that includes all datasets.,</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">(Error occurred in function std_preclust() at line 260)."</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">My study design has 10 subjects selected, no independent variable 1 and "group" as independent variable 2. There are 2 groups, "L" (for Learners) and "NL" (for Non-Learners).</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">What should I change to be able to pre-cluster?</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">I attached a screenshot of the Study Design.</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">Thanks,</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">Fernanda Pérez Gay, MD</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">PhD Candidate</span><br style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><span style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">Integrated Program in Neuroscience</span><div style="color:rgb(80,0,80);font-size:12.8000001907349px" class="">McGill University</div></div><div style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br class=""></div><div style="color:rgb(80,0,80);font-size:12.8000001907349px" class=""><br class=""></div></div>
<br class=""></div></div>_______________________________________________<br class="">
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank" class="">http://sccn.ucsd.edu/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@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.ucsd.edu</a><span class=""><font color="#888888" class=""><br class=""></font></span></blockquote></div><span class=""><font color="#888888" class=""><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class=""><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>
</font></span></div></div>
</blockquote></div><br class=""></div>
</div></div></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></blockquote></div><br class=""></div></body></html>