# Analysis 20261015-220538-v2-excl4

## Inputs

238 input runs (dataset `default`), created 2026-10-15T22:05:38, code 06511b3. 0 could not be read.

## Filters

Stacks: quality in ['good'] → 180 stacks kept, 58 excluded.

Somas: volume 300.0–6000.0 µm³, border fraction ≤ 0.1, exclude touching the XY border: True, NeuN mean ≥ 0.0 → 17164 of 18628 somas kept.

### Excluded stacks

| stack | reason |
|---|---|
| BAT1L2L | quality=bad |
| BAT1L2R | quality=bad |
| BAT1L5L | quality=bad |
| BAT1L5R | quality=bad |
| BAT2L2L | quality=bad |
| BAT2L2R | quality=bad |
| BAT2L5L | quality=bad |
| BAT2L5R | quality=bad |
| OBFF111L2L | animal excluded: OBFF11 |
| OBFF111L2R | animal excluded: OBFF11 |
| OBFF111L5L | animal excluded: OBFF11 |
| OBFF111L5R | animal excluded: OBFF11 |
| OBFF112L2L | animal excluded: OBFF11 |
| OBFF112L2R | animal excluded: OBFF11 |
| OBFF112L5L | animal excluded: OBFF11 |
| OBFF112L5R | animal excluded: OBFF11 |
| OBFF131L2L | animal excluded: OBFF13 |
| OBFF131L2R | animal excluded: OBFF13 |
| OBFF131L5L | animal excluded: OBFF13 |
| OBFF131L5R | animal excluded: OBFF13 |
| OBFF132L2L | animal excluded: OBFF13 |
| OBFF132L2R | animal excluded: OBFF13 |
| OBFF132L5L | animal excluded: OBFF13 |
| OBFF132L5R | animal excluded: OBFF13 |
| OBFF141L2L | animal excluded: OBFF14 |
| OBFF141L2R | animal excluded: OBFF14 |
| OBFF141L5L | animal excluded: OBFF14 |
| OBFF141L5R | animal excluded: OBFF14 |
| OBFF142L2L | animal excluded: OBFF14 |
| OBFF142L2R | animal excluded: OBFF14 |
| OBFF142L5L | animal excluded: OBFF14 |
| OBFF142L5R | animal excluded: OBFF14 |
| OBFF201L2L | quality=bad |
| OBFF201L2R | quality=bad |
| OBFF201L5L | quality=bad |
| OBFF201L5R | quality=bad |
| OBFF202L2L | quality=bad |
| OBFF202L2R | quality=bad |
| OBFF221L2L | animal excluded: OBFF22 |
| OBFF221L2R | animal excluded: OBFF22 |
| OBFF221L5L | animal excluded: OBFF22 |
| OBFF221L5R | animal excluded: OBFF22 |
| OBFF222L2L | animal excluded: OBFF22 |
| OBFF222L2R | animal excluded: OBFF22 |
| OBFF222L5L | animal excluded: OBFF22 |
| OBFF222L5R | animal excluded: OBFF22 |
| OBFF251L5R | quality=bad |
| OBFF31L2L | quality=bad |
| OBFF31L2R | quality=bad |
| OBFF31L5L | quality=bad |
| OBFF31L5R | quality=bad |
| OBFF32L2L | quality=bad |
| OBFF32L2R | quality=bad |
| OBFF32L5L | quality=bad |
| OBFF32L5R | quality=bad |
| ROB1L5L | quality=bad |
| ROB1L5R | quality=bad |
| ROB2L5L | quality=bad |

### Somas per stack

| stack | n_total | n_kept | n_dropped | dropped_volume_min | dropped_volume_max | dropped_border_fraction | dropped_touches_border | dropped_neun_mean | dropped_no_tail |
|---|---|---|---|---|---|---|---|---|---|
| FF151L2L | 56 | 51 | 5 | 0 | 0 | 5 | 0 | 0 | 0 |
| FF151L2R | 115 | 103 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| FF151L5L | 143 | 131 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| FF151L5R | 79 | 71 | 8 | 0 | 0 | 8 | 0 | 0 | 0 |
| FF152L2L | 104 | 98 | 6 | 0 | 0 | 6 | 0 | 0 | 0 |
| FF152L2R | 91 | 84 | 7 | 0 | 0 | 7 | 0 | 0 | 0 |
| FF152L5L | 144 | 130 | 14 | 0 | 0 | 14 | 0 | 0 | 0 |
| FF152L5R | 28 | 27 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| FF171L2L | 114 | 112 | 2 | 0 | 0 | 2 | 0 | 0 | 0 |
| FF171L2R | 95 | 92 | 3 | 0 | 0 | 3 | 0 | 0 | 0 |
| FF171L5L | 161 | 148 | 13 | 0 | 0 | 13 | 0 | 0 | 0 |
| FF171L5R | 208 | 198 | 10 | 0 | 0 | 10 | 0 | 0 | 0 |
| FF172L2L | 122 | 112 | 10 | 0 | 0 | 10 | 0 | 0 | 0 |
| FF172L2R | 99 | 90 | 9 | 0 | 0 | 9 | 0 | 0 | 0 |
| FF172L5L | 201 | 189 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| FF172L5R | 102 | 96 | 6 | 0 | 0 | 6 | 0 | 0 | 0 |
| FF231L2L | 133 | 117 | 16 | 0 | 0 | 16 | 0 | 0 | 0 |
| FF231L2R | 87 | 82 | 5 | 0 | 0 | 5 | 0 | 0 | 0 |
| FF231L5L | 127 | 114 | 13 | 0 | 0 | 13 | 0 | 0 | 0 |
| FF231L5R | 155 | 141 | 14 | 0 | 0 | 14 | 0 | 0 | 0 |
| FF232L2L | 74 | 67 | 7 | 0 | 0 | 7 | 0 | 0 | 0 |
| FF232L2R | 105 | 98 | 7 | 0 | 0 | 7 | 0 | 0 | 0 |
| FF232L5L | 167 | 149 | 18 | 0 | 0 | 18 | 0 | 0 | 0 |
| FF232L5R | 123 | 112 | 11 | 0 | 0 | 11 | 0 | 0 | 0 |
| OBFF101L2L | 119 | 110 | 9 | 0 | 0 | 9 | 0 | 0 | 0 |
| OBFF101L2R | 123 | 107 | 16 | 0 | 0 | 16 | 0 | 0 | 0 |
| OBFF101L5L | 108 | 106 | 2 | 0 | 0 | 2 | 0 | 0 | 0 |
| OBFF101L5R | 75 | 65 | 10 | 0 | 0 | 10 | 0 | 0 | 0 |
| OBFF102L2L | 71 | 60 | 11 | 0 | 0 | 11 | 0 | 0 | 0 |
| OBFF102L2R | 84 | 76 | 8 | 0 | 0 | 8 | 0 | 0 | 0 |
| OBFF102L5L | 88 | 83 | 5 | 0 | 0 | 5 | 0 | 0 | 0 |
| OBFF102L5R | 133 | 121 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| OBFF11L2L | 73 | 64 | 9 | 0 | 0 | 9 | 0 | 0 | 0 |
| OBFF11L2R | 74 | 68 | 6 | 0 | 0 | 6 | 0 | 0 | 0 |
| OBFF11L5L | 156 | 141 | 15 | 0 | 0 | 15 | 0 | 0 | 0 |
| OBFF11L5R | 176 | 163 | 13 | 0 | 0 | 13 | 0 | 0 | 0 |
| OBFF121L2L | 80 | 76 | 4 | 0 | 0 | 4 | 0 | 0 | 0 |
| OBFF121L2R | 65 | 62 | 3 | 0 | 0 | 3 | 0 | 0 | 0 |
| OBFF121L5L | 87 | 85 | 2 | 0 | 0 | 2 | 0 | 0 | 0 |
| OBFF121L5R | 143 | 131 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| OBFF122L2L | 46 | 42 | 4 | 0 | 0 | 4 | 0 | 0 | 0 |
| OBFF122L2R | 125 | 113 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| OBFF122L5L | 77 | 72 | 5 | 0 | 0 | 5 | 0 | 0 | 0 |
| OBFF122L5R | 123 | 117 | 6 | 0 | 0 | 6 | 0 | 0 | 0 |
| OBFF12L2L | 94 | 85 | 9 | 0 | 0 | 9 | 0 | 0 | 0 |
| OBFF12L2R | 82 | 69 | 13 | 0 | 0 | 13 | 0 | 0 | 0 |
| OBFF12L5L | 189 | 178 | 11 | 0 | 0 | 11 | 0 | 0 | 0 |
| OBFF12L5R | 176 | 155 | 21 | 0 | 0 | 21 | 0 | 0 | 0 |
| OBFF151L2L | 127 | 115 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| OBFF151L2R | 81 | 73 | 8 | 0 | 0 | 8 | 0 | 0 | 0 |
| OBFF151L5L | 104 | 93 | 11 | 0 | 0 | 11 | 0 | 0 | 0 |
| OBFF151L5R | 153 | 139 | 14 | 0 | 0 | 14 | 0 | 0 | 0 |
| OBFF152L2L | 133 | 122 | 11 | 0 | 0 | 11 | 0 | 0 | 0 |
| OBFF152L2R | 97 | 87 | 10 | 0 | 0 | 10 | 0 | 0 | 0 |
| OBFF152L5L | 161 | 149 | 12 | 0 | 0 | 12 | 0 | 0 | 0 |
| OBFF152L5R | 149 | 139 | 10 | 0 | 0 | 10 | 0 | 0 | 0 |
| OBFF161L2L | 69 | 54 | 15 | 0 | 0 | 15 | 0 | 0 | 0 |
| OBFF161L2R | 75 | 67 | 8 | 0 | 0 | 8 | 0 | 0 | 0 |
| OBFF161L5L | 163 | 144 | 19 | 0 | 0 | 19 | 0 | 0 | 0 |
| OBFF161L5R | 156 | 140 | 16 | 0 | 0 | 16 | 0 | 0 | 0 |
_… 120 more rows_

