Analysis 20261014-190443-v2-gain

Inputs

238 input runs (dataset default), created 2026-10-14T19:04:43, code 3f313ac. 0 could not be read.

Filters

Stacks: quality in ['good'] → 212 stacks kept, 26 excluded.

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

Excluded stacks

stackreason
BAT1L2Lquality=bad
BAT1L2Rquality=bad
BAT1L5Lquality=bad
BAT1L5Rquality=bad
BAT2L2Lquality=bad
BAT2L2Rquality=bad
BAT2L5Lquality=bad
BAT2L5Rquality=bad
OBFF201L2Lquality=bad
OBFF201L2Rquality=bad
OBFF201L5Lquality=bad
OBFF201L5Rquality=bad
OBFF202L2Lquality=bad
OBFF202L2Rquality=bad
OBFF251L5Rquality=bad
OBFF31L2Lquality=bad
OBFF31L2Rquality=bad
OBFF31L5Lquality=bad
OBFF31L5Rquality=bad
OBFF32L2Lquality=bad
OBFF32L2Rquality=bad
OBFF32L5Lquality=bad
OBFF32L5Rquality=bad
ROB1L5Lquality=bad
ROB1L5Rquality=bad
ROB2L5Lquality=bad

Somas per stack

stackn_totaln_keptn_droppeddropped_volume_mindropped_volume_maxdropped_border_fractiondropped_touches_borderdropped_neun_meandropped_no_tail
FF151L2L56515005000
FF151L2R115103120012000
FF151L5L143131120012000
FF151L5R79718008000
FF152L2L104986006000
FF152L2R91847007000
FF152L5L144130140014000
FF152L5R28271001000
FF171L2L1141122002000
FF171L2R95923003000
FF171L5L161148130013000
FF171L5R208198100010000
FF172L2L122112100010000
FF172L2R99909009000
FF172L5L201189120012000
FF172L5R102966006000
FF231L2L133117160016000
FF231L2R87825005000
FF231L5L127114130013000
FF231L5R155141140014000
FF232L2L74677007000
FF232L2R105987007000
FF232L5L167149180018000
FF232L5R123112110011000
OBFF101L2L1191109009000
OBFF101L2R123107160016000
OBFF101L5L1081062002000
OBFF101L5R7565100010000
OBFF102L2L7160110011000
OBFF102L2R84768008000
OBFF102L5L88835005000
OBFF102L5R133121120012000
OBFF111L2L19190000000
OBFF111L2R80755005000
OBFF111L5L22220000000
OBFF111L5R440000000
OBFF112L2L73703003000
OBFF112L2R18180000000
OBFF112L5L41401001000
OBFF112L5R82784004000
OBFF11L2L73649009000
OBFF11L2R74686006000
OBFF11L5L156141150015000
OBFF11L5R176163130013000
OBFF121L2L80764004000
OBFF121L2R65623003000
OBFF121L5L87852002000
OBFF121L5R143131120012000
OBFF122L2L46424004000
OBFF122L2R125113120012000
OBFF122L5L77725005000
OBFF122L5R1231176006000
OBFF12L2L94859009000
OBFF12L2R8269130013000
OBFF12L5L189178110011000
OBFF12L5R176155210021000
OBFF131L2L102957007000
OBFF131L2R61601001000
OBFF131L5L264244200020000
OBFF131L5R1181144004000

… 152 more rows

Subjects

One row per subject × layer × hemisphere; statistics pool every kept soma of that cell (not stack means). Metrics are multiplied by each rat's gain = raters' clicks / pipeline n_synapse_maxplane on the labelled neurons (rats with fewer than 10 labelled neurons keep gain 1; see gain_by_rat.csv; raw columns kept as *_raw).

subjects.csv

