Skip to content

Commit 13885f4

Browse files
BuchBuch
authored andcommitted
interim solution: applying pop_rmbase() to grand averages
1 parent b882aea commit 13885f4

File tree

70 files changed

+12649
-365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+12649
-365
lines changed

code/analyses-erp/OUTPUT.txt

Lines changed: 6465 additions & 0 deletions
Large diffs are not rendered by default.

code/analyses-erp/batch_erp_analyses.asv

Lines changed: 264 additions & 199 deletions
Large diffs are not rendered by default.

code/analyses-erp/batch_erp_analyses.m

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,31 @@
4343
fprintf('=== VISIBLE-TARGET ANALYSES ===\n\n');
4444

4545
%% ERN - test if detectable
46-
% social-FE p = 0.044 → DETECTABLE
46+
% social-FE
4747
testing_meanAmplitude(char(grandAver), ...
4848
{'grandAVG_112_social_vis_FE', 'grandAVG_111_social_vis_corr'}, ...
4949
{'Soc_FE', 'Soc_Corr'}, ...
5050
'visible_soc_FE_ERN_detection', [0 100], ern_cluster);
5151

52-
% social-NFE p = 0.275 → NOT DETECTABLE
52+
% social-NFE
5353
testing_meanAmplitude(char(grandAver), ...
5454
{'grandAVG_113_social_vis_NFE', 'grandAVG_111_social_vis_corr'}, ...
5555
{'Soc_NFE', 'Soc_Corr'}, ...
5656
'visible_soc_NFE_ERN_detection', [0 100], ern_cluster);
5757

58-
% nonsocial-FE p = 0.591 → NOT DETECTABLE
58+
% nonsocial-FE
5959
testing_meanAmplitude(char(grandAver), ...
6060
{'grandAVG_212_nonsoc_vis_FE', 'grandAVG_211_nonsoc_vis_corr'}, ...
6161
{'Nonsoc_FE', 'Nonsoc_Corr'}, ...
6262
'visible_nonsoc_FE_ERN_detection', [0 100], ern_cluster);
6363

64-
% nonsocial-NFE p = 0.865 → NOT DETECTABLE
64+
% nonsocial-NFE
6565
testing_meanAmplitude(char(grandAver), ...
6666
{'grandAVG_213_nonsoc_vis_NFE', 'grandAVG_211_nonsoc_vis_corr'}, ...
6767
{'Nonsoc_NFE', 'Nonsoc_Corr'}, ...
6868
'visible_nonsoc_NFE_ERN_detection', [0 100], ern_cluster);
6969

70-
%% delta-ERN ANOVA (error type × social condition) → no interaction, no error type effect, social condition effect p = .005
70+
%% delta-ERN ANOVA (error type × social condition)
7171
design = table({'FE'; 'FE'; 'NFE'; 'NFE'}, ...
7272
{'social'; 'nonsocial'; 'social'; 'nonsocial'}, ...
7373
'VariableNames', {'ErrorType', 'SocialCondition'});
@@ -79,31 +79,31 @@
7979
'ranova', design);
8080

8181
%% Pe - test if detectable
82-
% social-FE p = 0.028 → DETECTABLE
82+
% social-FE
8383
testing_meanAmplitude(char(grandAver), ...
8484
{'grandAVG_112_social_vis_FE', 'grandAVG_111_social_vis_corr'}, ...
8585
{'Soc_FE', 'Soc_Corr'}, ...
8686
'visible_soc_FE_Pe_detection', [200 500], pe_cluster);
8787

88-
% social-NFE p = 0.069 → NOT DETECTABLE
88+
% social-NFE
8989
testing_meanAmplitude(char(grandAver), ...
9090
{'grandAVG_113_social_vis_NFE', 'grandAVG_111_social_vis_corr'}, ...
9191
{'Soc_NFE', 'Soc_Corr'}, ...
9292
'visible_soc_NFE_Pe_detection', [200 500], pe_cluster);
9393

