help
help > gPPI 'Input structure is not correct'
Nov 12, 2016 04:11 AM | Leehyun Yoon - KU
gPPI 'Input structure is not correct'
Dear gPPI expert.
I have several questions regarding gPPI.
1) Contrary to SPM PPI, It seems that there is no part of loading 'scans' or image files. Then, How can they do estimation?
for example, when doing sPPI, there is part needed like below. (this is my own code)
% loading 's' image files
fDir = strcat( baseDir,'/', subjectDir{j}, '/preprocessing');
imgDir = strcat(fDir, '/s');
fFile = strcat(imgDir,'/', 'sw*.img' );
fileList = dir(fFile); % s.. file list
But there is no part in gPPI wrapper so I am curious that how the script can make the map only using SPM.mat file
2) Here is my gPPI code. I modified it from Bob Spunt' wrapper.
The objective of this gPPI code is, find the brain region that interact with seed region which is Frontopolar Cortex([-24_50_0]) when parameter named cnpFB fluctuates. (this was parameter modulator)
So, there is just one Contrast 'FB.cnpFB' without comparing condition.
Below is my code. And I received error message 'Input structure is not correct'. Would you give me advice regarding my code? I will attach code. Thank you so much, Sincerely.
I have several questions regarding gPPI.
1) Contrary to SPM PPI, It seems that there is no part of loading 'scans' or image files. Then, How can they do estimation?
for example, when doing sPPI, there is part needed like below. (this is my own code)
% loading 's' image files
fDir = strcat( baseDir,'/', subjectDir{j}, '/preprocessing');
imgDir = strcat(fDir, '/s');
fFile = strcat(imgDir,'/', 'sw*.img' );
fileList = dir(fFile); % s.. file list
But there is no part in gPPI wrapper so I am curious that how the script can make the map only using SPM.mat file
2) Here is my gPPI code. I modified it from Bob Spunt' wrapper.
The objective of this gPPI code is, find the brain region that interact with seed region which is Frontopolar Cortex([-24_50_0]) when parameter named cnpFB fluctuates. (this was parameter modulator)
So, there is just one Contrast 'FB.cnpFB' without comparing condition.
Below is my code. And I received error message 'Input structure is not correct'. Would you give me advice regarding my code? I will attach code. Thank you so much, Sincerely.
Threaded View
Title | Author | Date |
---|---|---|
Leehyun Yoon | Nov 12, 2016 | |
Donald McLaren | Nov 14, 2016 | |