animallayerhemispheregrouppawn_stacksn_somassyn_per_um2_meansyn_per_um2_mediansyn_per_um2_sdsyn_per_um3_meansyn_per_um3_mediansyn_per_um3_sdn_synapse_meann_synapse_mediann_synapse_sdn_synapse_maxplane_meann_synapse_maxplane_mediann_synapse_maxplane_sd
FF15L2LBleft21490.025390.025260.009370.014470.014510.00498617.1615.469.895.6044.922.332
FF15L2RBleft21870.025330.024910.0090610.014640.013870.00533414.8214.766.4095.1944.921.972
FF15L5LBleft22610.024880.025010.0076710.01490.014470.0041712.0411.246.0933.7973.5141.534
FF15L5RBleft2980.023490.023140.0071220.015120.014580.00412510.319.1365.3993.6573.5141.256
FF17L2LBleft22240.028810.027420.010590.020070.019120.00778913.0312.385.6855.8635.2532.491
FF17L2RBleft21820.031230.030610.010830.019460.018760.00607816.7713.5110.085.9876.0032.217
FF17L5LBleft23370.02510.025270.009610.015970.015860.00627210.969.7555.5414.4713.7522.153
FF17L5RBleft22940.028260.028090.0082930.01870.018590.00549210.759.7554.3064.3113.7521.484
FF23L2LAleft21840.026680.026990.0093560.014860.014470.00498915.79167.8814.9514.9781.918
FF23L2RAleft21800.026990.024810.011930.015270.01440.00609815.3912.810.294.6464.2671.887
FF23L5LAleft22630.022150.021740.0074230.013170.012860.00437310.559.9564.6783.4373.5561.189
FF23L5RAleft22530.022680.022630.0080420.013160.013180.00476711.310.674.683.7833.5561.31
OBFF1L2LBright21490.027730.028010.00880.015830.01520.00492117.2914.6610.165.2384.8872.056
OBFF1L2RBright21370.029070.028630.0092990.015510.015230.00447719.9318.8511.025.9575.5852.546
OBFF1L5LBright23190.023390.023580.0073460.014570.014380.00458410.089.0764.7433.4693.4911.196
OBFF1L5RBright23180.021570.02130.0069830.013490.013120.004679.4679.0764.6143.3373.4911.33
OBFF10L2LBleft21700.029660.028930.0098760.01710.016380.00633817.2715.98.785.2165.0591.739
OBFF10L2RBleft21830.028420.029290.0088010.015880.015650.0053517.4216.628.8414.9565.0591.888
OBFF10L5LBleft21890.020210.019880.0080040.013940.014020.0054748.5387.9494.823.1892.8911.166
OBFF10L5RBleft21860.024150.024320.0072890.01520.014790.00522112.4112.285.0443.7143.6131.186
OBFF11L2LAright2890.01640.01560.0082610.0094830.008340.0053589.9729.6475.4353.9833.6181.757
OBFF11L2RAright2930.01660.016740.0081410.0095790.009260.005249.8039.6476.4434.4353.6182.25
OBFF11L5LAright2620.025330.024110.012310.015090.013470.00865115.7914.4710.235.8546.0293.064
OBFF11L5RAright2820.021310.021560.0074720.013050.012180.0052229.8389.6474.4213.8243.6181.24
OBFF12L2LBright21180.032260.03310.010090.017850.016960.00589421.8422.0711.896.2066.3072.402
OBFF12L2RBright21750.019470.01740.011660.011460.01040.0062829.8317.0089.4133.4482.8032.319
OBFF12L5LBright21570.027550.02570.0098870.015550.014870.00520116.314.729.6414.8474.2052.057
OBFF12L5RBright22480.020780.019830.0089810.012730.012350.0051928.8197.7085.233.322.8031.647
OBFF13L2LAright21630.023650.022640.013810.01370.01320.0076713.0311.0510.224.6664.6042.432
OBFF13L2RAright21590.02370.022260.011980.014180.012390.00748312.6411.058.2594.6563.6832.658
OBFF13L5LAright23580.013620.01320.0071590.0082840.007710.0043647.0386.4464.9312.6522.7631.289
OBFF13L5RAright21930.021560.021250.012930.014570.013560.00883210.5710.136.7794.2614.6042.354
OBFF14L2LAleft21530.022320.018920.015670.013720.011770.00912912.528.11411.175.4094.6363.765
OBFF14L2RAleft21920.011590.009430.0097570.0074630.0062440.0065774.5823.4773.7772.6682.3181.666
OBFF14L5LAleft22030.013340.011560.009370.0088570.0075630.0067085.6134.6364.5122.9232.3181.847
OBFF14L5RAleft22610.025930.02420.013470.016970.016140.00873110.8810.436.6134.5564.6362.084
OBFF15L2LBright22370.033830.034630.013080.020470.019570.00829916.1915.777.1695.5085.2582.075
OBFF15L2RBright21600.036410.036140.012840.020920.020710.00756119.3818.0310.136.0475.6332.483
OBFF15L5LBright22420.023920.023240.0070830.015390.014890.0047239.8649.7654.0383.2993.0051.134
OBFF15L5RBright22780.024430.023810.0072450.014920.014190.00439210.7510.524.1153.4073.0051.097
OBFF16L2LAright2980.019740.020510.011170.011370.01140.00630913.8810.9410.53.6813.3152.192
OBFF16L2RAright21000.021120.021070.0095440.011840.011260.00561817.3815.2511.964.1313.3152.218
OBFF16L5LAright21900.018950.019490.0074030.010980.010980.00424710.539.9465.2023.2353.3151.31
OBFF16L5RAright21840.016640.016950.006710.0097450.00980.0041178.5957.9574.1222.712.6521.165
OBFF17L2LAright21390.0320.032360.010910.018050.017410.00550319.6819.7510.476.1435.9252.382
OBFF17L2RAright21320.033110.032330.010210.017610.016910.00526921.9922.3810.566.3996.2542.591
OBFF17L5LAright21990.019020.017530.01120.012160.011280.006898.7636.5837.1623.6193.2922.384
OBFF17L5RAright22130.017940.017340.0073010.011310.010520.004848.417.94.5133.022.6331.218
OBFF18L2LAleft21450.025530.024330.010530.014340.014160.00556314.4512.628.9314.4384.2061.934
OBFF18L2RAleft21520.026530.026270.0090170.01510.014720.00535115.4514.028.7184.5654.2061.659
OBFF18L5LAleft22150.023960.023220.00770.013870.013170.00463912.3611.216.3044.1374.2061.556
OBFF18L5RAleft22010.02550.02450.0078910.014880.014010.00453612.611.216.1314.1464.2061.516
OBFF19L2LAright22070.029580.028710.0097440.017920.01730.0058514.6713.936.5074.7054.6441.801
OBFF19L2RAright22110.026360.026530.0085230.015630.015510.00469914.0413.936.3134.6194.6441.602
OBFF19L5LAright22830.02420.023740.0074360.015240.015050.0046469.729.2893.5663.3413.3171.061
OBFF19L5RAright22520.020980.019460.0095150.012590.011740.005349.6737.9626.0093.2622.6541.69
OBFF2L2LAright21660.013220.010810.0095360.0074540.0067360.0053028.1426.2516.8613.0462.7781.899
OBFF2L2RAright22180.014620.013810.00710.0087230.0080350.0041818.1917.644.3363.4413.4731.527
OBFF2L5LAright22540.018450.017690.0059180.011250.010750.0032618.1976.9453.783.0162.7781.133
OBFF2L5RAright22120.022090.021980.0073930.013270.012870.00431211.7810.426.2534.0233.4731.54

