<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thanks Tzvetan!</p>
<p>Yes, applying boferrroni to the extracted masks would actually be good enough I think..</p>
<p>Out of curiosity, do you think it would be ok to set all the power values outside the mask(defined grid of interest) to nan and perform source statistics as common with the manually masked power data for all conditions?</p>
<p><br>
</p>
<p>Thanks again for the help!!</p>
<p><br>
</p>
<p>Cecilia</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p><span style="font-size:10pt; color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif">Cecilia Mazzetti, </span><span style="font-size:10pt; font-family:Arial,Helvetica,sans-serif; color:rgb(0,0,0)">Postdoc Researcher</span></p>
<span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">Faculté de médecine</span><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt"> de </span><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">l'Université</span><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt"> de </span><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">Genève</span></p>
<span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:11pt"><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">Chemin des Mines 9, 1202 Genève</span><br>
<span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)"></span></span></p>
<span style="font-family:Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)"></span>
<p><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:11pt"><span style="color:rgb(0,0,0); font-family:Arial,Helvetica,sans-serif; font-size:10pt">+41 2237 90992</span></span></p>
</div>
</div>
</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> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Tzvetan Popov <tzvetan.popov@uni-konstanz.de><br>
<b>Sent:</b> Friday, November 13, 2020 12:43:53 PM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> Re: [FieldTrip] Source statistics after applying a priori mask on gridpoints (or atlas?)</font>
<div> </div>
</div>
<div>Dear Cecilia,
<div class=""><br class="">
<div class="">
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Hello fieldtrippers,</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Have a question regarding ft_sourcestatistics.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">I have a priori defined mask around central gridpoints which i would like to apply before running source statistics over two groups/conditions.</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Is there a way/configuration option to do so in fieldtrip?</div>
</div>
</div>
</blockquote>
I am not aware of it. <br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Does it make sense or that is actually not commonly done?</div>
</div>
</div>
</blockquote>
Whether or not it makes sense is up to you to narrate. Indeed it is not commonly done.<br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class="">(if so why?)</div>
</div>
</div>
</blockquote>
The goal of the statistic machinery as implemented in FieldTrip (both sensor and source level) is to provide you with a principled decision whether or not the data from 2 or more conditions is exchangeable. If you happen to find a cluster of sensors/voxels
regardless of where in the brain, you reject this H0. Thats it. The machinery does not tell you much about where in the brain, time and freq etc. </div>
<div><br class="">
</div>
<div>In your case, I would simply extract the values from your mask of interest and apply Bonferroni correction. Wouldn’t that suffice?</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">another option could be to use an atlas (although it'd be more precise to be able to apply a mask based on gridpoints in my case)</div>
</div>
</div>
</blockquote>
As explained here <a href="https://www.fieldtriptoolbox.org/tutorial/salzburg/#compute-the-leadfield" class="">
https://www.fieldtriptoolbox.org/tutorial/salzburg/#compute-the-leadfield</a> you can use your binary mask to constrain your source model. Then you use grand averaging and source statistic as you deem appropriate. </div>
<div><br class="">
</div>
<div>Good luck,</div>
<div>Tzvetan</div>
<div> <br class="">
<blockquote type="cite" class="">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" 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; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks in advance for sharing your wisdom!</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class="">Cecilia</div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div id="Signature" class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-size: 10pt; font-family: Arial, Helvetica, sans-serif;" class="">Cecilia Mazzetti, </span><span style="font-size: 10pt; font-family: Arial, Helvetica, sans-serif;" class="">Postdoc
Researcher</span></div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""></span>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class="">Faculté de médecine</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""> de </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class="">l'Université</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""> de </span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class="">Genève</span></div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""></span>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt;" class=""><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class="">Chemin des Mines 9, 1202 Genève</span><br class="">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""></span></span></div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class=""></span>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt;" class=""><span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;" class="">+41 2237 90992</span></span></div>
</div>
</div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; 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; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</body>
</html>