Skip to content

Commit 7e54709

Browse files
committed
Added subtype cochleae: N110L, N110R
1 parent 977e2cd commit 7e54709

File tree

10 files changed

+227
-6
lines changed

10 files changed

+227
-6
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[
2+
{
3+
"cochlea": "M_AMD_Runx1_L",
4+
"image_channel": [
5+
"CR",
6+
"Ntng1",
7+
"PV",
8+
"PV_SGN_v2"
9+
],
10+
"segmentation_channel": "PV_SGN_v2",
11+
"type": "sgn",
12+
"n_blocks": 6,
13+
"halo_size": [
14+
256,
15+
256,
16+
50
17+
],
18+
"component_list": [
19+
1
20+
],
21+
"crop_centers": [
22+
[
23+
945,
24+
1155,
25+
571
26+
],
27+
[
28+
830,
29+
888,
30+
597
31+
],
32+
[
33+
808,
34+
966,
35+
870
36+
],
37+
[
38+
555,
39+
1130,
40+
840
41+
],
42+
[
43+
357,
44+
1024,
45+
611
46+
],
47+
[
48+
176,
49+
748,
50+
541
51+
]
52+
],
53+
"max_edge_distance": 30
54+
}
55+
]
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[
2+
{
3+
"cochlea": "M_LR_N110_L",
4+
"image_channel": [
5+
"Calb1",
6+
"Ntng1",
7+
"PV",
8+
"SGN_v2"
9+
],
10+
"segmentation_channel": "SGN_v2",
11+
"type": "sgn",
12+
"n_blocks": 6,
13+
"halo_size": [
14+
256,
15+
256,
16+
50
17+
],
18+
"component_list": [
19+
1
20+
],
21+
"crop_centers": [
22+
[
23+
653,
24+
1124,
25+
730
26+
],
27+
[
28+
840,
29+
887,
30+
878
31+
],
32+
[
33+
594,
34+
611,
35+
870
36+
],
37+
[
38+
592,
39+
600,
40+
527
41+
],
42+
[
43+
966,
44+
560,
45+
452
46+
],
47+
[
48+
1213,
49+
301,
50+
584
51+
]
52+
],
53+
"max_edge_distance": 30
54+
}
55+
]
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[
2+
{
3+
"cochlea": "M_LR_N110_R",
4+
"image_channel": [
5+
"Calb1",
6+
"Ntng1",
7+
"PV",
8+
"SGN_v2"
9+
],
10+
"segmentation_channel": "SGN_v2",
11+
"type": "sgn",
12+
"n_blocks": 6,
13+
"halo_size": [
14+
256,
15+
256,
16+
50
17+
],
18+
"component_list": [
19+
1
20+
],
21+
"crop_centers": [
22+
[
23+
1149,
24+
1090,
25+
453
26+
],
27+
[
28+
1104,
29+
900,
30+
724
31+
],
32+
[
33+
741,
34+
900,
35+
692
36+
],
37+
[
38+
744,
39+
728,
40+
391
41+
],
42+
[
43+
954,
44+
423,
45+
439
46+
],
47+
[
48+
922,
49+
154,
50+
703
51+
]
52+
],
53+
"max_edge_distance": 30
54+
}
55+
]

reproducibility/object_measures/SGNsubtype_MAMDRunx1L.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{
33
"cochlea": "M_AMD_Runx1_L",
44
"image_channel": [
5+
"PV",
56
"CR",
67
"Ntng1"
78
],
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"cochlea": "M_LR_N110_L",
4+
"image_channel": [
5+
"PV",
6+
"Calb1",
7+
"Ntng1"
8+
],
9+
"segmentation_channel": "SGN_v2",
10+
"component_list": [
11+
1
12+
]
13+
}
14+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"cochlea": "M_LR_N110_R",
4+
"image_channel": [
5+
"PV",
6+
"Calb1",
7+
"Ntng1"
8+
],
9+
"segmentation_channel": "SGN_v2",
10+
"component_list": [
11+
1
12+
]
13+
}
14+
]

reproducibility/tonotopic_mapping/2025-07-SGN_subtypes.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"segmentation_channel": "PV_SGN_v2",
1515
"type": "sgn"
1616
},
17-
{
18-
"cochlea": "M_LR_000214_L",
19-
"segmentation_channel": "PV_SGN_v2",
20-
"type": "sgn"
21-
},
17+
{
18+
"cochlea": "M_LR_000214_L",
19+
"segmentation_channel": "PV_SGN_v2",
20+
"type": "sgn"
21+
},
2222
{
2323
"cochlea": "M_AMD_N180_L",
2424
"segmentation_channel": "SGN_merged",
@@ -46,5 +46,15 @@
4646
2
4747
],
4848
"type": "sgn"
49+
},
50+
{
51+
"cochlea": "M_LR_N110_L",
52+
"segmentation_channel": "SGN_v2",
53+
"type": "sgn"
54+
},
55+
{
56+
"cochlea": "M_LR_N110_R",
57+
"segmentation_channel": "SGN_v2",
58+
"type": "sgn"
4959
}
5060
]