… 49 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.

Tests (groups_tests.csv)

metriclayercomparisonlabel_1label_2n_1n_2mean_1mean_2estimateci_lowci_hightestp_testp_permutation
syn_per_um2L2contra-ipsi: A vs BAB1314-0.0010580.00105-0.002108-0.0053760.0008812mann-whitney0.61040.2211
syn_per_um2L2overall: A vs BAB13140.023380.02778-0.004402-0.008513-0.0002423mann-whitney0.13890.05419
syn_per_um2L2contra vs ipsi within AA contraA ipsi1313-0.001058-0.0030440.0005793wilcoxon (paired)0.3054
syn_per_um2L2contra vs ipsi within BB contraB ipsi14140.00105-0.0012760.003601wilcoxon (paired)0.9032
syn_per_um2L2contra-ipsi: right- vs left-pawedrightleft14130.000639-0.00061490.001254-0.0017010.004573mann-whitney10.4751
syn_per_um2L2overall: right- vs left-pawedrightleft14130.026120.025170.0009535-0.0034290.005251mann-whitney0.75240.6846
syn_per_um2L2contra vs ipsi within right-pawedright contraright ipsi14140.000639-0.0014450.003104wilcoxon (paired)0.5416
syn_per_um2L2contra vs ipsi within left-pawedleft contraleft ipsi1313-0.0006149-0.0029040.001544wilcoxon (paired)0.5879
syn_per_um2L5contra-ipsi: A vs BAB1413-0.00031250.001309-0.001621-0.0052730.00202mann-whitney0.82710.4468
syn_per_um2L5overall: A vs BAB14140.022460.02347-0.001013-0.0033610.001246mann-whitney0.53510.4232
syn_per_um2L5contra vs ipsi within AA contraA ipsi1414-0.0003125-0.0036250.00297wilcoxon (paired)0.6698
syn_per_um2L5contra vs ipsi within BB contraB ipsi13130.001309-9.038e-050.002728wilcoxon (paired)0.1677
syn_per_um2L5contra-ipsi: right- vs left-pawedrightleft13140.00068650.00026520.0004213-0.0032740.004398mann-whitney0.98060.8464
syn_per_um2L5overall: right- vs left-pawedrightleft14140.021540.02439-0.002844-0.004922-0.0008118mann-whitney0.025850.0182
syn_per_um2L5contra vs ipsi within right-pawedright contraright ipsi13130.0006865-0.0012410.00253wilcoxon (paired)0.3757
syn_per_um2L5contra vs ipsi within left-pawedleft contraleft ipsi14140.0002652-0.0030980.003323wilcoxon (paired)0.391
syn_per_um3L2contra-ipsi: A vs BAB1314-0.00042450.0003662-0.0007907-0.002540.0007312mann-whitney0.98060.3788
syn_per_um3L2overall: A vs BAB13140.013630.01618-0.002555-0.004895-0.0003309mann-whitney0.09410.0473
syn_per_um3L2contra vs ipsi within AA contraA ipsi1313-0.0004245-0.0015560.0005686wilcoxon (paired)0.6848
syn_per_um3L2contra vs ipsi within BB contraB ipsi14140.0003662-0.00075530.00166wilcoxon (paired)0.9032
syn_per_um3L2contra-ipsi: right- vs left-pawedrightleft14130.0004678-0.00053390.001002-0.00059730.002738mann-whitney0.36930.2729
syn_per_um3L2overall: right- vs left-pawedrightleft14130.01510.01480.0002992-0.0020460.002749mann-whitney0.78960.8266
syn_per_um3L2contra vs ipsi within right-pawedright contraright ipsi14140.0004678-0.00052890.001721wilcoxon (paired)0.8552
syn_per_um3L2contra vs ipsi within left-pawedleft contraleft ipsi1313-0.0005339-0.0017870.000625wilcoxon (paired)0.4548
syn_per_um3L5contra-ipsi: A vs BAB1413-0.00038810.0005764-0.0009645-0.0034010.00145mann-whitney0.75240.4738
syn_per_um3L5overall: A vs BAB14140.013840.01456-0.0007178-0.0021830.0008735mann-whitney0.24130.3776
syn_per_um3L5contra vs ipsi within AA contraA ipsi1414-0.0003881-0.0026190.001639wilcoxon (paired)0.7148
syn_per_um3L5contra vs ipsi within BB contraB ipsi13130.0005764-0.0002220.001376wilcoxon (paired)0.1909
syn_per_um3L5contra-ipsi: right- vs left-pawedrightleft13140.0002613-9.562e-050.000357-0.0019850.002613mann-whitney0.64480.7871
syn_per_um3L5overall: right- vs left-pawedrightleft14140.013450.01496-0.001511-0.002908-0.0001124mann-whitney0.056540.05439
syn_per_um3L5contra vs ipsi within right-pawedright contraright ipsi13130.0002613-0.0011450.001394wilcoxon (paired)0.3054
syn_per_um3L5contra vs ipsi within left-pawedleft contraleft ipsi1414-9.562e-05-0.0022290.001911wilcoxon (paired)0.391
n_synapseL2contra-ipsi: A vs BAB1314-1.5280.703-2.231-5.3240.7418mann-whitney0.71590.2005
n_synapseL2overall: A vs BAB131413.5416.18-2.642-5.161-0.07394mann-whitney0.1040.07229
n_synapseL2contra vs ipsi within AA contraA ipsi1313-1.528-3.186-0.1294wilcoxon (paired)0.1677
n_synapseL2contra vs ipsi within BB contraB ipsi14140.703-1.8353.661wilcoxon (paired)0.9032
n_synapseL2contra-ipsi: right- vs left-pawedrightleft14130.2696-1.0621.331-1.6844.804mann-whitney0.78960.4541
n_synapseL2overall: right- vs left-pawedrightleft141315.3414.440.9066-1.7673.851mann-whitney0.61040.5515
n_synapseL2contra vs ipsi within right-pawedright contraright ipsi14140.2696-1.9912.984wilcoxon (paired)0.5016
n_synapseL2contra vs ipsi within left-pawedleft contraleft ipsi1313-1.062-2.9650.7972wilcoxon (paired)0.3757
n_synapseL5contra-ipsi: A vs BAB1413-0.12940.7001-0.8295-3.171.473mann-whitney0.82710.517
n_synapseL5overall: A vs BAB141410.6711.13-0.4608-1.6430.7182mann-whitney0.56570.4837
n_synapseL5contra vs ipsi within AA contraA ipsi1414-0.1294-2.0851.69wilcoxon (paired)0.9032
n_synapseL5contra vs ipsi within BB contraB ipsi13130.7001-0.61052.207wilcoxon (paired)0.8394
n_synapseL5contra-ipsi: right- vs left-pawedrightleft13140.5853-0.022810.6081-1.7253.089mann-whitney0.98060.6468
n_synapseL5overall: right- vs left-pawedrightleft141410.1711.63-1.462-2.615-0.3509mann-whitney0.020320.0215
n_synapseL5contra vs ipsi within right-pawedright contraright ipsi13130.5853-1.062.336wilcoxon (paired)0.8394
n_synapseL5contra vs ipsi within left-pawedleft contraleft ipsi1414-0.02281-1.7861.558wilcoxon (paired)0.8077
n_synapse_maxplaneL2contra-ipsi: A vs BAB1314-0.47610.1934-0.6695-1.4550.01217mann-whitney0.21590.09199
n_synapse_maxplaneL2overall: A vs BAB13144.5145.233-0.7186-1.279-0.1781mann-whitney0.021170.0222
n_synapse_maxplaneL2contra vs ipsi within AA contraA ipsi1313-0.4761-0.9534-0.08116wilcoxon (paired)0.04785
n_synapse_maxplaneL2contra vs ipsi within BB contraB ipsi14140.1934-0.330.7939wilcoxon (paired)0.8552
n_synapse_maxplaneL2contra-ipsi: right- vs left-pawedrightleft14130.0439-0.31520.3591-0.32711.128mann-whitney0.98060.3807
n_synapse_maxplaneL2overall: right- vs left-pawedrightleft14134.9764.7910.1858-0.43140.782mann-whitney0.71590.5787
n_synapse_maxplaneL2contra vs ipsi within right-pawedright contraright ipsi14140.0439-0.45060.6307wilcoxon (paired)0.391
n_synapse_maxplaneL2contra vs ipsi within left-pawedleft contraleft ipsi1313-0.3152-0.85810.1617wilcoxon (paired)0.2163
n_synapse_maxplaneL5contra-ipsi: A vs BAB14130.028190.1567-0.1285-0.77010.5219mann-whitney0.9420.7155
n_synapse_maxplaneL5overall: A vs BAB14143.7653.771-0.006547-0.360.33mann-whitney0.94510.973
n_synapse_maxplaneL5contra vs ipsi within AA contraA ipsi14140.02819-0.53160.6357wilcoxon (paired)0.7609
n_synapse_maxplaneL5contra vs ipsi within BB contraB ipsi13130.1567-0.094350.4546wilcoxon (paired)0.7354