## Subjects

One row per subject × layer × hemisphere; statistics pool every kept soma of that cell (not stack means).

### subjects.csv

| animal | layer | hemisphere | group | paw | n_stacks | n_somas | syn_per_um2_mean | syn_per_um2_median | syn_per_um2_sd | syn_per_um3_mean | syn_per_um3_median | syn_per_um3_sd | n_synapse_mean | n_synapse_median | n_synapse_sd | n_synapse_maxplane_mean | n_synapse_maxplane_median | n_synapse_maxplane_sd |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FF15 | L2 | L | B | left | 2 | 149 | 0.03613 | 0.03594 | 0.01333 | 0.02058 | 0.02064 | 0.007094 | 24.42 | 22 | 14.07 | 7.973 | 7 | 3.319 |
| FF15 | L2 | R | B | left | 2 | 187 | 0.03604 | 0.03545 | 0.01289 | 0.02084 | 0.01974 | 0.00759 | 21.09 | 21 | 9.12 | 7.39 | 7 | 2.806 |
| FF15 | L5 | L | B | left | 2 | 261 | 0.0354 | 0.03559 | 0.01091 | 0.0212 | 0.02059 | 0.005934 | 17.14 | 16 | 8.669 | 5.402 | 5 | 2.183 |
| FF15 | L5 | R | B | left | 2 | 98 | 0.03342 | 0.03293 | 0.01013 | 0.02151 | 0.02075 | 0.00587 | 14.66 | 13 | 7.682 | 5.204 | 5 | 1.787 |
| FF17 | L2 | L | B | left | 2 | 224 | 0.0384 | 0.03654 | 0.01411 | 0.02675 | 0.02548 | 0.01038 | 17.37 | 16.5 | 7.576 | 7.812 | 7 | 3.32 |
| FF17 | L2 | R | B | left | 2 | 182 | 0.04162 | 0.04079 | 0.01443 | 0.02594 | 0.025 | 0.008099 | 22.35 | 18 | 13.43 | 7.978 | 8 | 2.954 |
| FF17 | L5 | L | B | left | 2 | 337 | 0.03345 | 0.03368 | 0.01281 | 0.02129 | 0.02113 | 0.008358 | 14.6 | 13 | 7.383 | 5.958 | 5 | 2.869 |
| FF17 | L5 | R | B | left | 2 | 294 | 0.03766 | 0.03743 | 0.01105 | 0.02493 | 0.02478 | 0.007318 | 14.33 | 13 | 5.739 | 5.745 | 5 | 1.978 |
| FF23 | L2 | L | A | left | 2 | 184 | 0.03751 | 0.03795 | 0.01316 | 0.02089 | 0.02036 | 0.007016 | 22.2 | 22.5 | 11.08 | 6.962 | 7 | 2.697 |
| FF23 | L2 | R | A | left | 2 | 180 | 0.03796 | 0.03489 | 0.01677 | 0.02148 | 0.02026 | 0.008576 | 21.64 | 18 | 14.47 | 6.533 | 6 | 2.654 |
| FF23 | L5 | L | A | left | 2 | 263 | 0.03114 | 0.03057 | 0.01044 | 0.01852 | 0.01808 | 0.00615 | 14.84 | 14 | 6.578 | 4.833 | 5 | 1.672 |
| FF23 | L5 | R | A | left | 2 | 253 | 0.0319 | 0.03182 | 0.01131 | 0.01851 | 0.01853 | 0.006704 | 15.89 | 15 | 6.581 | 5.32 | 5 | 1.842 |
| OBFF1 | L2 | L | B | right | 2 | 149 | 0.03972 | 0.04011 | 0.0126 | 0.02268 | 0.02177 | 0.007048 | 24.77 | 21 | 14.55 | 7.503 | 7 | 2.945 |
| OBFF1 | L2 | R | B | right | 2 | 137 | 0.04163 | 0.04101 | 0.01332 | 0.02221 | 0.02181 | 0.006412 | 28.54 | 27 | 15.79 | 8.533 | 8 | 3.646 |
| OBFF1 | L5 | L | B | right | 2 | 319 | 0.03351 | 0.03378 | 0.01052 | 0.02086 | 0.02059 | 0.006566 | 14.44 | 13 | 6.794 | 4.969 | 5 | 1.714 |
| OBFF1 | L5 | R | B | right | 2 | 318 | 0.0309 | 0.03051 | 0.01 | 0.01932 | 0.0188 | 0.006689 | 13.56 | 13 | 6.609 | 4.78 | 5 | 1.905 |
| OBFF10 | L2 | L | B | left | 2 | 170 | 0.04104 | 0.04004 | 0.01367 | 0.02366 | 0.02267 | 0.008771 | 23.9 | 22 | 12.15 | 7.218 | 7 | 2.407 |
| OBFF10 | L2 | R | B | left | 2 | 183 | 0.03933 | 0.04054 | 0.01218 | 0.02198 | 0.02165 | 0.007403 | 24.1 | 23 | 12.23 | 6.858 | 7 | 2.613 |
| OBFF10 | L5 | L | B | left | 2 | 189 | 0.02797 | 0.02751 | 0.01108 | 0.0193 | 0.01941 | 0.007575 | 11.81 | 11 | 6.67 | 4.413 | 4 | 1.614 |
| OBFF10 | L5 | R | B | left | 2 | 186 | 0.03342 | 0.03365 | 0.01009 | 0.02103 | 0.02046 | 0.007225 | 17.17 | 17 | 6.98 | 5.14 | 5 | 1.641 |
| OBFF12 | L2 | L | B | right | 2 | 118 | 0.04603 | 0.04723 | 0.0144 | 0.02547 | 0.02421 | 0.008411 | 31.17 | 31.5 | 16.97 | 8.856 | 9 | 3.428 |
| OBFF12 | L2 | R | B | right | 2 | 175 | 0.02778 | 0.02483 | 0.01664 | 0.01635 | 0.01485 | 0.008964 | 14.03 | 10 | 13.43 | 4.92 | 4 | 3.309 |
| OBFF12 | L5 | L | B | right | 2 | 157 | 0.03932 | 0.03668 | 0.01411 | 0.02218 | 0.02122 | 0.007422 | 23.26 | 21 | 13.76 | 6.917 | 6 | 2.935 |
| OBFF12 | L5 | R | B | right | 2 | 248 | 0.02965 | 0.0283 | 0.01282 | 0.01817 | 0.01763 | 0.007409 | 12.58 | 11 | 7.464 | 4.738 | 4 | 2.35 |
| OBFF15 | L2 | L | B | right | 2 | 237 | 0.04504 | 0.0461 | 0.01741 | 0.02725 | 0.02606 | 0.01105 | 21.56 | 21 | 9.544 | 7.333 | 7 | 2.762 |
| OBFF15 | L2 | R | B | right | 2 | 160 | 0.04848 | 0.04811 | 0.0171 | 0.02786 | 0.02758 | 0.01007 | 25.81 | 24 | 13.48 | 8.05 | 7.5 | 3.306 |
| OBFF15 | L5 | L | B | right | 2 | 242 | 0.03185 | 0.03094 | 0.009429 | 0.02049 | 0.01982 | 0.006288 | 13.13 | 13 | 5.376 | 4.393 | 4 | 1.51 |
| OBFF15 | L5 | R | B | right | 2 | 278 | 0.03253 | 0.0317 | 0.009646 | 0.01986 | 0.0189 | 0.005848 | 14.31 | 14 | 5.478 | 4.536 | 4 | 1.461 |
| OBFF16 | L2 | L | A | right | 2 | 98 | 0.02978 | 0.03093 | 0.01684 | 0.01715 | 0.01719 | 0.009515 | 20.93 | 16.5 | 15.83 | 5.551 | 5 | 3.306 |
| OBFF16 | L2 | R | A | right | 2 | 100 | 0.03185 | 0.03178 | 0.01439 | 0.01785 | 0.01697 | 0.008473 | 26.21 | 23 | 18.04 | 6.23 | 5 | 3.345 |
| OBFF16 | L5 | L | A | right | 2 | 190 | 0.02859 | 0.0294 | 0.01116 | 0.01655 | 0.01656 | 0.006405 | 15.88 | 15 | 7.845 | 4.879 | 5 | 1.976 |
| OBFF16 | L5 | R | A | right | 2 | 184 | 0.0251 | 0.02556 | 0.01012 | 0.0147 | 0.01478 | 0.00621 | 12.96 | 12 | 6.216 | 4.087 | 4 | 1.757 |
| OBFF17 | L2 | L | A | right | 2 | 139 | 0.04861 | 0.04916 | 0.01657 | 0.02742 | 0.02645 | 0.008359 | 29.89 | 30 | 15.9 | 9.331 | 9 | 3.618 |
| OBFF17 | L2 | R | A | right | 2 | 132 | 0.0503 | 0.04911 | 0.01552 | 0.02675 | 0.02568 | 0.008003 | 33.41 | 34 | 16.04 | 9.72 | 9.5 | 3.935 |
| OBFF17 | L5 | L | A | right | 2 | 199 | 0.0289 | 0.02664 | 0.01702 | 0.01848 | 0.01714 | 0.01047 | 13.31 | 10 | 10.88 | 5.497 | 5 | 3.622 |
| OBFF17 | L5 | R | A | right | 2 | 213 | 0.02725 | 0.02635 | 0.01109 | 0.01718 | 0.01598 | 0.007353 | 12.77 | 12 | 6.856 | 4.587 | 4 | 1.85 |
| OBFF18 | L2 | L | A | left | 2 | 145 | 0.03642 | 0.0347 | 0.01502 | 0.02046 | 0.02021 | 0.007936 | 20.62 | 18 | 12.74 | 6.331 | 6 | 2.759 |
| OBFF18 | L2 | R | A | left | 2 | 152 | 0.03785 | 0.03748 | 0.01286 | 0.02154 | 0.021 | 0.007635 | 22.04 | 20 | 12.44 | 6.513 | 6 | 2.367 |
| OBFF18 | L5 | L | A | left | 2 | 215 | 0.03419 | 0.03313 | 0.01099 | 0.01979 | 0.01878 | 0.006619 | 17.64 | 16 | 8.994 | 5.902 | 6 | 2.22 |
| OBFF18 | L5 | R | A | left | 2 | 201 | 0.03638 | 0.03495 | 0.01126 | 0.02123 | 0.01999 | 0.006471 | 17.97 | 16 | 8.746 | 5.915 | 6 | 2.163 |
| OBFF19 | L2 | L | A | right | 2 | 207 | 0.04458 | 0.04327 | 0.01469 | 0.02701 | 0.02608 | 0.008817 | 22.11 | 21 | 9.808 | 7.092 | 7 | 2.714 |
| OBFF19 | L2 | R | A | right | 2 | 211 | 0.03974 | 0.03999 | 0.01285 | 0.02356 | 0.02337 | 0.007082 | 21.16 | 21 | 9.515 | 6.962 | 7 | 2.414 |
| OBFF19 | L5 | L | A | right | 2 | 283 | 0.03647 | 0.03579 | 0.01121 | 0.02298 | 0.02268 | 0.007002 | 14.65 | 14 | 5.375 | 5.035 | 5 | 1.6 |
| OBFF19 | L5 | R | A | right | 2 | 252 | 0.03162 | 0.02934 | 0.01434 | 0.01897 | 0.0177 | 0.008049 | 14.58 | 12 | 9.057 | 4.917 | 4 | 2.548 |
| OBFF2 | L2 | L | A | right | 2 | 166 | 0.01904 | 0.01556 | 0.01373 | 0.01073 | 0.009699 | 0.007635 | 11.72 | 9 | 9.878 | 4.386 | 4 | 2.734 |
| OBFF2 | L2 | R | A | right | 2 | 218 | 0.02105 | 0.01989 | 0.01022 | 0.01256 | 0.01157 | 0.006019 | 11.79 | 11 | 6.243 | 4.954 | 5 | 2.199 |
| OBFF2 | L5 | L | A | right | 2 | 254 | 0.02656 | 0.02547 | 0.008521 | 0.01619 | 0.01548 | 0.004695 | 11.8 | 10 | 5.443 | 4.343 | 4 | 1.631 |
| OBFF2 | L5 | R | A | right | 2 | 212 | 0.03181 | 0.03165 | 0.01064 | 0.01911 | 0.01853 | 0.006208 | 16.96 | 15 | 9.004 | 5.792 | 5 | 2.217 |
| OBFF20 | L5 | L | A | left | 1 | 98 | 0.03551 | 0.03381 | 0.01463 | 0.02193 | 0.02075 | 0.009111 | 17.3 | 16 | 10.09 | 5.031 | 5 | 2.007 |
| OBFF20 | L5 | R | A | left | 1 | 106 | 0.03572 | 0.03478 | 0.01284 | 0.02221 | 0.02169 | 0.007948 | 16.16 | 14.5 | 8.05 | 5.104 | 5 | 2.051 |
| OBFF21 | L2 | L | A | left | 2 | 144 | 0.03973 | 0.03807 | 0.01522 | 0.02277 | 0.02232 | 0.007347 | 23.62 | 20.5 | 15.77 | 7.743 | 7 | 3.508 |
| OBFF21 | L2 | R | A | left | 2 | 169 | 0.03948 | 0.03846 | 0.01526 | 0.02321 | 0.02279 | 0.00876 | 21.38 | 17 | 13.07 | 7.166 | 7 | 3.567 |
| OBFF21 | L5 | L | A | left | 2 | 181 | 0.03621 | 0.03407 | 0.0149 | 0.02279 | 0.02242 | 0.00824 | 17.9 | 13 | 13.26 | 6.392 | 5 | 3.695 |
| OBFF21 | L5 | R | A | left | 2 | 190 | 0.03979 | 0.03881 | 0.01286 | 0.0237 | 0.02305 | 0.007429 | 18.93 | 16 | 10.81 | 5.932 | 5 | 2.211 |
| OBFF23 | L2 | L | A | right | 2 | 180 | 0.0326 | 0.03251 | 0.01432 | 0.01955 | 0.01881 | 0.009216 | 16.09 | 15 | 7.649 | 5.567 | 6 | 2.225 |
| OBFF23 | L2 | R | A | right | 2 | 147 | 0.03773 | 0.03621 | 0.01487 | 0.02164 | 0.02034 | 0.009068 | 23.93 | 21 | 13.22 | 7.299 | 7 | 2.967 |
| OBFF23 | L5 | L | A | right | 2 | 204 | 0.03092 | 0.02888 | 0.01304 | 0.01824 | 0.01748 | 0.007912 | 15.25 | 13 | 8.519 | 5.333 | 5 | 2.402 |
| OBFF23 | L5 | R | A | right | 2 | 189 | 0.0264 | 0.02637 | 0.008452 | 0.01615 | 0.01573 | 0.005261 | 12.63 | 12 | 5.242 | 4.196 | 4 | 1.387 |
| OBFF24 | L2 | L | B | left | 2 | 117 | 0.04317 | 0.04244 | 0.01605 | 0.02536 | 0.02556 | 0.008184 | 25.14 | 23 | 15.78 | 7.752 | 7 | 3.476 |
| OBFF24 | L2 | R | B | left | 2 | 164 | 0.0429 | 0.04236 | 0.014 | 0.02452 | 0.02364 | 0.007907 | 21.32 | 22 | 8.189 | 7.232 | 7 | 2.255 |
_… 33 more rows_