94-
% nonsocial-FE p = 0.068 → NOT DETECTABLE
94+
% nonsocial-FE
9595
testing_meanAmplitude(char(grandAver), ...
9696
{'grandAVG_212_nonsoc_vis_FE', 'grandAVG_211_nonsoc_vis_corr'}, ...
9797
{'Nonsoc_FE', 'Nonsoc_Corr'}, ...
9898
'visible_nonsoc_FE_Pe_detection', [200 500], pe_cluster);
9999

100-
% nonsocial-NFE p = 0.169 → NOT DETECTABLE
100+
% nonsocial-NFE
101101
testing_meanAmplitude(char(grandAver), ...
102102
{'grandAVG_213_nonsoc_vis_NFE', 'grandAVG_211_nonsoc_vis_corr'}, ...
103103
{'Nonsoc_NFE', 'Nonsoc_Corr'}, ...
104104
'visible_nonsoc_NFE_Pe_detection', [200 500], pe_cluster);
105105

106-
%% delta-Pe ANOVA (error type × social condition) → all p > .05
106+
%% delta-Pe ANOVA (error type × social condition)
107107
testing_meanAmplitude(char(diffWaves), ...
108108
{'diffWave_soc_vis_FE', 'diffWave_nonsoc_vis_FE', ...
109109
'diffWave_soc_vis_NFE', 'diffWave_nonsoc_vis_NFE'}, ...
@@ -115,26 +115,26 @@
115115
fprintf('\n--- Collapsed Errors Analysis ---\n');
116116

117117
%% ERN - collapsed errors
118-
% social collapsed errors p = 0.151 → NOT DETECTABLE
118+
% social collapsed errors
119119
testing_meanAmplitude(char(grandAver), ...
120120
{'grandAVG_110_social_vis_error', 'grandAVG_111_social_vis_corr'}, ...
121121
{'Soc_Error_Collapsed', 'Soc_Corr'}, ...
122122
'visible_soc_collapsed_ERN_detection', [0 100], ern_cluster);
123123

124-
% nonsocial collapsed errors p = 0.769 → NOT DETECTABLE
124+
% nonsocial collapsed errors
125125
testing_meanAmplitude(char(grandAver), ...
126126
{'grandAVG_210_nonsoc_vis_error', 'grandAVG_211_nonsoc_vis_corr'}, ...
127127
{'Nonsoc_Error_Collapsed', 'Nonsoc_Corr'}, ...
128128
'visible_nonsoc_collapsed_ERN_detection', [0 100], ern_cluster);
129129

130-
% delta-ERN t-test (social vs nonsocial) → significant: p = .008
130+
% delta-ERN t-test (social vs nonsocial)
131131
testing_meanAmplitude(char(diffWaves), ...
132132
{'diffWave_soc_vis_error', 'diffWave_nonsoc_vis_error'}, ...
133133
{'Soc_Error_Collapsed', 'Nonsoc_Error_Collapsed'}, ...
134134
'visible_collapsed_deltaERN_comparison', [0 100], ern_cluster);
135135

136136
%% Pe - collapsed errors
137-
% social collapsed errors p = 0.013 → DETECTABLE
137+
% social collapsed errors
138138
testing_meanAmplitude(char(grandAver), ...
139139
{'grandAVG_110_social_vis_error', 'grandAVG_111_social_vis_corr'}, ...
140140
{'Soc_Error_Collapsed', 'Soc_Corr'}, ...
@@ -158,25 +158,25 @@
158158
fprintf('\n=== INVISIBLE-TARGET ANALYSES ===\n\n');
159159

160160
%% ERN - test if detectable
161-
% social-FE p = 0.991 → NOT DETECTABLE
161+
% social-FE
162162
testing_meanAmplitude(char(grandAver), ...
163163
{'grandAVG_102_social_invis_FE', 'grandAVG_111_social_vis_corr'}, ...
164164
{'Soc_Invis_FE', 'Soc_Vis_Corr'}, ...
165165
'invisible_soc_FE_ERN_detection', [0 100], ern_cluster);
166166

167-
% social-NFG p = 0.082 → NOT DETECTABLE
167+
% social-NFG
168168
testing_meanAmplitude(char(grandAver), ...
169169
{'grandAVG_104_social_invis_NFG', 'grandAVG_111_social_vis_corr'}, ...
170170
{'Soc_Invis_NFG', 'Soc_Vis_Corr'}, ...
171171
'invisible_soc_NFG_ERN_detection', [0 100], ern_cluster);
172172

173-
% nonsocial-FE p = 0.015 → DETECTABLE (but reversed direction!)
173+
% nonsocial-FE
174174
testing_meanAmplitude(char(grandAver), ...
175175
{'grandAVG_202_nonsoc_invis_FE', 'grandAVG_211_nonsoc_vis_corr'}, ...
176176
{'Nonsoc_Invis_FE', 'Nonsoc_Vis_Corr'}, ...
177177
'invisible_nonsoc_FE_ERN_detection', [0 100], ern_cluster);
178178

179-
% nonsocial-NFG p = 0.102 → NOT DETECTABLE
179+
% nonsocial-NFG
180180
testing_meanAmplitude(char(grandAver), ...
181181
{'grandAVG_204_nonsoc_invis_NFG', 'grandAVG_211_nonsoc_vis_corr'}, ...
182182
{'Nonsoc_Invis_NFG', 'Nonsoc_Vis_Corr'}, ...
@@ -194,25 +194,25 @@
194194
'ranova', design_invis);
195195

196196
%% Pe - test if detectable
197-
% social-FE p = 0.420 → NOT DETECTABLE
197+
% social-FE
198198
testing_meanAmplitude(char(grandAver), ...
199199
{'grandAVG_102_social_invis_FE', 'grandAVG_111_social_vis_corr'}, ...
200200
{'Soc_Invis_FE', 'Soc_Vis_Corr'}, ...
201201
'invisible_soc_FE_Pe_detection', [200 500], pe_cluster);
202202

203-
% social-NFG p = 0.519 → NOT DETECTABLE
203+
% social-NFG
204204
testing_meanAmplitude(char(grandAver), ...
205205
{'grandAVG_104_social_invis_NFG', 'grandAVG_111_social_vis_corr'}, ...
206206
{'Soc_Invis_NFG', 'Soc_Vis_Corr'}, ...
207207
'invisible_soc_NFG_Pe_detection', [200 500], pe_cluster);
208208

209-
% nonsocial-FE p = 0.019 → DETECTABLE
209+
% nonsocial-FE
210210
testing_meanAmplitude(char(grandAver), ...
211211
{'grandAVG_202_nonsoc_invis_FE', 'grandAVG_211_nonsoc_vis_corr'}, ...
212212
{'Nonsoc_Invis_FE', 'Nonsoc_Vis_Corr'}, ...
213213
'invisible_nonsoc_FE_Pe_detection', [200 500], pe_cluster);
214214

215-
% nonsocial-NFG p = 0.015 → DETECTABLE
215+
% nonsocial-NFG
216216
testing_meanAmplitude(char(grandAver), ...
217217
{'grandAVG_204_nonsoc_invis_NFG', 'grandAVG_211_nonsoc_vis_corr'}, ...
218218
{'Nonsoc_Invis_NFG', 'Nonsoc_Vis_Corr'}, ...
@@ -248,13 +248,6 @@
248248
end
249249
fprintf('Moved %d invisible-target statistics files\n', length(invisFiles));
250250

251-
%% generate html report
252-
fprintf('\nGenerating HTML report...\n');
253-
publish('batch_erp_analyses.m', ...
254-
'format', 'html', ...
255-
'outputDir', reportsDir, ...
256-
'evalCode', false);
257-
258251
%% create summary file
259252
summaryFile = fullfile(outputDir, 'analysis_summary.txt');
260253
fid = fopen(summaryFile, 'w');
@@ -277,4 +270,12 @@
277270
fprintf('\n========================================\n');
278271
fprintf('Analysis Complete!\n');
279272
fprintf('Output saved to:\n%s\n', outputDir);
280-
fprintf('========================================\n');
273+
fprintf('========================================\n');
274+
275+
276+
% %% generate html report
277+
% fprintf('\nGenerating HTML report...\n');
278+
% publish('batch_erp_analyses.m', ...
279+
% 'format', 'html', ...
280+
% 'outputDir', reportsDir, ...
281+
% 'evalCode', true);

code/analyses-erp/batch_visual.asv

Lines changed: 48 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ visual_comperp({'grandAVG_111_social_vis_corr', 'grandAVG_211_nonsoc_vis_corr',
3434

3535
% ERN
3636
pimpfigure('ERP', [-150 400 -3.5 2.5], {'1' '1:' '3' '3:' '5' '5:'}, ...
37-
{'correct social', 'correct nonsocial', 'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
37+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
3838
[0 100], [vis_cor; vis_cor; vis_FE; vis_FE; vis_NFE; vis_NFE]);
3939
title('Ne/ERN - visible-target - grand averages');
4040

4141
% Pe
4242
pimpfigure('ERP', [-100 600 -2 3], {'1' '1:' '3' '3:' '5' '5:'}, ...
43-
{'correct social', 'correct nonsocial', 'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
43+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
4444
[200 500], [vis_cor; vis_cor; vis_FE; vis_FE; vis_NFE; vis_NFE]);
4545
title('Pe - visible-target - grand averages');
4646

@@ -51,15 +51,15 @@ visual_comperp({'diffWave_soc_vis_FE', 'diffWave_nonsoc_vis_FE', ...
5151

5252
% ERN
5353
pimpfigure('ERP', [-150 400 -2.5 2.5], {'1' '1:' '3' '3:'}, ...
54-
{'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
54+
{'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial'}, ...
5555
[0 100], [vis_FE; vis_FE; vis_NFE; vis_NFE]);
56-
title('∆ERN - visible-target - difference waves');
56+
title('∆ERN - visible-target');
5757

5858
% Pe
5959
pimpfigure('ERP', [-100 600 -3 2], {'1' '1:' '3' '3:'}, ...
6060
{'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
6161
[200 500], [vis_FE; vis_FE; vis_NFE; vis_NFE]);
62-
title('∆Pe - visible-target - difference waves');
62+
title('∆Pe - visible-target');
6363

6464

6565
%% additional tests - visible-target - collapsed errors (FE + NFE combined)
@@ -70,13 +70,13 @@ visual_comperp({'grandAVG_111_social_vis_corr', 'grandAVG_211_nonsoc_vis_corr',
7070

7171
% ERN
7272
pimpfigure('ERP', [-150 400 -3.2 2], {'1' '1:' '3' '3:'}, ...
73-
{'correct social', 'correct nonsocial', 'error social', 'error nonsocial'}, ...
73+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
7474
[0 100], [vis_cor; vis_cor; vis_err; vis_err]);
7575
title('Ne/ERN - visible-target - collapsed across error type');
7676

7777
% Pe
7878
pimpfigure('ERP', [-100 600 -1.5 2.75], {'1' '1:' '3' '3:'}, ...
79-
{'correct social', 'correct nonsocial', 'error social', 'error nonsocial'}, ...
79+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
8080
[200 500], [vis_cor; vis_cor; vis_err; vis_err]);
8181
title('Pe - visible-target - collapsed across error type');
8282

@@ -86,13 +86,13 @@ visual_comperp({'diffWave_soc_vis_error', 'diffWave_nonsoc_vis_error'}, ...
8686

8787
% ERN
8888
pimpfigure('ERP', [-150 400 -2 2], {'1' '1:'}, ...
89-
{'error social', 'error nonsocial'}, ...
89+
{'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
9090
[0 100], [vis_err; vis_err]);
9191
title('∆ERN - visible-target - collapsed across error type');
9292

9393
% Pe
9494
pimpfigure('ERP', [-100 600 -3.1 2], {'1' '1:'}, ...
95-
{'error social', 'error nonsocial'}, ...
95+
{'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
9696
[200 500], [vis_err; vis_err]);
9797
title('∆Pe - visible-target - collapsed across error type');
9898

@@ -109,13 +109,13 @@ visual_comperp({'grandAVG_111_social_vis_corr', 'grandAVG_211_nonsoc_vis_corr',
109109
char(grandAver));
110110

111111
% ERN
112-
pimpfigure('ERP', [-150 400 -3.5 1.5], {'1' '1:' '3' '3:' '5' '5:'}, ...
112+
pimpfigure('ERP', [-150 400 -2.5 1.5], {'1' '1:' '3' '3:' '5' '5:'}, ...
113113
{'vis-correct social', 'vis-correct nonsocial', 'FE social', 'FE nonsocial', 'NFG social', 'NFG nonsocial'}, ...
114114
[0 100], [vis_cor; vis_cor; invis_FE; invis_FE; invis_NFG; invis_NFG]);
115115
title('Ne/ERN - invisible-target - grand averages');
116116

117117
% Pe
118-
pimpfigure('ERP', [-100 600 -2 3], {'1' '1:' '3' '3:' '5' '5:'}, ...
118+
pimpfigure('ERP', [-100 600 -1 2.75], {'1' '1:' '3' '3:' '5' '5:'}, ...
119119
{'vis-correct social', 'vis-correct nonsocial', 'FE social', 'FE nonsocial', 'NFG social', 'NFG nonsocial'}, ...
120120
[200 500], [vis_cor; vis_cor; invis_FE; invis_FE; invis_NFG; invis_NFG]);
121121
title('Pe - invisible-target - grand averages');
@@ -124,13 +124,46 @@ title('Pe - invisible-target - grand averages');
124124
visual_comperp({'diffWave_soc_invis_FE', 'diffWave_nonsoc_invis_FE', ...
125125
'diffWave_soc_invis_NFG', 'diffWave_nonsoc_invis_NFG'}, ...
126126
char(diffWaves));
127+
127128
% ERN
128-
pimpfigure('ERP', [-150 400 -3.5 2.5], {'1' '1:' '3' '3:'}, ...
129+
pimpfigure('ERP', [-150 400 -1.2 2], {'1' '1:' '3' '3:'}, ...
129130
{'FE social', 'FE nonsocial', 'NFG social', 'NFG nonsocial'}, ...
130131
[0 100], [invis_FE; invis_FE; invis_NFG; invis_NFG]);
131-
title('∆ERN - invisible-target - difference waves');
132+
title('∆ERN - invisible-target');
133+
132134
% Pe
133-
pimpfigure('ERP', [-100 600 -2 3], {'1' '1:' '3' '3:'}, ...
135+
pimpfigure('ERP', [-100 600 -2.6 1.5], {'1' '1:' '3' '3:'}, ...
134136
{'FE social', 'FE nonsocial', 'NFG social', 'NFG nonsocial'}, ...
135137
[200 500], [invis_FE; invis_FE; invis_NFG; invis_NFG]);
136-
title('∆Pe - invisible-target - difference waves');
138+
title('∆Pe - invisible-target');
139+
140+
141+
142+
143+
144+
%% MASTER LEGEND
145+
figure('Position', [100 100 400 300]);
146+
hold on;
147+
148+
% visible conditions
149+
plot(NaN, NaN, '-', 'Color', vis_cor/255, 'LineWidth', 4);
150+
plot(NaN, NaN, ':', 'Color', vis_cor/255, 'LineWidth', 4);
151+
plot(NaN, NaN, '-', 'Color', vis_FE/255, 'LineWidth', 4);
152+
plot(NaN, NaN, ':', 'Color', vis_FE/255, 'LineWidth', 4);
153+
plot(NaN, NaN, '-', 'Color', vis_NFE/255, 'LineWidth', 4);
154+
plot(NaN, NaN, ':', 'Color', vis_NFE/255, 'LineWidth', 4);
155+
plot(NaN, NaN, '-', 'Color', vis_err/255, 'LineWidth', 4);
156+
plot(NaN, NaN, ':', 'Color', vis_err/255, 'LineWidth', 4);
157+
158+
% invisible conditions
159+
plot(NaN, NaN, '-', 'Color', invis_NFG/255, 'LineWidth', 4);
160+
plot(NaN, NaN, ':', 'Color', invis_NFG/255, 'LineWidth', 4);
161+
162+
legend({'Correct (nonsocial)', 'Correct (social)', ...
163+
'Flanker Error (nonsocial)', 'Flanker Error (social)', ...
164+
'Non-Flanker Error (nonsocial)', 'Non-Flanker Error (social)', ...
165+
'Error collapsed (nonsocial)', 'Error collapsed (social)', ...
166+
'Non-Flanker Guess (nonsocial)', 'Non-Flanker Guess (social)'}, ...
167+
'Location', 'bestoutside', 'FontSize', 12);
168+
title('Legend - Line Types & Colors');
169+
axis off;

code/analyses-erp/batch_visual.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434

3535
% ERN
3636
pimpfigure('ERP', [-150 400 -3.5 2.5], {'1' '1:' '3' '3:' '5' '5:'}, ...
37-
{'correct social', 'correct nonsocial', 'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
37+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
3838
[0 100], [vis_cor; vis_cor; vis_FE; vis_FE; vis_NFE; vis_NFE]);
3939
title('Ne/ERN - visible-target - grand averages');
4040

4141
% Pe
4242
pimpfigure('ERP', [-100 600 -2 3], {'1' '1:' '3' '3:' '5' '5:'}, ...
43-
{'correct social', 'correct nonsocial', 'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
43+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
4444
[200 500], [vis_cor; vis_cor; vis_FE; vis_FE; vis_NFE; vis_NFE]);
4545
title('Pe - visible-target - grand averages');
4646

@@ -51,13 +51,13 @@
5151

5252
% ERN
5353
pimpfigure('ERP', [-150 400 -2.5 2.5], {'1' '1:' '3' '3:'}, ...
54-
{'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
54+
{'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
5555
[0 100], [vis_FE; vis_FE; vis_NFE; vis_NFE]);
5656
title('∆ERN - visible-target');
5757

5858
% Pe
5959
pimpfigure('ERP', [-100 600 -3 2], {'1' '1:' '3' '3:'}, ...
60-
{'FE social', 'FE nonsocial', 'NFE social', 'NFE nonsocial'}, ...
60+
{'FE social (N = 25)', 'FE nonsocial (N = 26)', 'NFE social (N = 22)', 'NFE nonsocial (N = 23)'}, ...
6161
[200 500], [vis_FE; vis_FE; vis_NFE; vis_NFE]);
6262
title('∆Pe - visible-target');
6363

@@ -70,13 +70,13 @@
7070

7171
% ERN
7272
pimpfigure('ERP', [-150 400 -3.2 2], {'1' '1:' '3' '3:'}, ...
73-
{'correct social', 'correct nonsocial', 'error social', 'error nonsocial'}, ...
73+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
7474
[0 100], [vis_cor; vis_cor; vis_err; vis_err]);
7575
title('Ne/ERN - visible-target - collapsed across error type');
7676

7777
% Pe
7878
pimpfigure('ERP', [-100 600 -1.5 2.75], {'1' '1:' '3' '3:'}, ...
79-
{'correct social', 'correct nonsocial', 'error social', 'error nonsocial'}, ...
79+
{'correct social (N = 29)', 'correct nonsocial (N = 29)', 'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
8080
[200 500], [vis_cor; vis_cor; vis_err; vis_err]);
8181
title('Pe - visible-target - collapsed across error type');
8282

@@ -86,13 +86,13 @@
8686

8787
% ERN
8888
pimpfigure('ERP', [-150 400 -2 2], {'1' '1:'}, ...
89-
{'error social', 'error nonsocial'}, ...
89+
{'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
9090
[0 100], [vis_err; vis_err]);
9191
title('∆ERN - visible-target - collapsed across error type');
9292

9393
% Pe
9494
pimpfigure('ERP', [-100 600 -3.1 2], {'1' '1:'}, ...
95-
{'error social', 'error nonsocial'}, ...
95+
{'error social (N = 26)', 'error nonsocial (N = 26)'}, ...
9696
[200 500], [vis_err; vis_err]);
9797
title('∆Pe - visible-target - collapsed across error type');
9898

0 commit comments

Comments
 (0)