|
47 | 47 | models = {fullfile(WD, 'models', 'model-MoAE_smdl.json') |
48 | 48 | fullfile(WD, 'models', 'model-MoAE_smdl.json') |
49 | 49 | fullfile(WD, 'models', 'model-MoAEindividual_smdl.json') |
50 | | - fullfile(WD, 'models', 'model-MoAEindividual_smdl.json') |
51 | | - }; |
| 50 | + fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')}; |
52 | 51 |
|
53 | 52 | for iOption = 1:numel(space) |
54 | 53 |
|
|
69 | 68 | %% stats |
70 | 69 | preproc_dir = fullfile(output_dir, 'bidspm-preproc'); |
71 | 70 |
|
| 71 | + % only specify the subject level model |
| 72 | + bidspm(bids_dir, output_dir, 'subject', ... |
| 73 | + 'participant_label', {'01'}, ... |
| 74 | + 'action', 'stats', ... |
| 75 | + 'preproc_dir', preproc_dir, ... |
| 76 | + 'model_file', models{iOption}, ... |
| 77 | + 'options', optionsFile, ... |
| 78 | + 'design_only', true); |
| 79 | + |
| 80 | + % specify, estimate model and contrasts, and view results |
72 | 81 | bidspm(bids_dir, output_dir, 'subject', ... |
73 | 82 | 'participant_label', {'01'}, ... |
74 | 83 | 'action', 'stats', ... |
|
0 commit comments