## Group comparison

Groups A and B are reported as given by the subjects key (the key is blinded in the database). Contralateral = the hemisphere opposite the preferred paw (right paw → left hemisphere). Per rat and layer: contra − ipsi of each metric (pooled somas); then A vs B and right- vs left-pawed on that difference (Mann-Whitney, label permutation, bootstrap CI), contra vs ipsi within each group (paired Wilcoxon), and the rats' overall means A vs B.

Behaviour: reaching success of 18 rats (success_rate = successes / reaches over all sessions; success_last3 = mean successes per session over the last 3; success_gain = last 3 minus first 3) against each metric per layer and side (contra − ipsi, contra, ipsi, overall mean): Spearman and Pearson over all rats and within A and within B. Exploratory: many tests, no multiplicity correction.

### Tests (groups_tests.csv)

| metric | layer | comparison | label_1 | label_2 | n_1 | n_2 | mean_1 | mean_2 | estimate | ci_low | ci_high | test | p_test | p_permutation |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| syn_per_um2 | L2 | contra-ipsi: A vs B | A | B | 9 | 14 | -0.0008316 | 0.001259 | -0.00209 | -0.006279 | 0.001618 | mann-whitney | 0.6822 | 0.4185 |
| syn_per_um2 | L2 | overall: A vs B | A | B | 9 | 14 | 0.03671 | 0.03818 | -0.001476 | -0.007493 | 0.004051 | mann-whitney | 0.5923 | 0.6118 |
| syn_per_um2 | L2 | contra vs ipsi within A | A contra | A ipsi | 9 | 9 |  |  | -0.0008316 | -0.002535 | 0.001003 | wilcoxon (paired) | 0.3008 |  |
| syn_per_um2 | L2 | contra vs ipsi within B | B contra | B ipsi | 14 | 14 |  |  | 0.001259 | -0.001881 | 0.00499 | wilcoxon (paired) | 0.9032 |  |
| syn_per_um2 | L2 | contra-ipsi: right- vs left-pawed | right | left | 12 | 11 | 0.001078 | -0.000254 | 0.001332 | -0.002679 | 0.006252 | mann-whitney | 0.9755 | 0.6022 |
| syn_per_um2 | L2 | overall: right- vs left-pawed | right | left | 12 | 11 | 0.03733 | 0.0379 | -0.0005681 | -0.005395 | 0.004081 | mann-whitney | 0.9264 | 0.8381 |
| syn_per_um2 | L2 | contra vs ipsi within right-pawed | right contra | right ipsi | 12 | 12 |  |  | 0.001078 | -0.002168 | 0.005378 | wilcoxon (paired) | 0.7334 |  |
| syn_per_um2 | L2 | contra vs ipsi within left-pawed | left contra | left ipsi | 11 | 11 |  |  | -0.000254 | -0.002478 | 0.00215 | wilcoxon (paired) | 0.7002 |  |
| syn_per_um2 | L5 | contra-ipsi: A vs B | A | B | 10 | 13 | -0.0002551 | 0.001832 | -0.002087 | -0.007088 | 0.00189 | mann-whitney | 0.8768 | 0.4229 |
| syn_per_um2 | L5 | overall: A vs B | A | B | 10 | 14 | 0.0316 | 0.03227 | -0.0006768 | -0.003473 | 0.002285 | mann-whitney | 0.7035 | 0.6599 |
| syn_per_um2 | L5 | contra vs ipsi within A | A contra | A ipsi | 10 | 10 |  |  | -0.0002551 | -0.004811 | 0.002991 | wilcoxon (paired) | 0.4316 |  |
| syn_per_um2 | L5 | contra vs ipsi within B | B contra | B ipsi | 13 | 13 |  |  | 0.001832 | -6.776e-05 | 0.003976 | wilcoxon (paired) | 0.1465 |  |
| syn_per_um2 | L5 | contra-ipsi: right- vs left-pawed | right | left | 11 | 12 | 0.001663 | 0.000248 | 0.001415 | -0.002462 | 0.005832 | mann-whitney | 0.9264 | 0.6071 |
| syn_per_um2 | L5 | overall: right- vs left-pawed | right | left | 12 | 12 | 0.03003 | 0.03396 | -0.003932 | -0.006309 | -0.001547 | mann-whitney | 0.01202 | 0.006899 |
| syn_per_um2 | L5 | contra vs ipsi within right-pawed | right contra | right ipsi | 11 | 11 |  |  | 0.001663 | -0.0005315 | 0.003937 | wilcoxon (paired) | 0.2402 |  |
| syn_per_um2 | L5 | contra vs ipsi within left-pawed | left contra | left ipsi | 12 | 12 |  |  | 0.000248 | -0.003713 | 0.003085 | wilcoxon (paired) | 0.2334 |  |
| syn_per_um3 | L2 | contra-ipsi: A vs B | A | B | 9 | 14 | -2.518e-05 | 0.0004247 | -0.0004499 | -0.002638 | 0.001467 | mann-whitney | 0.8255 | 0.7306 |
| syn_per_um3 | L2 | overall: A vs B | A | B | 9 | 14 | 0.0211 | 0.02222 | -0.00112 | -0.004269 | 0.001795 | mann-whitney | 0.8255 | 0.4878 |
| syn_per_um3 | L2 | contra vs ipsi within A | A contra | A ipsi | 9 | 9 |  |  | -2.518e-05 | -0.001064 | 0.001123 | wilcoxon (paired) | 0.8203 |  |
| syn_per_um3 | L2 | contra vs ipsi within B | B contra | B ipsi | 14 | 14 |  |  | 0.0004247 | -0.001059 | 0.002243 | wilcoxon (paired) | 0.9032 |  |
| syn_per_um3 | L2 | contra-ipsi: right- vs left-pawed | right | left | 12 | 11 | 0.0008455 | -0.0004024 | 0.001248 | -0.0008444 | 0.003446 | mann-whitney | 0.3401 | 0.2987 |
| syn_per_um3 | L2 | overall: right- vs left-pawed | right | left | 12 | 11 | 0.02151 | 0.02206 | -0.0005498 | -0.003435 | 0.002109 | mann-whitney | 0.7818 | 0.7299 |
| syn_per_um3 | L2 | contra vs ipsi within right-pawed | right contra | right ipsi | 12 | 12 |  |  | 0.0008455 | -0.0007151 | 0.002706 | wilcoxon (paired) | 0.6772 |  |
| syn_per_um3 | L2 | contra vs ipsi within left-pawed | left contra | left ipsi | 11 | 11 |  |  | -0.0004024 | -0.001514 | 0.0008946 | wilcoxon (paired) | 0.4131 |  |
| syn_per_um3 | L5 | contra-ipsi: A vs B | A | B | 10 | 13 | -0.0002197 | 0.0008142 | -0.001034 | -0.004113 | 0.001409 | mann-whitney | 0.8768 | 0.512 |
| syn_per_um3 | L5 | overall: A vs B | A | B | 10 | 14 | 0.01921 | 0.01996 | -0.0007564 | -0.002312 | 0.0009492 | mann-whitney | 0.4292 | 0.376 |
| syn_per_um3 | L5 | contra vs ipsi within A | A contra | A ipsi | 10 | 10 |  |  | -0.0002197 | -0.002968 | 0.001747 | wilcoxon (paired) | 0.4316 |  |
| syn_per_um3 | L5 | contra vs ipsi within B | B contra | B ipsi | 13 | 13 |  |  | 0.0008142 | -0.0002893 | 0.00187 | wilcoxon (paired) | 0.1677 |  |
| syn_per_um3 | L5 | contra-ipsi: right- vs left-pawed | right | left | 11 | 12 | 0.001004 | -0.0002216 | 0.001226 | -0.0009636 | 0.00364 | mann-whitney | 0.4417 | 0.4084 |
| syn_per_um3 | L5 | overall: right- vs left-pawed | right | left | 12 | 12 | 0.01871 | 0.02058 | -0.001872 | -0.003355 | -0.0003907 | mann-whitney | 0.02258 | 0.0212 |
| syn_per_um3 | L5 | contra vs ipsi within right-pawed | right contra | right ipsi | 11 | 11 |  |  | 0.001004 | -0.0001649 | 0.002182 | wilcoxon (paired) | 0.1475 |  |
| syn_per_um3 | L5 | contra vs ipsi within left-pawed | left contra | left ipsi | 12 | 12 |  |  | -0.0002216 | -0.002495 | 0.001483 | wilcoxon (paired) | 0.2661 |  |
| n_synapse | L2 | contra-ipsi: A vs B | A | B | 9 | 14 | -2.159 | 0.6799 | -2.839 | -7.171 | 1.316 | mann-whitney | 0.5083 | 0.3116 |
| n_synapse | L2 | overall: A vs B | A | B | 9 | 14 | 21.91 | 22.33 | -0.4107 | -4.063 | 3.156 | mann-whitney | 0.5923 | 0.8278 |
| n_synapse | L2 | contra vs ipsi within A | A contra | A ipsi | 9 | 9 |  |  | -2.159 | -4.042 | -0.3747 | wilcoxon (paired) | 0.07422 |  |
| n_synapse | L2 | contra vs ipsi within B | B contra | B ipsi | 14 | 14 |  |  | 0.6799 | -2.94 | 4.643 | wilcoxon (paired) | 0.8552 |  |
| n_synapse | L2 | contra-ipsi: right- vs left-pawed | right | left | 12 | 11 | 0.3478 | -1.281 | 1.629 | -2.77 | 6.646 | mann-whitney | 0.9264 | 0.5493 |
| n_synapse | L2 | overall: right- vs left-pawed | right | left | 12 | 11 | 22.16 | 22.18 | -0.01956 | -3.225 | 2.985 | mann-whitney | 0.5181 | 0.9928 |
| n_synapse | L2 | contra vs ipsi within right-pawed | right contra | right ipsi | 12 | 12 |  |  | 0.3478 | -3.143 | 4.505 | wilcoxon (paired) | 0.3804 |  |
| n_synapse | L2 | contra vs ipsi within left-pawed | left contra | left ipsi | 11 | 11 |  |  | -1.281 | -4.283 | 1.477 | wilcoxon (paired) | 0.4131 |  |
| n_synapse | L5 | contra-ipsi: A vs B | A | B | 10 | 13 | -0.7869 | 0.9276 | -1.715 | -5.033 | 1.15 | mann-whitney | 1 | 0.322 |
| n_synapse | L5 | overall: A vs B | A | B | 10 | 14 | 15.16 | 15.38 | -0.2197 | -1.989 | 1.507 | mann-whitney | 1 | 0.8302 |
| n_synapse | L5 | contra vs ipsi within A | A contra | A ipsi | 10 | 10 |  |  | -0.7869 | -3.307 | 1.254 | wilcoxon (paired) | 0.8457 |  |
| n_synapse | L5 | contra vs ipsi within B | B contra | B ipsi | 13 | 13 |  |  | 0.9276 | -0.8547 | 3.075 | wilcoxon (paired) | 0.7869 |  |
| n_synapse | L5 | contra-ipsi: right- vs left-pawed | right | left | 11 | 12 | 0.6542 | -0.2506 | 0.9048 | -1.995 | 4.168 | mann-whitney | 0.9755 | 0.5989 |
| n_synapse | L5 | overall: right- vs left-pawed | right | left | 12 | 12 | 13.97 | 16.6 | -2.627 | -4.128 | -1.195 | mann-whitney | 0.002437 | 0.0014 |
| n_synapse | L5 | contra vs ipsi within right-pawed | right contra | right ipsi | 11 | 11 |  |  | 0.6542 | -1.329 | 3.345 | wilcoxon (paired) | 0.8311 |  |
| n_synapse | L5 | contra vs ipsi within left-pawed | left contra | left ipsi | 12 | 12 |  |  | -0.2506 | -2.417 | 1.789 | wilcoxon (paired) | 0.8501 |  |
| n_synapse_maxplane | L2 | contra-ipsi: A vs B | A | B | 9 | 14 | -0.5549 | 0.2054 | -0.7604 | -1.673 | 0.0543 | mann-whitney | 0.2439 | 0.1809 |
| n_synapse_maxplane | L2 | overall: A vs B | A | B | 9 | 14 | 6.729 | 7.2 | -0.4711 | -1.257 | 0.4165 | mann-whitney | 0.08321 | 0.2789 |
| n_synapse_maxplane | L2 | contra vs ipsi within A | A contra | A ipsi | 9 | 9 |  |  | -0.5549 | -0.9399 | -0.2072 | wilcoxon (paired) | 0.01953 |  |
| n_synapse_maxplane | L2 | contra vs ipsi within B | B contra | B ipsi | 14 | 14 |  |  | 0.2054 | -0.523 | 1.016 | wilcoxon (paired) | 0.8077 |  |
| n_synapse_maxplane | L2 | contra-ipsi: right- vs left-pawed | right | left | 12 | 11 | 0.1102 | -0.3128 | 0.423 | -0.5012 | 1.5 | mann-whitney | 0.9755 | 0.4663 |
| n_synapse_maxplane | L2 | overall: right- vs left-pawed | right | left | 12 | 11 | 6.978 | 7.056 | -0.07846 | -0.8328 | 0.6773 | mann-whitney | 0.9755 | 0.8577 |
| n_synapse_maxplane | L2 | contra vs ipsi within right-pawed | right contra | right ipsi | 12 | 12 |  |  | 0.1102 | -0.646 | 1.043 | wilcoxon (paired) | 0.4697 |  |
| n_synapse_maxplane | L2 | contra vs ipsi within left-pawed | left contra | left ipsi | 11 | 11 |  |  | -0.3128 | -0.8331 | 0.2159 | wilcoxon (paired) | 0.1475 |  |
| n_synapse_maxplane | L5 | contra-ipsi: A vs B | A | B | 10 | 13 | -0.06779 | 0.2126 | -0.2804 | -1.11 | 0.4162 | mann-whitney | 0.8768 | 0.475 |
| n_synapse_maxplane | L5 | overall: A vs B | A | B | 10 | 14 | 5.076 | 5.195 | -0.1189 | -0.5837 | 0.356 | mann-whitney | 0.7922 | 0.6604 |
| n_synapse_maxplane | L5 | contra vs ipsi within A | A contra | A ipsi | 10 | 10 |  |  | -0.06779 | -0.7559 | 0.5455 | wilcoxon (paired) | 0.6953 |  |
| n_synapse_maxplane | L5 | contra vs ipsi within B | B contra | B ipsi | 13 | 13 |  |  | 0.2126 | -0.1331 | 0.6231 | wilcoxon (paired) | 0.7869 |  |
_… 4 more rows_

