<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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></body></html>