scripts/assign_subtypes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
# from skimage.segmentation import relabel_sequential
88

99
COCHLEA_DICT = {
10+
"M_LR_000098_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"]},
1011
"M_LR_000099_L": {"seg_data": "PV_SGN_v2", "subtype": ["Calb1", "Lypd1"]},
1112
"M_LR_000184_L": {"seg_data": "SGN_v2b", "subtype": ["Prph"]},
1213
"M_LR_000184_R": {"seg_data": "SGN_v2b", "subtype": ["Prph"]},
1314
"M_LR_000260_L": {"seg_data": "SGN_v2", "subtype": ["Prph", "Tuj1"]},
15+
"M_LR_N152_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"]},
1416
"M_AMD_N180_L": {"seg_data": "SGN_merged", "subtype": ["CR", "Ntng1"]},
1517
"M_AMD_N180_R": {"seg_data": "SGN_merged", "subtype": ["CR", "Ntng1"]},
1618
}

scripts/export_lower_resolution_subtypes.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"M_LR_000184_L": {"seg_data": "SGN_v2b", "subtype": ["Prph"]},
1515
"M_LR_000184_R": {"seg_data": "SGN_v2b", "subtype": ["Prph"]},
1616
"M_LR_000260_L": {"seg_data": "SGN_v2", "subtype": ["Prph", "Tuj1"]},
17+
"M_LR_N152_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"]},
1718
}
1819

1920

@@ -39,6 +40,12 @@
3940
# Prph is isolated.
4041
"Prph+": "Type II",
4142
"Prph-": "Type I",
43+
44+
# Combinations of CR and Ntng1
45+
"CR+/Ntng1+": "Type Ib",
46+
"CR+/Ntng1-": "Type Ia",
47+
"CR-/Ntng1+": "Type Ic",
48+
"CR-/Ntng1-": "inconclusive",
4249
}
4350

4451

scripts/measurements/sgn_subtypes.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,15 @@ def frequency_mapping(frequencies, values, animal="mouse", transduction_efficien
6161
"M_LR_000098_L": ["PV", "CR", "Ntng1"],
6262
"M_LR_N152_L": ["PV", "CR", "Ntng1"],
6363
"M_LR_000260_L": ["PV", "Prph", "Tuj1"],
64+
"M_LR_N110_L": ["PV", "Calb1", "Ntng1"],
65+
"M_LR_N110_R": ["PV", "Calb1", "Ntng1"],
66+
"M_AMD_Runx1_L": ["PV", "CR", "Ntng1"],
6467
}
6568

6669
COCHLEAE = {
70+
"M_LR_N110_L": {"seg_data": "SGN_v2", "subtype": ["Calb1", "Ntng1"]},
71+
"M_LR_N110_R": {"seg_data": "SGN_v2", "subtype": ["Calb1", "Ntng1"]},
72+
"M_AMD_Runx1_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"]},
6773
"M_LR_N152_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"], "component_list": [1, 2]},
6874
"M_LR_000098_L": {"seg_data": "SGN_v2", "subtype": ["CR", "Ntng1"], "component_list": [1, 2]},
6975
"M_LR_000099_L": {"seg_data": "PV_SGN_v2", "subtype": ["Calb1", "Lypd1"]},
@@ -75,7 +81,8 @@ def frequency_mapping(frequencies, values, animal="mouse", transduction_efficien
7581

7682

7783
REGULAR_COCHLEAE = [
78-
"M_LR_000099_L", "M_LR_000184_R", "M_LR_000184_L", "M_LR_000098_L", "M_LR_N152_L", "M_LR_000260_L"
84+
"M_LR_000099_L", "M_LR_000184_R", "M_LR_000184_L", "M_LR_000098_L", "M_LR_N152_L", "M_LR_000260_L",
85+
"M_LR_N110_L", "M_LR_N110_R", "M_AMD_Runx1_L",
7986
]
8087

8188
# For custom thresholds.
@@ -89,6 +96,7 @@ def frequency_mapping(frequencies, values, animal="mouse", transduction_efficien
8996
# For consistent colors.
9097
ALL_COLORS = ["red", "blue", "orange", "yellow", "cyan", "magenta", "green", "purple", "gray", "black"]
9198
COLORS = {
99+
"Type Ia": "#133374",
92100
"Type Ib": "#27339C",
93101
"Type Ib/Ic": "#67279C",
94102
"Type Ic": "#9C276F",

0 commit comments

Comments
 (0)