### Behaviour per rat (behaviour_by_rat.csv)

| animal | group | paw | success_rate | success_last3 | success_gain |
|---|---|---|---|---|---|
| FF15 | B | left | 0.3842 | 21 | 13.67 |
| FF17 | B | left | 0.4306 | 21.67 | 9.333 |
| FF23 | A | left | 0.3923 | 19 | 7.667 |
| OBFF10 | B | left | 0.313 | 15 | 6 |
| OBFF12 | B | right | 0.284 | 19 | 13.33 |
| OBFF15 | B | right | 0.3913 | 21.33 | 10.33 |
| OBFF16 | A | right | 0.3469 | 27.33 | 21.33 |
| OBFF17 | A | right | 0.3421 | 14 | 2 |
| OBFF19 | A | right | 0.3956 | 25.67 | 15.67 |
| OBFF2 | A | right | 0.5135 | 26.33 | 14.33 |
| OBFF20 | A | left | 0.3397 | 16.33 | 8.333 |
| OBFF23 | A | right | 0.3057 | 20 | 11.33 |
| OBFF24 | B | left | 0.3652 | 17.67 | 6.667 |
| OBFF26 | B | right | 0.4023 | 22 | 10.33 |
| OBFF4 | B | right | 0.2359 | 18.33 | 12.33 |
| OBFF5 | B | left | 0.4059 | 19 | 12.33 |
| OBFF7 | B | right | 0.32 | 18 | 9.333 |
| OBFF8 | B | left | 0.2493 | 10 | 2.333 |

