<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 Sebastian,
<div class=""><br class="">
</div>
<div class="">Fieldtrip only compares apples with apples, oranges with oranges, same-named electrodes with one another, and indeed also same frequency bins (and time points).</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">In your case your well-motivated intention is to ask Fieldtrip to compare alpha band in sub-001 with alpha band in sub-002 etc. This is perfectly fine, but would require you to fool around a bit with the subject-specific data structures. I’d extract
 per subject the alpha frequency specific data, resulting in a data structure with just a single frequency bin (and possibly multiple time bins). Next, you’d need to replace the individual data structures’ ‘freq’-bin with a value that is common across subjects,
 say 10. Then, it should be business as usual.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""> <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 16 Jul 2019, at 16:38, Sebastian Sauppe <<a href="mailto:sauppe.s@gmail.com" class="">sauppe.s@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear FieldTrip community,
<div class=""><br class="">
</div>
<div class="">Is it possible to run cluster-based permutation tests (<i class="">ft_freqstatistics</i>) with individual frequency bands?</div>
<div class=""><br class="">
</div>
<div class="">I have an EEG experiment in which I want to compare alpha ERD/ERS between two conditions. I also have resting state recordings of the participants from which I extracted the peak alpha frequency to calculate individual frequency band ranges for
 each participant (like suggested by Klimesch and practiced in many papers).</div>
<div class=""><br class="">
</div>
<div class="">How would I only include those frequencies that fall into each participant’s alpha band? As far as I understand it, the
<i class="">cfg.frequency</i> argument of <i class="">ft_freqstatistics</i> only allows the specification of a fixed band.</div>
<div class=""><br class="">
</div>
<div class="">Any help would be greatly appreciated!</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Sebastian</div>
<div class=""><br class="">
</div>
<div class="">
<div dir="auto" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="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;" class="">
-----------</div>
<div style="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;" class="">
Dr. Sebastian Sauppe</div>
<div style="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;" class="">
Department of Comparative Linguistics, University of Zurich</div>
<div style="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;" class="">
Homepage: <a href="https://sites.google.com/site/sauppes/" class="">https://sites.google.com/site/sauppes/</a></div>
<div style="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;" class="">
Twitter: <a href="https://twitter.com/SebastianSauppe" class="">@SebastianSauppe</a></div>
<div style="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;" class="">
Google Scholar Citations: <a href="https://scholar.google.de/citations?user=wEtciKQAAAAJ" class="">https://scholar.google.de/citations?user=wEtciKQAAAAJ</a> </div>
<div style="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;" class="">
ResearchGate: <a href="http://www.researchgate.net/profile/Sebastian_Sauppe" class="">http://www.researchgate.net/profile/Sebastian_Sauppe</a></div>
<div style="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;" class="">
ORCID ID: <a href="http://orcid.org/0000-0001-8670-8197" class="">http://orcid.org/0000-0001-8670-8197</a></div>
</div>
</div>
<br class="">
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>