<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Stephen,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for the reply. Thats helpful. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Mubeen J</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Stephen Whitmarsh <stephen.whitmarsh@gmail.com><br>
<b>Sent:</b> Tuesday, March 29, 2022 1:26 PM<br>
<b>To:</b> FieldTrip discussion list <fieldtrip@science.ru.nl><br>
<b>Cc:</b> mubeen afzal <mubafzal@hotmail.com><br>
<b>Subject:</b> Re: [FieldTrip] plotting clusters</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Mubeen,</div>
<div><br>
</div>
<div>The cfg.foi field specifies the frequency <i>range</i> in Hz, so the first option you mention.</div>
<div><br>
</div>
<div>This is described in the header of the function ft_selectdata, where you can always find a clear description of the input/output of FieldTrip functions:</div>
<div><span class="x_gmail-pl-c"><span class="x_gmail-pl-c">%</span> cfg.frequency = scalar or string, can be 'all', or [beg end], specify frequency range in Hz</span>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Stephen<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, 29 Mar 2022 at 10:55, mubeen afzal via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div dir="ltr">
<div></div>
<div>
<div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)"><span id="x_gmail-m_1476641561309149463ms-outlook-ios-cursor"></span>Thanks Jan will do. Can I ask if the specification of avgoverfrequency actually averages powspctrm values in all
 frequency bins if foi is [2 6] or looks at only 4hz the average of 2+6/2. The output says 1 frequency bin and stat.freq shows 4 in output when aevraging is done meaning does it only look at 4Hz frequency?</div>
</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">Regards</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)">Mubeen J</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</div>
<div dir="ltr" style="color:rgb(0,0,0); background-color:rgb(255,255,255)"><br>
</div>
<div id="x_gmail-m_1476641561309149463ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fo0ukef&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=oil%2Fcr%2FvEZ%2F0EI9RAkzXRsYt6QwagiKPat0i63vHGro%3D&reserved=0" originalsrc="https://aka.ms/o0ukef" shash="OoeSZ7DYkMjX3c05NLx4Qon49JhQiOsR+CiLCnXcL4GcGPvtIBPXXo2KZvRtPwEM0/+NRALyUDCoz3GuCG+57qqMdBJAcrE9DVF31W7CIqVq1MeikOvWybNzim4wY7EvpUVcwZ9z5q88x+JN4OplHyRjd6bfnOibQHYPbk9EQOo=" target="_blank">
Outlook for iOS</a></div>
</div>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_1476641561309149463divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> fieldtrip <<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>>
 on behalf of Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>
<b>Sent:</b> Tuesday, March 29, 2022 6:07:37 PM<br>
<b>To:</b> FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>
<b>Cc:</b> Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:janmathijs.schoffelen@donders.ru.nl" target="_blank">janmathijs.schoffelen@donders.ru.nl</a>><br>
<b>Subject:</b> Re: [FieldTrip] plotting clusters</font>
<div> </div>
</div>
<div style="">Hi Mubeen,
<div><br>
</div>
<div>@1 and @2: Perhaps you can start by studying the documentation on internet:</div>
<div><br>
</div>
<div><br>
</div>
<div><a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fieldtriptoolbox.org%2Ftutorial%2Fcluster_permutation_timelock%2F&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IhQKSIPiPWhFeba%2BPIUZSnsDkWdBey0%2BbENIDbLIuCg%3D&reserved=0" originalsrc="https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/" shash="wEQSnnICCOnGZEZ8lchkcnMVVMQ4ffL91SNWQqNquFR8A0+NNtIptoRQpudAN/GyQVglNBmwNg/+fEnMXfe/Gqff96YqkC/H7Jro/TaL4qYdMsfTgd3awthlXzmbPuWOBuyyhDOL21cj1IELBmfIRqHr7RrdnSiuypedB6MpXjI=" target="_blank">https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/</a></div>
<div><br>
</div>
<div>The output data object is quite extensively described.</div>
<div><br>
</div>
<div>@3: the error message is quite clear I think, so the answer would be ’no’, unless you squeeze out either the frequency or time dimension. This can be done with ft_selectdata, and an appropriate specification of the input cfg. Please refer to the function’s
 help to get you on the way.</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On 28 Mar 2022, at 17:20, mubeen afzal via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Hi fieldtrip team,</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