### Behaviour correlations (behaviour_tests.csv)

| metric | layer | side | measure | rats | n | spearman_rho | p_spearman | pearson_r | p_pearson |
|---|---|---|---|---|---|---|---|---|---|
| syn_per_um2 | L2 | diff | success_rate | all | 17 | 0.3505 | 0.1678 | 0.1065 | 0.6842 |
| syn_per_um2 | L2 | diff | success_rate | A | 6 | 0.5429 | 0.2657 | 0.2825 | 0.5875 |
| syn_per_um2 | L2 | diff | success_rate | B | 11 | 0.3273 | 0.3259 | 0.1787 | 0.5991 |
| syn_per_um2 | L2 | diff | success_last3 | all | 17 | 0.2211 | 0.3937 | 0.2034 | 0.4336 |
| syn_per_um2 | L2 | diff | success_last3 | A | 6 | -0.3143 | 0.5441 | 0.2366 | 0.6517 |
| syn_per_um2 | L2 | diff | success_last3 | B | 11 | 0.6014 | 0.05034 | 0.442 | 0.1734 |
| syn_per_um2 | L2 | diff | success_gain | all | 17 | 0.2834 | 0.2703 | 0.2815 | 0.2737 |
| syn_per_um2 | L2 | diff | success_gain | A | 6 | -0.1429 | 0.7872 | 0.1106 | 0.8347 |
| syn_per_um2 | L2 | diff | success_gain | B | 11 | 0.6667 | 0.02507 | 0.6002 | 0.05092 |
| syn_per_um2 | L2 | contra | success_rate | all | 17 | 0.08333 | 0.7505 | -0.152 | 0.5603 |
| syn_per_um2 | L2 | contra | success_rate | A | 6 | -0.3143 | 0.5441 | -0.5461 | 0.2623 |
| syn_per_um2 | L2 | contra | success_rate | B | 11 | 0.3545 | 0.2847 | 0.4493 | 0.1656 |
| syn_per_um2 | L2 | contra | success_last3 | all | 17 | -0.1646 | 0.5278 | -0.2489 | 0.3353 |
| syn_per_um2 | L2 | contra | success_last3 | A | 6 | -0.7714 | 0.0724 | -0.6234 | 0.186 |
| syn_per_um2 | L2 | contra | success_last3 | B | 11 | 0.492 | 0.1242 | 0.5994 | 0.05129 |
| syn_per_um2 | L2 | contra | success_gain | all | 17 | -0.3252 | 0.2028 | -0.3425 | 0.1784 |
| syn_per_um2 | L2 | contra | success_gain | A | 6 | -0.5429 | 0.2657 | -0.5524 | 0.2556 |
| syn_per_um2 | L2 | contra | success_gain | B | 11 | 0.1142 | 0.7382 | 0.238 | 0.4809 |
| syn_per_um2 | L2 | ipsi | success_rate | all | 17 | -0.1667 | 0.5226 | -0.2413 | 0.3509 |
| syn_per_um2 | L2 | ipsi | success_rate | A | 6 | -0.4857 | 0.3287 | -0.7049 | 0.1178 |
| syn_per_um2 | L2 | ipsi | success_rate | B | 11 | 0 | 1 | 0.1508 | 0.6581 |
| syn_per_um2 | L2 | ipsi | success_last3 | all | 17 | -0.4373 | 0.07917 | -0.4193 | 0.09385 |
| syn_per_um2 | L2 | ipsi | success_last3 | A | 6 | -0.7143 | 0.1108 | -0.7748 | 0.07035 |
| syn_per_um2 | L2 | ipsi | success_last3 | B | 11 | -0.2323 | 0.4918 | -0.02311 | 0.9462 |
| syn_per_um2 | L2 | ipsi | success_gain | all | 17 | -0.6822 | 0.002553 | -0.5783 | 0.01503 |
| syn_per_um2 | L2 | ipsi | success_gain | A | 6 | -0.4857 | 0.3287 | -0.6522 | 0.1604 |
| syn_per_um2 | L2 | ipsi | success_gain | B | 11 | -0.6849 | 0.02004 | -0.4766 | 0.1383 |
| syn_per_um2 | L2 | overall | success_rate | all | 17 | 0.02941 | 0.9108 | -0.1914 | 0.4617 |
| syn_per_um2 | L2 | overall | success_rate | A | 6 | -0.3143 | 0.5441 | -0.6216 | 0.1877 |
| syn_per_um2 | L2 | overall | success_rate | B | 11 | 0.2455 | 0.4669 | 0.3685 | 0.2648 |
| syn_per_um2 | L2 | overall | success_last3 | all | 17 | -0.285 | 0.2675 | -0.3483 | 0.1707 |
| syn_per_um2 | L2 | overall | success_last3 | A | 6 | -0.7714 | 0.0724 | -0.7023 | 0.1197 |
| syn_per_um2 | L2 | overall | success_last3 | B | 11 | 0.1595 | 0.6396 | 0.3166 | 0.3428 |
| syn_per_um2 | L2 | overall | success_gain | all | 17 | -0.5497 | 0.02226 | -0.5002 | 0.04087 |
| syn_per_um2 | L2 | overall | success_gain | A | 6 | -0.5429 | 0.2657 | -0.6078 | 0.2005 |
| syn_per_um2 | L2 | overall | success_gain | B | 11 | -0.3425 | 0.3026 | -0.2098 | 0.5357 |
| syn_per_um2 | L5 | diff | success_rate | all | 18 | -0.2116 | 0.3994 | -0.3747 | 0.1255 |
| syn_per_um2 | L5 | diff | success_rate | A | 7 | -0.2143 | 0.6445 | -0.7789 | 0.03903 |
| syn_per_um2 | L5 | diff | success_rate | B | 11 | -0.03636 | 0.9155 | -0.1329 | 0.6968 |
| syn_per_um2 | L5 | diff | success_last3 | all | 18 | -0.1231 | 0.6266 | -0.1449 | 0.5663 |
| syn_per_um2 | L5 | diff | success_last3 | A | 7 | 0.1786 | 0.7017 | -0.03886 | 0.9341 |
| syn_per_um2 | L5 | diff | success_last3 | B | 11 | -0.2232 | 0.5094 | -0.1876 | 0.5807 |
| syn_per_um2 | L5 | diff | success_gain | all | 18 | 0.01653 | 0.9481 | 0.06656 | 0.793 |
| syn_per_um2 | L5 | diff | success_gain | A | 7 | 0.3571 | 0.4316 | 0.1486 | 0.7505 |
| syn_per_um2 | L5 | diff | success_gain | B | 11 | -0.1142 | 0.7382 | 0.04509 | 0.8953 |
| syn_per_um2 | L5 | contra | success_rate | all | 18 | 0.05263 | 0.8357 | 0.02304 | 0.9277 |
| syn_per_um2 | L5 | contra | success_rate | A | 7 | -0.1786 | 0.7017 | -0.34 | 0.4555 |
| syn_per_um2 | L5 | contra | success_rate | B | 11 | 0.2182 | 0.5192 | 0.3284 | 0.3242 |
| syn_per_um2 | L5 | contra | success_last3 | all | 18 | -0.2492 | 0.3186 | -0.1649 | 0.5131 |
| syn_per_um2 | L5 | contra | success_last3 | A | 7 | -0.3929 | 0.3833 | -0.1966 | 0.6727 |
| syn_per_um2 | L5 | contra | success_last3 | B | 11 | -0.1503 | 0.659 | 0.01417 | 0.967 |
| syn_per_um2 | L5 | contra | success_gain | all | 18 | -0.1467 | 0.5613 | -0.103 | 0.6843 |
| syn_per_um2 | L5 | contra | success_gain | A | 7 | -0.1429 | 0.7599 | -0.08577 | 0.8549 |
| syn_per_um2 | L5 | contra | success_gain | B | 11 | 0.01827 | 0.9575 | -0.01082 | 0.9748 |
| syn_per_um2 | L5 | ipsi | success_rate | all | 18 | 0.4138 | 0.08779 | 0.3921 | 0.1075 |
| syn_per_um2 | L5 | ipsi | success_rate | A | 7 | 0.3214 | 0.4821 | 0.3897 | 0.3875 |
| syn_per_um2 | L5 | ipsi | success_rate | B | 11 | 0.4818 | 0.1334 | 0.5524 | 0.07802 |
| syn_per_um2 | L5 | ipsi | success_last3 | all | 18 | -0.05895 | 0.8163 | -0.05481 | 0.829 |
| syn_per_um2 | L5 | ipsi | success_last3 | A | 7 | -0.25 | 0.5887 | -0.1608 | 0.7306 |
| syn_per_um2 | L5 | ipsi | success_last3 | B | 11 | 0.1139 | 0.7388 | 0.2136 | 0.5282 |
_… 228 more rows_

