forked from sgarbarino/mechanistic-profiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect_ROIs_PPMS.m
More file actions
16 lines (13 loc) · 820 Bytes
/
select_ROIs_PPMS.m
File metadata and controls
16 lines (13 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%% select ROIs (all of them)
h = ones(size(volumesall_NEW,2),1);
ROIs = volumesall_NEW.Properties.VariableNames(find(h)); % names of the selected ROIs
%% select the corresponding zscores for both PAT and HC
for j = 1: length(ROIs)
zscoresPAT_ROIs(:,j) = zscores_volumesPAT_NEW_table(:,strcmp(zscores_volumesPAT_NEW_table.Properties.VariableNames, ROIs{j})); %here I can decide if using PAT or one subtype (they must be computed, as SPMS in line 11)
zscoresHC_ROIs(:,j) = zscores_volumesHC_NEW_table(:,strcmp(zscores_volumesPAT_NEW_table.Properties.VariableNames, ROIs{j}));
end
%%
zscoresPAT_ROIs.Properties.VariableNames = ROIs;
zscoresHC_ROIs.Properties.VariableNames = ROIs;
clear j
clear zscores_volumesPPMS_NEW_table zscores_volumesHC_NEW_table zscores_volumesRRMS_NEW_table zscores_volumesSPMS_NEW_table