I would like to know how to learn more on cluster permutation performed on two groups. </div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<ol>
<li><span>what do positive and negative clusters represent</span></li><li>what is posclusterslabelmat represent</li><li>is there a way to plot positive clusters after wavelet analysis comparisons between two groups without specifying time or frequency as I am getting this error message:<span> </span><i>'this only works if either frequency or time is a singleton dimension'</i></li></ol>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
my data currently is comparing frequencies between 2 and 6 Hz for time segments 0:0.2:5 seconds across 19 channels in two groups</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Thanks for any help</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
Mubeen</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<span id="x_gmail-m_1476641561309149463x_cid:cbac47ec-71a1-4b42-80b9-f73c02e95c41"><image.png></span><br>
</div>
<span style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline">_______________________________________________</span><br style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline">fieldtrip
 mailing list</span><br style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=VnaotrIob0Kbow%2FRZG2oCiNGutRBv%2Be9r0QepSxfiQU%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="VUXyMgKc4j68gtuszvAMJuLRnJrgR7ZmuvObohnQ3gDzyaWO3+KprZQA1dxKPZ+gu6cEbHODH7tF4jJzDtRJIxbOOPYDD74bQu5/Xf9VGoOEw/tUZgJQ8UYd24vkilkgfgeF28p+uOdm3tRzm8SJoG1xHuyblVLgUbEf9LXC7Zo=" target="_blank" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202__%3B!!HJOPV4FYYWzcc1jazlU!-EpUOGf67iBC1V52VXArgxdxHSW-85qvC7huhLHkb6b5-_IVanNG206mJVcXUpI-EBpOXK1Q-tbLl1O4Y-BbsQPMn_tttSaYOzx-Kg%24&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=w0s6Pm279PC8s9nsglb3qcULtZmSXk9nWe8Ce5IpzkI%3D&reserved=0" originalsrc="https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-EpUOGf67iBC1V52VXArgxdxHSW-85qvC7huhLHkb6b5-_IVanNG206mJVcXUpI-EBpOXK1Q-tbLl1O4Y-BbsQPMn_tttSaYOzx-Kg$" shash="Vf+/mQgH+MJzRyzuKxTxxJPS10fWNoosa0I5bIWUQ9TOa54GyurIJCFMbOZsGw3sWZ3zl+JmeNk/EUmPx5haVovhTX15+rWTnN8C59LUYKX13oguNGegJ/ec/YnnrdakDwbQYg7QguVcmIe3a6WshsZMvMv3emFiylNBaAp2YUM=" target="_blank" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-EpUOGf67iBC1V52VXArgxdxHSW-85qvC7huhLHkb6b5-_IVanNG206mJVcXUpI-EBpOXK1Q-tbLl1O4Y-BbsQPMn_tttSaYOzx-Kg$</a><span style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline"></span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=VnaotrIob0Kbow%2FRZG2oCiNGutRBv%2Be9r0QepSxfiQU%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="VUXyMgKc4j68gtuszvAMJuLRnJrgR7ZmuvObohnQ3gDzyaWO3+KprZQA1dxKPZ+gu6cEbHODH7tF4jJzDtRJIxbOOPYDD74bQu5/Xf9VGoOEw/tUZgJQ8UYd24vkilkgfgeF28p+uOdm3tRzm8SJoG1xHuyblVLgUbEf9LXC7Zo=" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=04%7C01%7C%7C9e42a1add7a6406cd0a208da116ea812%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637841464211547890%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=lQHbadKlwsa7SldPNSuySRrw6XfkdV3QEwtKAdYk%2B5o%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="OtMYYhGBtup2v3bwMIBPWObXf9jJ3h7e7u7G91k+FC6mKZNhYEI0yqF+LHBppJ7+BrxGrsjJG1BlrPm0mv4WnAhg4j3PKgDx4QEU/HSVpo24OOUhDwRd8v5yyVlUuPeX5T5OjvFwvziNKZn7FPrVEbz6spBDqcqNWzu5Qm9E3q0=" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote>
</div>
</div>
</body>
</html>