… 4 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

methodkbalancedmax_size_differencesilhouette
kmeans2True10.1664
ward2False00.3011

Assignments (EXPLORATORY)

animalkmeanswardpc1pc2stability
FF15010.51130.31550.5408
FF17012.6722.0560.93
FF2311-0.0225-0.39870.9262
OBFF1011.395-1.1950.9123
OBFF10010.9929-0.40880.8446
OBFF1110-3.0971.9830.93
OBFF12110.31450.065710.6546
OBFF1310-1.996-1.5250.93
OBFF1410-4.519-0.12930.93
OBFF15013.466-0.57630.93
OBFF1610-2.595-2.9170.93
OBFF17012.601-3.2930.93
OBFF1811-0.11951.4280.8738
OBFF19110.3271-1.0860.8238
OBFF210-5.5590.10480.93
OBFF20011.1514.230.93
OBFF21110.22741.3380.59
OBFF2210-5.231.6860.93
OBFF23011.9410.37070.93
OBFF24012.413.7610.93
OBFF25012.429-3.6260.9254
OBFF26014.035-0.80180.93
OBFF410-1.548-2.7680.93
OBFF5010.2093.0880.6954
OBFF6011.134-0.3840.88
OBFF7012.247-0.076590.93
OBFF810-2.526-2.1040.93
ROB11-0.85070.86460.93

Figures

groups_n_synapse_L2
groups_n_synapse_L2
groups_n_synapse_L5
groups_n_synapse_L5
groups_n_synapse_maxplane_L2
groups_n_synapse_maxplane_L2
groups_n_synapse_maxplane_L5
groups_n_synapse_maxplane_L5
groups_syn_per_um2_L2
groups_syn_per_um2_L2
groups_syn_per_um2_L5
groups_syn_per_um2_L5
groups_syn_per_um3_L2
groups_syn_per_um3_L2
groups_syn_per_um3_L5
groups_syn_per_um3_L5
heatmap_n_synapse
heatmap_n_synapse
heatmap_n_synapse_maxplane
heatmap_n_synapse_maxplane
heatmap_syn_per_um2
heatmap_syn_per_um2
heatmap_syn_per_um3
heatmap_syn_per_um3
qc_somas
qc_somas
split_dendrogram
split_dendrogram
split_pca
split_pca
split_stability
split_stability
subjects_n_synapse
subjects_n_synapse
subjects_n_synapse_maxplane
subjects_n_synapse_maxplane
subjects_syn_per_um2
subjects_syn_per_um2
subjects_syn_per_um3
subjects_syn_per_um3