<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Nice!
<div><br>
<div>Thanks for the feedback and glad to be of help.</div>
<div><br>
</div>
<div>BW,</div>
<div>JM</div>
<div><br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 8 Oct 2024, at 11:43, Camilo Castelblanco Riveros <camilo.a.castelblanco.riveros.gr@dartmouth.edu> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; cellpadding: 0 !important; border: 0 !important; cellspacing: 0 !important; display: table !important; width: 100% !important; table-layout: fixed !important; border-collapse: seperate !important; float: none !important; border-spacing: 0px 0px !important; " align="left">
<tbody style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; display: block !important; ">
<tr style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; ">
<td valign="middle" width="1px" bgcolor="#A6A6A6" cellpadding="7px 2px 7px 2px" style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; padding: 7px 2px 7px 2px !important; background-color: #A6A6A6 !important; valign: middle !important; width: 0px !important; ">
</td>
<td valign="middle" width="100%" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 15px" style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; width: 100% !important; background-color: #EAEAEA !important; padding: 7px 5px 7px 15px !important; font-family: wf_segoe-ui_normal, Segoe UI, Segoe WP, Tahoma, Arial, sans-serif !important; font-size: 12px !important; font-weight: normal !important; color: #212121 !important; text-align: left !important; word-wrap: break-word !important; ">
<div style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; ">
You don't often get email from camilo.a.castelblanco.riveros.gr@dartmouth.edu. <a href="https://aka.ms/LearnAboutSenderIdentification" style="background: revert !important;color: revert !important;content-visibility: revert !important;direction: revert !important;display: revert !important;font-size: revert !important;opacity: revert !important;rotate: revert !important;scale: revert !important;visibility: revert !important;">
Learn why this is important</a> </div>
</td>
<td valign="middle" align="left" width="75px" bgcolor="#EAEAEA" cellpadding="7px 5px 7px 5px" style=" aspect-ratio: revert !important; background: revert !important; block-size: revert !important; border: revert !important; bottom: revert !important; color: revert !important; color-scheme: revert !important; content-visibility: revert !important; cursor: revert !important; direction: revert !important; display: revert !important; font-size: revert !important; height: revert !important; hyphens: revert !important; letter-spacing: revert !important; line-height: revert !important; margin: revert !important; opacity: revert !important; order: revert !important; outline: revert !important; overflow: revert !important; padding: revert !important; position: revert !important; resize: revert !important; rotate: revert !important; scale: revert !important; tab-size: revert !important; table-layout: revert !important; text-align: revert !important; text-indent: revert !important; text-orientation: revert !important; text-overflow: revert !important; text-shadow: revert !important; text-transform: revert !important; text-wrap: revert !important; top: revert !important; transition: revert !important; user-select: revert !important; vertical-align: revert !important; visibility: revert !important; white-space: revert !important; width: revert !important; word-break: revert !important; word-spacing: revert !important; writing-mode: revert !important; zoom: revert !important; width: 75px !important; background-color: #EAEAEA !important; padding: 7px 5px 7px 5px !important; font-family: wf_segoe-ui_normal, Segoe UI, Segoe WP, Tahoma, Arial, sans-serif !important; font-size: 12px !important; font-weight: normal !important; color: #212121 !important; text-align: left !important; word-wrap: break-word !important; align: left !important; ">
</td>
</tr>
</tbody>
</table>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:georgia,serif">It worked!</div>
<div class="gmail_default" style="font-family:georgia,serif">Thank you for your help and patience with this simple issue, Dr. Schoffelen.<br>
</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif">With gratitude,</div>
<div class="gmail_default" style="font-family:georgia,serif">Camilo</div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div><b style="color:rgb(80,0,80)"><span style="font-size:12pt;color:rgb(99,144,68)"><font face="georgia, serif">================================</font></span></b><font face="georgia, serif"><b><br>
</b></font></div>
<div><font face="georgia, serif" color="#38761d"><b>Camilo Castelblanco Riveros (He/His)</b></font></div>
<div><font face="georgia, serif" color="#274e13">Ph.D. Candidate (G3)</font></div>
<div>
<div><font face="georgia, serif" color="#274e13"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.robertsonlab.com%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844148746370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=kUycIeSqXKVjq4vKkhDUyTPoag3wEOjbvOR8ahSBVxQ%3D&reserved=0" originalsrc="https://www.robertsonlab.com/" shash="dL2FPkFgf1E0yL2kVeaLTb+kENSlWMxf1dZRpdq+uWX913B5Z/yFodeivNJkeWuRdaAZVrUHKR0KypTYI25BzNUJ47IRwmuj67Ga/rUrtouiHm5P33y91LOLHk11miTeEKHPfc66fw0gQt5fRWuENJNsqLalozsgHJKAuvd6eEM=" originalsrc="https://www.robertsonlab.com/" shash="sJ3WxmX2YcZML22TtJ8O8VOD6wsHfA4jj0uuWty5ngaF+LSroTuRk9zttd5Ac9FSK0SAspR3sKefYLpSuMcq54wqX/7Kt1zcnvfasBoX/ixqi/NyzGyfFkaKS4WXY5FinDJQZEgcIdhoQ3p1Jo/cG6T919HSY9EipG/Ze5Udbk4=" target="_blank">Robertson
Lab</a> & <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dartmouth-hitchcock.org%2Fresearch%2Fsearch-clinical-trials%2Ftrial%2FSTUDY02001606&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844148902641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Mca9Oyq9%2BoW%2Bcuxvd7IJ84OJffk6WR8dxWR2ZB30%2Bqg%3D&reserved=0" originalsrc="https://www.dartmouth-hitchcock.org/research/search-clinical-trials/trial/STUDY02001606" shash="XfDQx4SW0xRKEkGGRtcGkF173zLVpXO2X1/fiGY1Mb6OquwF+Eb2+u1tsBdnt1DnvdwWNOy+uO9XjiH83GwDZKrTXPVd6J/RtgIRuukvh6mwoiRAJmqzKgwF/2vaJWKUhBkYbbVfkfKlseXgIvkbhgrOWGMHm8BXf5aGXb+yGac=" originalsrc="https://www.dartmouth-hitchcock.org/research/search-clinical-trials/trial/STUDY02001606" shash="C3+6U700YGe1TK8P4NbO1pT67kBnmdbw6iAxvRBgZl958Xz2n0ngop/5HuWQAb09ElZ3oABRnauFBsLzbiU+ECQPh/CD4uYtaj8i05qYHdXfgcns/HKUGi5bAiDKFFZrhaJyEBeLpMhQ0EkYtXI9gOdxIM8CkZ3kudpOGmwByII=" target="_blank">
Bujarski Lab</a></font></div>
<div><font face="georgia, serif" color="#274e13">Student Interest Group in Neurology (<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeiselmed.dartmouth.edu%2Fstudent-gov%2Fstudent-groups%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844148902641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=7GTAP9XVujvwDP4fe%2FZFtQmDJYiVyFxwMuu9W9FOVSg%3D&reserved=0" originalsrc="https://geiselmed.dartmouth.edu/student-gov/student-groups/" shash="s8sw8LwrjMW2wHku+pMPC/7iw6EX4awlTXo9vaZu7xAqiQHPhePO0oZIuGcN2gBSgRBr0TJD+rLXfB/ZmQUIF8s16fgvdnHRQIML8b6/tfd9hs9c3FnjbhVoG0By49NeyUswsY66tNwqAqrWUwBwweetlEB7sxLPxvIbZ60ZW6s=" originalsrc="https://geiselmed.dartmouth.edu/student-gov/student-groups/" shash="zG/HExJE5bx5ekRySzM74objWCj58LV+GpPQ0c6KIv3tZRojINcUMdjh/jVP3QJ0Z2yirSHT6R8VvayXxjVBPZlfP/WeQOptx3b97Ee+xhGhDAaGFhGzdlS9gPqoKml4oRDduhxjh1NsMr9pi3gqsp+nOXSPnO2+cNBHxlrykiU=" target="_blank">SIGN</a>)
Co-Leader<u></u></font></div>
</div>
<div><font face="georgia, serif" color="#274e13">Diversity Student Advisory Board Member</font></div>
<div><font face="georgia, serif" color="#274e13">e: <a href="mailto:camilo.a.castelblanco.riveros.gr@dartmouth.edu" target="_blank">ccastelblanco.gr@dartmouth.edu</a></font></div>
<div><font face="georgia, serif" color="#274e13"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdartmouth.zoom.us%2Fmy%2Fccastelblanco&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149058852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=BPbsfvHpoCiVS3ALYVdXQAizC9EaqKqQA5c4H3n%2B%2BV0%3D&reserved=0" originalsrc="https://dartmouth.zoom.us/my/ccastelblanco" shash="edpQR+FtgUAAzc3SV9EYCDRJDQ6Hg7d6D/ghJ+rnVBg0Ns2A0lrWqEMvUmJnu7Mbe0Jlva0lgfjgGHk38L6l77ECjEASF9ErmANXmctAYkbsoof0Ls9Ic651Xw4yUdtwMhLG3HdgL7HspTNF3ixiQBuTwdIjsAVnjG1w2eHv/FE=" originalsrc="https://dartmouth.zoom.us/my/ccastelblanco" shash="qTR1phGxjyBYJSJJuwqXdPXuU256JEtQ8mkcH5e8yn0uz52uHi4g0SoYCWWHUnMXLnklqV/LczZkL5/NoO3mY+PiZYwNdbIBAHpaiketfQAIZLn68LrT9+o8n9YeRazaDzSJFlC3YKvql768+hBXQW3bhV0nHxjxkELDM1SU+98=" target="_blank">Zoom</a></font></div>
<div>
<div style="color:rgb(34,34,34)">
<div><font face="georgia, serif"><br>
</font></div>
</div>
</div>
<div><font face="georgia, serif"><img src="https://pbs.twimg.com/profile_images/1442874308360032261/L7MnNrBk_400x400.jpg" alt="Integrative Neuroscience at Dartmouth (IND) (@DartmouthNeuro) / Twitter" width="96" height="96"><img src="https://jobsearch.dartmouth-hitchcock.org/wp-content/uploads/DH-Bug-e1666020448423.png" width="96" height="96"></font></div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Oct 7, 2024 at 11:49 AM Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi Camilo,
<div><br>
</div>
<div>Have you recently updated your fieldtrip version? I think that the mexmaca64 compiled code was added a while back (w.r.t. the spm_bwlabel function it seems that this has been added about 8 months ago, as far as I can see in the repo’s history on github).</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br id="m_-6151340506305739039lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 7 Oct 2024, at 17:11, Camilo Castelblanco Riveros via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:georgia,serif">Hi!</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif">Thanks in advance for your support.</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif"><b>Context</b>:</div>
<div class="gmail_default" style="font-family:georgia,serif">I am trying to run "ft_freqstatistics" comparing conditions within an individual subject. </div>
<div class="gmail_default" style="font-family:georgia,serif"><b>Issue</b>:</div>
<div class="gmail_default" style="font-family:georgia,serif">When running the code, I get the following error:</div>
<div class="gmail_default" style="font-family:georgia,serif">---</div>
<div class="gmail_default" style="font-family:georgia,serif">generated 1000 random permutations<br>
computing a parametric threshold for clustering<br>
computing statistic<br>
estimated time per randomization is 0.13 seconds<br>
computing statistic 1000 from 1000<br>
<br>
Error using spm_bwlabel (line 27)<br>
spm_bwlabel.c not compiled - see Makefile<br>
</div>
<div class="gmail_default" style="font-family:georgia,serif">---</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif"><b>Troubleshooting</b>:</div>
<div class="gmail_default" style="font-family:georgia,serif">1. I inspected my fieldtrip SPM toolbox (''...GitHub/fieldtrip/external/spm12'') has the spm_bwlabel files but not the spm_bwlabel.mexmaca64. I think I need the spm_bwlabel.mexmaca64 to run it on
my machine; is that correct?</div>
<div class="gmail_default" style="font-family:georgia,serif">2. Doing some reading, I may need to compile the spm_make_standalone.m file. However, I do not know how to do it in Fieldtrip's path.</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif"><b>My code</b>:</div>
<div class="gmail_default" style="font-family:georgia,serif">
<div style="padding:30px">
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg = [];</span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.parameter = <span style="color:rgb(167,9,245)">
'powspctrm'</span>; <span style="color:rgb(0,128,19)">% Specify power spectrum parameter</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.method = <span style="color:rgb(167,9,245)">
'montecarlo'</span>; <span style="color:rgb(0,128,19)">% Use permutation testing</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.statistic = <span style="color:rgb(167,9,245)">
'depsamplesT'</span>; <span style="color:rgb(0,128,19)">% Dependent samples t-test</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.correctm = <span style="color:rgb(167,9,245)">
'cluster'</span>; <span style="color:rgb(0,128,19)">% Use cluster-based correction</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.clusteralpha = 0.05; <span style="color:rgb(0,128,19)">
% Threshold for forming clusters</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.clusterstatistic = <span style="color:rgb(167,9,245)">
'maxsum'</span>; <span style="color:rgb(0,128,19)">% Sum of t-values for defining clusters</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.alpha = 0.025; <span style="color:rgb(0,128,19)">
% Significance level for two-tailed test</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.tail = 0; <span style="color:rgb(0,128,19)">
% Two-tailed test</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.clustertail = 0; <span style="color:rgb(0,128,19)">
% Two-tailed cluster statistics</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.numrandomization = 1000; <span style="color:rgb(0,128,19)">
% Number of random permutation</span></span><span style="white-space:pre-wrap">cfg.neighbours = [];
</span><span style="white-space:pre-wrap;color:rgb(0,128,19)">% No neighborhood structure needed for iEEG</span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
</div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap"><span style="color:rgb(0,128,19)">% Design matrix
</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">design = zeros(2, ntrials_low + ntrials_high);</span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">design(1, 1:ntrials_low) = 1; <span style="color:rgb(0,128,19)">
% Assign label 1 to trials in the low condition</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">design(1, ntrials_low+1:end) = 2; <span style="color:rgb(0,128,19)">
% Assign label 2 to trials in the high condition</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">design(2, :) = [1:ntrials_low, 1:ntrials_high];
<span style="color:rgb(0,128,19)">% Assign trial indices</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
</div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap"></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.design = design;</span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.uvar = 2; <span style="color:rgb(0,128,19)">
% unit of observation (subject)</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap">cfg.ivar = 1; <span style="color:rgb(0,128,19)">
% independent variable (condition)</span></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap"></span></div>
<div style="font-size:13px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace">
<span style="white-space:pre-wrap"><span style="color:rgb(0,128,19)">%7 Compute statistics</span></span><span style="white-space:pre-wrap">[stat] = ft_freqstatistics(cfg, TFR_low, TFR_high);</span></div>
</div>
</div>
<div class="gmail_default" style="font-family:georgia,serif"><br>
</div>
<div class="gmail_default" style="font-family:georgia,serif">With gratitude,<br>
Camilo</div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div><b style="color:rgb(80,0,80)"><span style="font-size:12pt;color:rgb(99,144,68)"><font face="georgia, serif">================================</font></span></b><font face="georgia, serif"><b><br>
</b></font></div>
<div><font face="georgia, serif" color="#38761d"><b>Camilo Castelblanco Riveros (He/His)</b></font></div>
<div><font face="georgia, serif" color="#274e13">Ph.D. Candidate (G3)</font></div>
<div>
<div><font face="georgia, serif" color="#274e13"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.robertsonlab.com%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149058852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=QtT7h3BF3RZpnGV8%2BNd3a7Yz3EzcAWa3l3pcpLJT5Qs%3D&reserved=0" originalsrc="https://www.robertsonlab.com/" shash="z+i1xywhxRHVKFyeAYPP9Y1wTP3fi+XfPR3CmJ+PEgOa4ACl764pLc9hs/kD+leneFSmWhN9IXDCtia08klQQ44J/TBej9KUGXhdGaYOQFEGGFh7d8rkdMSArKkI5MbqDiMa6geODk7vyI1iYI/CgHZ/udwGMM/Vw1D+AnhW+KY=" originalsrc="https://www.robertsonlab.com/" shash="gh0CPGAFH0XiwngFtqdKSODwHHvHzd+RnfzgQrX5Oxsfifm+wGhQ8uHNkfqA+Z03i5k0GEugSthqPhy5troWpc+mQmOXKsvH6SHgUqzWACMrdH6c4WZPwqnmDcOugpIFH4zRTy5KddAJI5NWaApsqWcEfQR6CX9fjAooHWo/Tgg=" target="_blank">Robertson
Lab</a> & <a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dartmouth-hitchcock.org%2Fresearch%2Fsearch-clinical-trials%2Ftrial%2FSTUDY02001606&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149058852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=apOA2bf8lf%2FSJuMMDH7OSvJg7g67YrLgn9asDhcei2g%3D&reserved=0" originalsrc="https://www.dartmouth-hitchcock.org/research/search-clinical-trials/trial/STUDY02001606" shash="F6q/d7yI7o+qVnaAiHLcsu5YwFnig16WqlXC2pRMk7WKUCSBK9Q+Nz5PbXXuk8b1UWDSk8o1qSv87i+DyvaCyo4QOkOcG7XFBVD32a9pDUoUh0LdRG02lFi4ErEJGxWvB2l29GnThSK4COY0tux+4GVoAqAdIlm+5rxTqMwYp0Q=" originalsrc="https://www.dartmouth-hitchcock.org/research/search-clinical-trials/trial/STUDY02001606" shash="TXCy7q1v2IF3WRT1Ynr38UG/c4ANDX/IZkTYUBlok0fEZHToG9S2fO1RPh/CO336q3wJtRO6ToHxWsw5sVCQUQi3tIiUPsYONCPH+mdNRgA/7/SeXY4Tq19j2EfCG6i6+wh/XaueSuVFMt6pvMfKz1Qs3gDh3aV0v8gBcqLWOAk=" target="_blank">
Bujarski Lab</a></font></div>
<div><font face="georgia, serif" color="#274e13">Student Interest Group in Neurology (<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeiselmed.dartmouth.edu%2Fstudent-gov%2Fstudent-groups%2F&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149058852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Gl3Yngf3D5qP3DNwZptJmPZnX%2BPHga3kqVr%2B2ZNXvWA%3D&reserved=0" originalsrc="https://geiselmed.dartmouth.edu/student-gov/student-groups/" shash="m65gn2yRrHYQh7+7WqfJ61xltWyGFbqs4MbyTywrbpMuuZMZVo0tZLrnXxMCA3umsIsLxVzNvOr6AzyZCP+Mz9T8TGog0ojw/ZTZtF4/AyQm6XRV5k7CuugaVg8tXw4uoS0xgEWetpZk4rSDD1/4s+7pL2KREZyp8toyM4+QpYw=" originalsrc="https://geiselmed.dartmouth.edu/student-gov/student-groups/" shash="tMivJhJz4XwVTue5sNdvHtuZaN3w+gmiAZKDvo5fiE/CiuiF24jZ/klZ9xdq9Q7l84Y46WXBIUw0b5eTsakjPny+KmbSLer8v605GQRyqtxUllyfCh86zvagatwkMBUa38rp0She+MbXXDVLcl/q9xrVVUT654UO0/PfBO0kb4g=" target="_blank">SIGN</a>)
Co-Leader<u></u></font></div>
</div>
<div><font face="georgia, serif" color="#274e13">Diversity Student Advisory Board Member</font></div>
<div><font face="georgia, serif" color="#274e13">e: <a href="mailto:camilo.a.castelblanco.riveros.gr@dartmouth.edu" target="_blank">ccastelblanco.gr@dartmouth.edu</a></font></div>
<div><font face="georgia, serif" color="#274e13"><a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdartmouth.zoom.us%2Fmy%2Fccastelblanco&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149058852%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=BPbsfvHpoCiVS3ALYVdXQAizC9EaqKqQA5c4H3n%2B%2BV0%3D&reserved=0" originalsrc="https://dartmouth.zoom.us/my/ccastelblanco" shash="edpQR+FtgUAAzc3SV9EYCDRJDQ6Hg7d6D/ghJ+rnVBg0Ns2A0lrWqEMvUmJnu7Mbe0Jlva0lgfjgGHk38L6l77ECjEASF9ErmANXmctAYkbsoof0Ls9Ic651Xw4yUdtwMhLG3HdgL7HspTNF3ixiQBuTwdIjsAVnjG1w2eHv/FE=" originalsrc="https://dartmouth.zoom.us/my/ccastelblanco" shash="mh/fOTU5lZuANasezhH3wTt4jRNdSuafM6MHo3kXuP4C8u5I+3G9qxa1/CwNGYmcvd4vmKd40BX+211kVuWFJlJouQvIIpSttWFW78VHRzMbr8oNZ0nnWXS10LJNLBcXhWH6HUnXVs/RaKVpYMJCuTrYu3NzsGq4rTK7h6PQou0=" target="_blank">Zoom</a></font></div>
<div>
<div style="color:rgb(34,34,34)">
<div><font face="georgia, serif"><br>
</font></div>
</div>
</div>
<div><font face="georgia, serif"><img src="https://pbs.twimg.com/profile_images/1442874308360032261/L7MnNrBk_400x400.jpg" alt="Integrative Neuroscience at Dartmouth (IND) (@DartmouthNeuro) / Twitter" width="96" height="96"><img src="https://jobsearch.dartmouth-hitchcock.org/wp-content/uploads/DH-Bug-e1666020448423.png" width="96" height="96"></font></div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149215154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=juRpGMh%2FAWmw9sSPR1nbSkmRnrCnAAf4zi1JcUuNk%2Fk%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="PpkQNoYNc9YvsBCnvIYjomQeOfiu1X+vWhKyGclaFJkMlwpFLo++VZsEU1T18sBvLGiKmuQNoamYy1Bl/6XlpHgrOBWCHLOMHXEmwx5wqdvwm7DKw/TnJKzD69FPc2dIwIk/7AQZz8XlwF+00g4uoYGyhHTUO4sGEcWaBayIBss=" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="bUjb3DvSklOD0EaK/RYff2oQam/SPrOKECkRDxPiOnPu0KLORoMrQrrbrp6hv3KtztHh/Ul8pXPOZb/WrMMqkax6QyRy1XM4nbH9sqKIyueWqVgQ9u0lq6xWA1yHJ6GFLwZzoB+K8nWiXwExnPph+gKMYw053XXho9ZG/Zj+nS0=" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149215154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1ObZF1OpkT9boXBcxN3fgkLiNZGk7ZnJwQ7rem%2FRL9w%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="U2tj4v7P/RiSZ7P0eTxZn2f/bVxa4zGaDHzLW5Wi12qdCfdON1knQxBpGHJDg5KzZTFdeZuwSGZj7ipv//5BV4ZqA2NhHBfJexiseZ3Psn/LdELN4igAKVPLNZ0BRs6YtFj9YtOz0Af1OFCNyD/zLIGphKHToIuPi8mAes+BIeo=" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="q/ETLQL7SXIQmtErlpsoQa58kDuDazC+vtbSO86lwWJTdcZCdscSzsMhdHMaDnIgTg84gLTkDKkUkid9cXj9WYDZ/FkAczJlUyzu4pDybWP32dvclA7qN62X42Jyg3KRscUAezlsjCPAmHbeMowyxVSkzkAmvRAFWVz27WR4uR4=" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149215154%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=juRpGMh%2FAWmw9sSPR1nbSkmRnrCnAAf4zi1JcUuNk%2Fk%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="PpkQNoYNc9YvsBCnvIYjomQeOfiu1X+vWhKyGclaFJkMlwpFLo++VZsEU1T18sBvLGiKmuQNoamYy1Bl/6XlpHgrOBWCHLOMHXEmwx5wqdvwm7DKw/TnJKzD69FPc2dIwIk/7AQZz8XlwF+00g4uoYGyhHTUO4sGEcWaBayIBss=" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="hZRaIg5uqKOOsAuez0rB45nLulp0zaFQzWKeCFx+K410dseRzGHfogfbgE9AHsr2lsSqbirmdFTzd2xSMxFP6SJIXhVNXqkt7hxvAscOTk92ogOOCOXp0Jxg4DtoqJAA1jvCmHvss0k/MVYl5m/O4Tv0TqvPiYl897xFAo4uQfU=" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cdd36dd53ed8b4756e73008dce78df8bf%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638639844149371369%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=D%2F%2BMKbdT8gYtf5imJa%2Bg96X3Nqs2JkWKIWCGnRrsNCM%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="aQ70GAX43/Y0kzOprDUqtLX7v6RGrx6bWO06StQwfMZW3gL4cDTEzkPOofLvlbDSiHBdjN1uvL54gdjqxnI/XioyNObueuuJMadWbflerCbHC6L30VSAm7u+H9t8vkHfHpl5fKN7u/T4D9azEVDkHt6HwUQz7rzvmtFMswV5Zr4=" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="RhnkaXgPLkpzXMMuXiKIRPuLfsnpfVjWzF1F5sT+B50h70S5TPaUIeRV3t5c2m3lZp1fZo8k1AEMy9mET91t/WOR2deZsDKtKdAWnHhKnlPeNllQR7qrs06lXdbLBrv/qzYZKkBFCUJEHJBJzf6YOQ++M63qylkwEIXuvc3vCqw=" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>