<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="">
Hi Matthew,
<div class=""><br class="">
</div>
<div class="">The definition of neighbours for electrodes is always a bit subject to subjectivity, I’d say.</div>
<div class=""><br class="">
</div>
<div class="">Ideally, indeed a distance-based heuristic is usually the best thing to do (as opposed to a triangulation heuristic). Yet, this is only really meaningful if the electrode positions are defined in 3D coordinates, rather than defined as a 2D projection
 on the plane (as in the layout you created from the picture). </div>
<div class=""><br class="">
</div>
<div class="">One can debate as to whether (in the figure you sent around) (e.g.) LMPf should count as a neighbour to RMFr etc., particularly if the array is really geodesic. Yet, in the grand scheme of things, I don’t think that practically it makes too much
 of a difference in the final results (i.e. the inferential conclusion that you are drawing based on the statistical test). This despite the fact that the exact neighbours determine the ’shape’ of the clusters, but this counts for both the clusters in the observed
 data, and in the instances of the permuted data. Thus, the inferential conclusion based on a particular clustering scheme is valid.</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>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 22 Sep 2020, at 16:18, Matthew Wood <<a href="mailto:matthew.wood@utsa.edu" class="">matthew.wood@utsa.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Hello all,</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
My name is Matthew Wood and I'm a graduate student at The University of Texas at San Antonio. I'm starting to use cluster analysis for my EEG experiments and wanted to make sure I understood a few things about how neighborhoods in FieldTrip.</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
1) Our lab uses a 26 EEG electrode setup in a geodesic array (link to diagram: <a href="https://www.researchgate.net/figure/Diagram-representing-the-26-electrode-placement-in-geodesic-array_fig2_235354855" id="LPlnk" class="">https://www.researchgate.net/figure/Diagram-representing-the-26-electrode-placement-in-geodesic-array_fig2_235354855</a>).
 I noticed there do not exist any templates on Fieldtrip for my specific array, so I used the feature to use an image to build a layout file. If anyone happens to have a layout file I can use with more accurate measurements, I would appreciate if you could
 share it so that I can use that instead.</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
2) Since I'm building the layout and neighborhoods from scratch, I'm a little nervous about their validity. I used the "enableedit" configuration in the ft_neighbourplot function to build my neighbors (I've attached a figure here). One of the features of a
 geodesic array is that all electrodes are equally spaced apart. Is it correct to then assume that this should be reflected in the neighborhood structure? </div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
3) Finally, for cluster analysis, does the distance between the neighbors matter? If so, does the fact that my layout has my electrodes placed with (seemingly) arbitrary units matter?</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
I appreciate any help anyone can provide!</div>
<div 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-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">
Matthew</div>
<div class="_EReadonly_1 _EType_OWALinkPreview _Entity _EId_OWALinkPreview" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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;">
<div id="LPBorder_GTaHR0cHM6Ly93d3cucmVzZWFyY2hnYXRlLm5ldC9maWd1cmUvRGlhZ3JhbS1yZXByZXNlbnRpbmctdGhlLTI2LWVsZWN0cm9kZS1wbGFjZW1lbnQtaW4tZ2VvZGVzaWMtYXJyYXlfZmlnMl8yMzUzNTQ4NTU." class="LPBorder633043" style="width: 800px; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer633043" role="presentation" style="padding: 12px 36px 12px 12px; width: 750px; border: 1px solid rgb(200, 200, 200); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;" class="">
<tbody class="">
<tr valign="top" style="border-spacing: 0px;" class="">
<td class="">
<div id="LPImageContainer633043" style="position: relative; margin-right: 12px; height: 236.612px; overflow: hidden; width: 240px;" class="">
<a target="_blank" id="LPImageAnchor633043" href="https://www.researchgate.net/figure/Diagram-representing-the-26-electrode-placement-in-geodesic-array_fig2_235354855" class=""><img id="LPThumbnailImageId633043" alt="" height="236" width="240" src="https://www.researchgate.net/profile/Nicole_Wicha/publication/235354855/figure/download/fig2/AS:767255897993216@1559939469184/Diagram-representing-the-26-electrode-placement-in-geodesic-array.jpg" style="display: block;" class=""></a></div>
</td>
<td style="width: 488px;" class="">
<div id="LPTitle633043" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;" class="">
<a target="_blank" id="LPUrlAnchor633043" href="https://www.researchgate.net/figure/Diagram-representing-the-26-electrode-placement-in-geodesic-array_fig2_235354855" style="text-decoration: none; color: var(--themePrimary);" class="">Figure 2. Diagram representing
 the 26-electrode placement in geodesic...</a></div>
<div id="LPDescription633043" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;" class="">
Download scientific diagram | Diagram representing the 26-electrode placement in geodesic array. from publication: Meaning first: A case for language-independent access to word meaning in the bilingual brain | This study aimed to determine how deeply a word
 is processed in the bilingual brain before the word's language membership plays a role in lexical selection. In two ERP experiments, balanced Spanish-English bilinguals read lists of words and pseudowords in Spanish and English,... | Bilingual, Lexical Access
 and Spanish | ResearchGate, the professional network for scientists.</div>
<div id="LPMetadata633043" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;" class="">
<a href="http://www.researchgate.net/" class="">www.researchgate.net</a></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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 id="cid:D75C9169-77B6-4BD3-971B-85B8FEB6EE03@home"><neighbor_layout.png></span><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; 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: 14px; 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: 14px; 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: 14px; 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: 14px; 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: 14px; 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: 14px; 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>
</body>
</html>