-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextract_parcellations.m
More file actions
executable file
·89 lines (82 loc) · 4.98 KB
/
extract_parcellations.m
File metadata and controls
executable file
·89 lines (82 loc) · 4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
function parcellations = extract_parcellations(coverage, type)
% extract_parcellations.m
%
% Extract parcellations with certain coverage and type
%
% Inputs: coverage : brain coverage (string)
% all, whole, or cortical
% type : type of parcellation (string)
% all, anatomical, or parcellation
%
% Output: parcellations : parcellation names (cell)
%
% Original: James Pang, QIMR Berghofer, 2020
%%
if nargin<2
type = 'all';
end
if nargin<1
coverage = 'all';
end
if strcmpi(coverage, 'all') && strcmpi(type, 'all')
parcellations = {'AAL2_120', 'AAL3_170', 'Brainnetome_246', ...
'Desikan_Killiany_84', 'Destrieux_164', 'HCPMMP1_360', ...
'QIMR_512', 'QIMR_513', 'Schaefer_Buckner_448', 'Schaefer_HarvardOxford_414', ...
'Gordon_333', 'Gordon333_TianS1_349', 'Gordon333_TianS2_365', 'Gordon333_TianS3_383', 'Gordon333_TianS4_387', ...
'Schaefer_100', 'Schaefer100_TianS1_116', 'Schaefer100_TianS2_132', 'Schaefer100_TianS3_150', 'Schaefer100_TianS4_154', ...
'Schaefer_200', 'Schaefer200_TianS1_216', 'Schaefer200_TianS2_232', 'Schaefer200_TianS3_250', 'Schaefer200_TianS4_254', ...
'Schaefer_400', 'Schaefer400_TianS1_416', 'Schaefer400_TianS2_432', 'Schaefer400_TianS3_450', 'Schaefer400_TianS4_454'};
elseif strcmpi(coverage, 'whole') && strcmpi(type, 'all')
parcellations = {'AAL2_120', 'AAL3_170', 'Brainnetome_246', ...
'Desikan_Killiany_84', 'Destrieux_164', 'QIMR_512', ...
'QIMR_513', ...
'Schaefer_Buckner_448', 'Schaefer_HarvardOxford_414', ...
'Gordon333_TianS1_349', 'Gordon333_TianS2_365', ...
'Gordon333_TianS3_383', 'Gordon333_TianS4_387', ...
'Schaefer100_TianS1_116', 'Schaefer100_TianS2_132', ...
'Schaefer100_TianS3_150', 'Schaefer100_TianS4_154', ...
'Schaefer200_TianS1_216', 'Schaefer200_TianS2_232', ...
'Schaefer200_TianS3_250', 'Schaefer200_TianS4_254', ...
'Schaefer400_TianS1_416', 'Schaefer400_TianS2_432', ...
'Schaefer400_TianS3_450', 'Schaefer400_TianS4_454'};
elseif strcmpi(coverage, 'whole') && strcmpi(type, 'anatomical')
parcellations = {'AAL2_120', 'AAL3_170', 'Brainnetome_246', ...
'Desikan_Killiany_84', 'Destrieux_164', 'QIMR_512', ...
'QIMR_513'};
elseif strcmpi(coverage, 'whole') && strcmpi(type, 'functional')
parcellations = {'Schaefer_Buckner_448', 'Schaefer_HarvardOxford_414', ...
'Gordon333_TianS1_349', 'Gordon333_TianS2_365', ...
'Gordon333_TianS3_383', 'Gordon333_TianS4_387', ...
'Schaefer100_TianS1_116', 'Schaefer100_TianS2_132', ...
'Schaefer100_TianS3_150', 'Schaefer100_TianS4_154', ...
'Schaefer200_TianS1_216', 'Schaefer200_TianS2_232', ...
'Schaefer200_TianS3_250', 'Schaefer200_TianS4_254', ...
'Schaefer400_TianS1_416', 'Schaefer400_TianS2_432', ...
'Schaefer400_TianS3_450', 'Schaefer400_TianS4_454'};
elseif strcmpi(coverage, 'cortical') && strcmpi(type, 'all')
parcellations = {'HCPMMP1_360', ...
'Gordon_333', 'Schaefer_100', 'Schaefer_200', ...
'Schaefer_400'};
elseif strcmpi(coverage, 'cortical') && strcmpi(type, 'anatomical')
parcellations = {'HCPMMP1_360'};
elseif strcmpi(coverage, 'cortical') && strcmpi(type, 'functional')
parcellations = {'Gordon_333', 'Schaefer_100', 'Schaefer_200', ...
'Schaefer_400'};
elseif strcmpi(coverage, 'all') && strcmpi(type, 'anatomical')
parcellations = {'AAL2_120', 'AAL3_170', 'Brainnetome_246', ...
'Desikan_Killiany_84', 'Destrieux_164', 'QIMR_512', ...
'QIMR_513', ...
'HCPMMP1_360'};
elseif strcmpi(coverage, 'all') && strcmpi(type, 'functional')
parcellations = {'Schaefer_Buckner_448', 'Schaefer_HarvardOxford_414', ...
'Gordon333_TianS1_349', 'Gordon333_TianS2_365', ...
'Gordon333_TianS3_383', 'Gordon333_TianS4_387', ...
'Schaefer100_TianS1_116', 'Schaefer100_TianS2_132', ...
'Schaefer100_TianS3_150', 'Schaefer100_TianS4_154', ...
'Schaefer200_TianS1_216', 'Schaefer200_TianS2_232', ...
'Schaefer200_TianS3_250', 'Schaefer200_TianS4_254', ...
'Schaefer400_TianS1_416', 'Schaefer400_TianS2_432', ...
'Schaefer400_TianS3_450', 'Schaefer400_TianS4_454', ...
'Gordon_333', 'Schaefer_100', 'Schaefer_200', ...
'Schaefer_400'};
end