<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1115752230;
        mso-list-template-ids:-342845914;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thank you very much for your useful notes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I read of Makoto’s pre-processing pipeline that:<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<i><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">‘When creating STUDY with epoched data (assuming that you have within-subject conditions), I recommend that you use one set file per subject and never
 save the data separately for each condition (which is an old approach used before STUDY.design was implemented). In theory both works, but there were reports of problems caused by separate .set files. I recommend you use STUDY.design to let STUDY know the
 factorial design of the analysis.’<o:p></o:p></span></i></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Also, I read on the EEGlab documentation:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt">
<i><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">The main advantages of using STUDY designs are detailed below:<o:p></o:p></span></i></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;line-height:18.0pt;background:white">
<i><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">No need to have one dataset per condition. An important restriction of working with STUDY structures in EEGLAB 8.0 (prior to STUDY.design) was that to
 compare multiple conditions users had to generate one dataset per condition. However, to analyze the influence of various contextual information about trials, it may be relatively impractical to generate many datasets with specific sets of trials. The new
 'design' scheme in EEGLAB 9.0 is backward compatible with EEGLAB 8 but allows for more flexibility, in particular allowing the STUDY functions to dynamically extract specified data trials from datasets. Each dataset may contain several conditions or several
 datasets can be merged, using the STUDY design facility, to form to one condition.<o:p></o:p></span></i></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Therefore, I would be interested to have one set file for all my conditions, but the tutorials I find online use different .set files per condition.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Do I just do everything the same as the tutorials but per condition, keep loading the same file?<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Best wishes,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:4.8pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm;line-height:18.0pt;background:white">
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Jumana
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Tarik S Bel-Bahar [mailto:tarikbelbahar@gmail.com]
<br>
<b>Sent:</b> 17 January 2017 22:30<br>
<b>To:</b> Ahmad, Jumana <jumana.ahmad@kcl.ac.uk><br>
<b>Cc:</b> eeglablist@sccn.ucsd.edu<br>
<b>Subject:</b> Re: [Eeglablist] comparing conditions<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="color:#333399">Hello Jumana, brief notes below, best wishes!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">To make the STUDY machinery work, it's necessary to make separate files for each of your different conditions and subjects.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">I believe that this is the way the current STUDY works, unless there's been major updates (see current revision lists for eeglab)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">If you wanted to do it by loading one file, you would have to do it with coding new matlab code to<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">feed information to the STUDY functions, essentially using eeglab to create the 4 condition files inside matlab memory in the format of ALLEEG structure. This would take a bit of time, as you would have to really
 understand the code of the STUDY functions very well. It would be better to make use of the study functions initially, learn how they work, and then if you have time build your own version.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">If you're interested in other options, you should review the data structures in Fieldtrip and other eeg analyses programs.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">You may also benefit from reading Mike Cohen's books on Time-Frequency analyses, which has a nice discussion of <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">building a data hypercube (of metrics X subjects X conditions) of spectrogram or other data,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">which you can interogate as you wish, and then apply functions from eeglab or other programs.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399">If you are still new to matlab coding and digging into functions, which require a moderate level of expertise, and you still want to build your own method, it is recommended you make contact with a researchers
 that have larger labs that use eeglab, and consulting with one of the students or scientists there. You might also find a consultant on the eeglab list.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#333399"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Jan 17, 2017 at 4:59 AM, Ahmad, Jumana <<a href="mailto:jumana.ahmad@kcl.ac.uk" target="_blank">jumana.ahmad@kcl.ac.uk</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dear EEGlab,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">It says on the website that to compare event-related EEG dynamics for a subject in two
 or more conditions from the same experiment, it is first necessary to create datasets containing epochs for each condition. Is this still the case or can I keep all my conditions in one file?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">Is the same true for study? If I can keep one file, please can you advice me on how I can
 load the data using one file? The tutorial shows loading separate files per condition. I would happily use code to do this.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">Best wishes,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:black;background:white">Jumana
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<b><span style="font-size:10.0pt;color:#1F497D">------------------------------------------</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<b><span style="font-size:10.0pt;color:#1F497D;background:#FFEE94">Jumana Ahmad</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.0pt;color:#1F497D">Post-Doctoral Research Worker in Cognitive Neuroscience </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<i><span style="font-size:10.0pt;color:#1F497D">EU-AIMS Longitudinal European Autism Project (LEAP) & SynaG Study</span></i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.0pt;color:#1F497D">Room M1.09. Department of Forensic and Neurodevelopmental Sciences (PO 23) | Institute of Psychiatry, Psychology & Neuroscience | King’s College London | 16 De Crespigny Park | London SE5 8AF</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<span style="font-size:10.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white">
<b><span style="font-size:10.0pt;color:#1F497D">Phone:</span></b><span style="font-size:10.0pt;color:#1F497D"> </span><span lang="EN-US" style="font-size:10.0pt;color:navy">0207848 0260</span><span style="font-size:10.0pt;color:#1F497D">| <b>Email:</b> <span style="background:#FFEE94">jumana.ahmad</span></span><span style="color:black"><a href="mailto:antonia.sanjose@kcl.ac.uk" target="_blank"><span style="font-size:10.0pt;color:purple">@kcl.ac.uk</span></a></span><span style="font-size:10.0pt;color:#1F497D"> | <b>Website:</b> </span><span style="color:black"><a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eu-aims.eu%2F&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7Cb692ed31a8cf4c144f7a08d43f287b6f%7C8370cf1416f34c16b83c724071654356%7C0&sdata=nlhH%2FMOH%2FE12Y65LTH6%2FCCSN5JkmHRFeR4QJ7jdYGuY%3D&reserved=0" target="_blank"><span style="font-size:10.0pt;color:purple">www.eu-aims.eu</span></a></span><span style="font-size:10.0pt;color:#1F497D"> | <b>Facebook:</b> </span><span style="color:black"><a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.facebook.com%2Feuaims&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7Cb692ed31a8cf4c144f7a08d43f287b6f%7C8370cf1416f34c16b83c724071654356%7C0&sdata=9OBGCt52tfg%2FTWl%2FpU6kr6gjnae%2B8%2BbPVvDBZfQvePQ%3D&reserved=0" target="_blank"><span style="font-size:10.0pt;color:purple">www.facebook.com/euaims</span></a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:#1F497D">***************************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:#1F497D">***************************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;color:#1F497D">We are currently looking for volunteers with mild intellectual disability to be part of our exciting and world-leading European project
 into brain development and social behaviour. Please, do get in touch if you know of anyone who may be interested in taking part.
</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:#1F497D">***************************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:#1F497D">***************************************************************************************</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Eeglablist page: <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsccn.ucsd.edu%2Feeglab%2Feeglabmail.html&data=01%7C01%7Cjumana.ahmad%40kcl.ac.uk%7Cb692ed31a8cf4c144f7a08d43f287b6f%7C8370cf1416f34c16b83c724071654356%7C0&sdata=vWhBMYyqyQO9fU8Xo6YYSazn%2FTEAyggKWOrffSgF%2FL0%3D&reserved=0" 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">
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">
eeglablist-request@sccn.ucsd.edu</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>