Skip to content

Commit ff17e6a

Browse files
committed
update for bids derivatives
1 parent 2a976c9 commit ff17e6a

5 files changed

+170
-3
lines changed
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
label,ROI
2+
4,3rd Ventricle
3+
11,4th Ventricle
4+
23,Right Accumbens Area
5+
30,Left Accumbens Area
6+
31,Right Amygdala
7+
32,Left Amygdala
8+
35,Brain Stem
9+
36,Right Caudate
10+
37,Left Caudate
11+
38,Right Cerebellum Exterior
12+
39,Left Cerebellum Exterior
13+
40,Right Cerebellum White Matter
14+
41,Left Cerebellum White Matter
15+
44,Right Cerebral White Matter
16+
45,Left Cerebral White Matter
17+
46,CSF
18+
47,Right Hippocampus
19+
48,Left Hippocampus
20+
49,Right Inf Lat Vent
21+
50,Left Inf Lat Vent
22+
51,Right Lateral Ventricle
23+
52,Left Lateral Ventricle
24+
55,Right Pallidum
25+
56,Left Pallidum
26+
57,Right Putamen
27+
58,Left Putamen
28+
59,Right Thalamus Proper
29+
60,Left Thalamus Proper
30+
61,Right Ventral DC
31+
62,Left Ventral DC
32+
63,Right vessel
33+
64,Left vessel
34+
69,Optic Chiasm
35+
71,Cerebellar Vermal Lobules I-V
36+
72,Cerebellar Vermal Lobules VI-VII
37+
73,Cerebellar Vermal Lobules VIII-X
38+
75,Left Basal Forebrain
39+
76,Right Basal Forebrain
40+
100,Right ACgG anterior cingulate gyrus
41+
101,Left ACgG anterior cingulate gyrus
42+
102,Right AIns anterior insula
43+
103,Left AIns anterior insula
44+
104,Right AOrG anterior orbital gyrus
45+
105,Left AOrG anterior orbital gyrus
46+
106,Right AnG angular gyrus
47+
107,Left AnG angular gyrus
48+
108,Right Calc calcarine cortex
49+
109,Left Calc calcarine cortex
50+
112,Right CO central operculum
51+
113,Left CO central operculum
52+
114,Right Cun cuneus
53+
115,Left Cun cuneus
54+
116,Right Ent entorhinal area
55+
117,Left Ent entorhinal area
56+
118,Right FO frontal operculum
57+
119,Left FO frontal operculum
58+
120,Right FRP frontal pole
59+
121,Left FRP frontal pole
60+
122,Right FuG fusiform gyrus
61+
123,Left FuG fusiform gyrus
62+
124,Right GRe gyrus rectus
63+
125,Left GRe gyrus rectus
64+
128,Right IOG inferior occipital gyrus
65+
129,Left IOG inferior occipital gyrus
66+
132,Right ITG inferior temporal gyrus
67+
133,Left ITG inferior temporal gyrus
68+
134,Right LiG lingual gyrus
69+
135,Left LiG lingual gyrus
70+
136,Right LOrG lateral orbital gyrus
71+
137,Left LOrG lateral orbital gyrus
72+
138,Right MCgG middle cingulate gyrus
73+
139,Left MCgG middle cingulate gyrus
74+
140,Right MFC medial frontal cortex
75+
141,Left MFC medial frontal cortex
76+
142,Right MFG middle frontal gyrus
77+
143,Left MFG middle frontal gyrus
78+
144,Right MOG middle occipital gyrus
79+
145,Left MOG middle occipital gyrus
80+
146,Right MOrG medial orbital gyrus
81+
147,Left MOrG medial orbital gyrus
82+
148,Right MPoG postcentral gyrus medial segment
83+
149,Left MPoG postcentral gyrus medial segment
84+
150,Right MPrG precentral gyrus medial segment
85+
151,Left MPrG precentral gyrus medial segment
86+
152,Right MSFG superior frontal gyrus medial segment
87+
153,Left MSFG superior frontal gyrus medial segment
88+
154,Right MTG middle temporal gyrus
89+
155,Left MTG middle temporal gyrus
90+
156,Right OCP occipital pole
91+
157,Left OCP occipital pole
92+
160,Right OFuG occipital fusiform gyrus
93+
161,Left OFuG occipital fusiform gyrus
94+
162,Right OpIFG opercular part of the inferior frontal gyrus
95+
163,Left OpIFG opercular part of the inferior frontal gyrus
96+
164,Right OrIFG orbital part of the inferior frontal gyrus
97+
165,Left OrIFG orbital part of the inferior frontal gyrus
98+
166,Right PCgG posterior cingulate gyrus
99+
167,Left PCgG posterior cingulate gyrus
100+
168,Right PCu precuneus
101+
169,Left PCu precuneus
102+
170,Right PHG parahippocampal gyrus
103+
171,Left PHG parahippocampal gyrus
104+
172,Right PIns posterior insula
105+
173,Left PIns posterior insula
106+
174,Right PO parietal operculum
107+
175,Left PO parietal operculum
108+
176,Right PoG postcentral gyrus
109+
177,Left PoG postcentral gyrus
110+
178,Right POrG posterior orbital gyrus
111+
179,Left POrG posterior orbital gyrus
112+
180,Right PP planum polare
113+
181,Left PP planum polare
114+
182,Right PrG precentral gyrus
115+
183,Left PrG precentral gyrus
116+
184,Right PT planum temporale
117+
185,Left PT planum temporale
118+
186,Right SCA subcallosal area
119+
187,Left SCA subcallosal area
120+
190,Right SFG superior frontal gyrus
121+
191,Left SFG superior frontal gyrus
122+
192,Right SMC supplementary motor cortex
123+
193,Left SMC supplementary motor cortex
124+
194,Right SMG supramarginal gyrus
125+
195,Left SMG supramarginal gyrus
126+
196,Right SOG superior occipital gyrus
127+
197,Left SOG superior occipital gyrus
128+
198,Right SPL superior parietal lobule
129+
199,Left SPL superior parietal lobule
130+
200,Right STG superior temporal gyrus
131+
201,Left STG superior temporal gyrus
132+
202,Right TMP temporal pole
133+
203,Left TMP temporal pole
134+
204,Right TrIFG triangular part of the inferior frontal gyrus
135+
205,Left TrIFG triangular part of the inferior frontal gyrus
136+
206,Right TTG transverse temporal gyrus
137+
207,Left TTG transverse temporal gyrus
2.02 MB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"Description": "RECOMMENDED",
3+
"Sources": [
4+
["OPTIONAL"]
5+
],
6+
"RawSources": [
7+
["REQUIRED"]
8+
],
9+
"SpatialReference": [
10+
["REQUIRED if no space entityor if non standard space RECOMMENDED otherwise"]
11+
],
12+
"Atlas": [
13+
["OPTIONAL"]
14+
],
15+
"Type": [
16+
["OPTIONAL"]
17+
]
18+
}

src/atlas/extractRoiFromAtlas.m

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@
1111
else
1212
sourceImage = maxProbaFiles(2, :);
1313
end
14-
14+
15+
elseif strcmp(atlas, 'neuromorphometrics')
16+
17+
sourceImage = fullfile(returnAtlasDir(), 'space-IXI549Space_desc-neuromorphometrics_dseg.nii');
18+
19+
roiLabels = getRoiLabelLookUpTable(atlas);
20+
1521
end
1622

1723
roiIdx = strcmp(roiName, roiLabels.ROI);

src/atlas/getRoiLabelLookUpTable.m

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@
1010
atlasDir = returnAtlasDir(atlas);
1111

1212
switch lower(atlas)
13-
13+
1414
case 'wang'
15+
16+
roiLabelLUT = spm_load(fullfile(atlasDir, 'LUT.csv'));
17+
18+
case 'neuromorphometrics'
1519

16-
roiLabelLUT = spm_load(fullfile(atlasDir, 'LUT.csv'));
20+
roiLabelLUT = spm_load(fullfile(returnAtlasDir(),...
21+
'space-IXI549Space_desc-neuromorphometrics_dseg.csv'));
22+
1723

1824
case 'anatomy_toobox'
1925

0 commit comments

Comments
 (0)