## Exploratory split

**EXPLORATORY — not a group test.** Groups (control vs stim) are unknown; this asks whether subjects fall into k = 2 profiles from the metrics alone — k-means cluster sizes constrained to differ by at most 1, since the study's groups are (near-)equal in size; ward is the unconstrained comparison.

`stability` is the bootstrap co-assignment with the subject's k-means cluster mates; it is empty for a subject alone in its cluster and when no bootstrap ran.

### Silhouette per method

| method | k | balanced | max_size_difference | silhouette |
|---|---|---|---|---|
| kmeans | 2 | True | 1 | 0.1513 |
| ward | 2 | False | 0 | 0.2658 |

### Assignments (EXPLORATORY)

| animal | kmeans | ward | pc1 | pc2 | stability |
|---|---|---|---|---|---|
| FF15 | 0 | 0 | 0.6565 | 0.9829 | 0.7186 |
| FF17 | 0 | 0 | 2.214 | 1.085 | 0.9132 |
| FF23 | 1 | 0 | -0.7035 | -0.1094 | 0.9114 |
| OBFF1 | 0 | 0 | 1.272 | -1.343 | 0.8441 |
| OBFF10 | 1 | 0 | 0.04382 | -0.8245 | 0.8095 |
| OBFF12 | 0 | 0 | 1.058 | 2.147 | 0.8177 |
| OBFF15 | 0 | 0 | 2.139 | -2.029 | 0.9114 |
| OBFF16 | 1 | 1 | -3.444 | -1.59 | 0.9132 |
| OBFF17 | 0 | 0 | 3.48 | -4.008 | 0.9114 |
| OBFF18 | 1 | 0 | 0.1466 | 2.113 | 0.5677 |
| OBFF19 | 0 | 0 | 1.578 | -0.1139 | 0.9132 |
| OBFF2 | 1 | 1 | -7.109 | 2.186 | 0.9132 |
| OBFF20 | 0 | 0 | 0.8357 | 1.237 | 0.8577 |
| OBFF21 | 0 | 0 | 2.386 | 2.811 | 0.9132 |
| OBFF23 | 1 | 1 | -1.879 | -1.271 | 0.9132 |
| OBFF24 | 0 | 0 | 3.893 | 4.044 | 0.9132 |
| OBFF25 | 1 | 1 | -1.267 | -3.98 | 0.9005 |
| OBFF26 | 0 | 0 | 0.6975 | -2.248 | 0.5486 |
| OBFF4 | 1 | 1 | -2.454 | -2.086 | 0.9132 |
| OBFF5 | 1 | 0 | -1.585 | 2.154 | 0.9114 |
| OBFF6 | 1 | 0 | 0.4986 | -0.42 | 0.6168 |
| OBFF7 | 0 | 0 | 1.806 | -0.7605 | 0.9095 |
| OBFF8 | 1 | 0 | -0.4812 | 0.8352 | 0.8886 |
| ROB | 1 | 1 | -3.781 | 1.19 | 0.9132 |

