<div dir="ltr">The solution to my problem was quite simple as the layout files that come with FieldTrip can also be used for the clustering algorithms to define the neighbors.<br><br>% prepare_neighbours<br>cfg_layout = [];<br>cfg_layout.layout = 'biosemi128.lay';<br>cfg_neighb           = [];<br>cfg_neighb.layout = ft_prepare_layout(cfg_layout);<br>cfg_neighb.method    = 'triangulation';<br>cfg_neighb.feedback  = 'no';<br>cfg.neighbours       = ft_prepare_neighbours(cfg_neighb, data);<br><br>— Sebastian<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 9. Nov. 2021 um 00:18 Uhr schrieb Sebastian Sauppe <<a href="mailto:sauppe.s@gmail.com">sauppe.s@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Dear FieldTrip community,<br>
<br>
For running cluster-based permutation tests one needs to define which channels are neighbors and this is done with the help of a template. I have data from a Biosemi 128 channel system but FieldTrip only comes with neighbor templates for 16, 32, and 64 electrodes for Biosemi (<a href="https://www.fieldtriptoolbox.org/template/neighbours/" rel="noreferrer" target="_blank">https://www.fieldtriptoolbox.org/template/neighbours/</a>).<br>
<br>
Does anyone have a Biosemi 128-electrode template or knows where to find it?<br>
<br>
Any help or advice would be greatly appreciated!<br>
<br>
Kind regards,<br>
Sebastian <br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br>Dr. Sebastian Sauppe<br>Department of Comparative Language Science, University of Zurich<br>Homepage: <a href="https://sites.google.com/site/sauppes/" target="_blank">https://sites.google.com/site/sauppes/</a><br>Twitter: @SebastianSauppe <<a href="https://twitter.com/SebastianSauppe" target="_blank">https://twitter.com/SebastianSauppe</a>><br>Google Scholar Citations: <a href="https://scholar.google.de/citations?user=wEtciKQAAAAJ" target="_blank">https://scholar.google.de/citations?user=wEtciKQAAAAJ</a><br>ResearchGate: <a href="http://www.researchgate.net/profile/Sebastian_Sauppe" target="_blank">http://www.researchgate.net/profile/Sebastian_Sauppe</a><br>ORCID ID: <a href="http://orcid.org/0000-0001-8670-8197" target="_blank">http://orcid.org/0000-0001-8670-8197</a><br><br><br></div></div></div>