## Figures

![behaviour_n_synapse_L2](figures/behaviour_n_synapse_L2.png)

![behaviour_n_synapse_L5](figures/behaviour_n_synapse_L5.png)

![behaviour_n_synapse_maxplane_L2](figures/behaviour_n_synapse_maxplane_L2.png)

![behaviour_n_synapse_maxplane_L5](figures/behaviour_n_synapse_maxplane_L5.png)

![behaviour_syn_per_um2_L2](figures/behaviour_syn_per_um2_L2.png)

![behaviour_syn_per_um2_L5](figures/behaviour_syn_per_um2_L5.png)

![behaviour_syn_per_um3_L2](figures/behaviour_syn_per_um3_L2.png)

![behaviour_syn_per_um3_L5](figures/behaviour_syn_per_um3_L5.png)

![groups_n_synapse_L2](figures/groups_n_synapse_L2.png)

![groups_n_synapse_L5](figures/groups_n_synapse_L5.png)

![groups_n_synapse_maxplane_L2](figures/groups_n_synapse_maxplane_L2.png)

![groups_n_synapse_maxplane_L5](figures/groups_n_synapse_maxplane_L5.png)

![groups_syn_per_um2_L2](figures/groups_syn_per_um2_L2.png)

![groups_syn_per_um2_L5](figures/groups_syn_per_um2_L5.png)

![groups_syn_per_um3_L2](figures/groups_syn_per_um3_L2.png)

![groups_syn_per_um3_L5](figures/groups_syn_per_um3_L5.png)

![heatmap_n_synapse](figures/heatmap_n_synapse.png)

![heatmap_n_synapse_maxplane](figures/heatmap_n_synapse_maxplane.png)

![heatmap_syn_per_um2](figures/heatmap_syn_per_um2.png)

![heatmap_syn_per_um3](figures/heatmap_syn_per_um3.png)

![qc_somas](figures/qc_somas.png)

![split_dendrogram](figures/split_dendrogram.png)

![split_pca](figures/split_pca.png)

![split_stability](figures/split_stability.png)

![subjects_n_synapse](figures/subjects_n_synapse.png)

![subjects_n_synapse_maxplane](figures/subjects_n_synapse_maxplane.png)

![subjects_syn_per_um2](figures/subjects_syn_per_um2.png)

![subjects_syn_per_um3](figures/subjects_syn_per_um3.png)
