There are 13 different contrasts that I would like to run for about 25 subjects.
I have been getting the following error when I try to run the analysis on SnPM, but I do not get the error when I run the same analysis using parametric analysis:
Running 'MultiSub: One Sample T test on diffs/contrasts'
Failed 'MultiSub: One Sample T test on diffs/contrasts'
Error using snpm_ui (line 465)
images do not all have same orientation & voxel size
In file "/export/opt/MATLAB/R2013a/toolbox/spm8/toolbox/SnPM13/snpm_ui.m" (???), function "snpm_ui" at line 465.
In file "/export/opt/MATLAB/R2013a/toolbox/spm8/toolbox/SnPM13/config/snpm_run_ui.m" (???), function "snpm_run_ui" at line 12.
Running 'Compute'
SnPM: snpm_cp
----------- I am including some background on the steps I have done which may have caused this error. I've tried my best to follow the existing tutorials, but clearly something is going wrong, and I was hoping someone on this forum would be able to help me with what is hopefully a simple troubleshooting ---------------------------------------------
From SPM, I click on 'Specify 2nd-level' and then select 'MultiSub: One Sample T test' from the SnPM toolbox.
For 'Images to analyze' I select the 25 con_0xxx.img image files from each of the 25 subjects that were generated after 1st level analysis.
The rest of the options are left at default
^^^^ I see the error message when I run the module with these inputs. The error message about brain orientation and voxel size does not appear when I run a parametric test (but shouldn't the same error appear for parametric tests if the orientation and voxel sizes are different per subject?)
Thank you for your help in advance!
KN
Hi Dr. Nichols,I checked the files again and it didn't produce any SnPM_cfg.mat files with the 25 subjects. I apologize for the confusion, there was an artifact spnm file that I didn't erase. I reran everything again and this is what's happening:This is what I input into the module. The 25 files were from the files generated after 1st level analysis is complete.When I run this, I see this message:I admit I'm not very savvy on fMRI analysis in general, and, wondering if I was using the wrong image files for this analysis I tried it with a single con_000x.img image file that was generated after running 2nd Level analysis on 25 subjects using parametric analysis to see if I would still get the same "not same orientation" message. <-- This was how the SnPM_cfg.mat files were generated which is why the module was able to move forward to 'Compute', which is what the original error message I pasted onto the forum contained.You can see from the above screenshot that the module doesn't run and therefore no files are generated at all. When I do the same thing with parametric analysis (see screenshot below) it is able to run just fine:Thank you for your patience and help!On Wed, Mar 1, 2017 at 4:37 PM, Koyuki Nakamura <kn...@cornell.edu> wrote:Thank you so much for getting back to me so quickly! I am double checking with the PIs to make sure they are okay with sending these files to you and will hopefully get back to you soon.
On Wednesday, March 1, 2017, Thomas Nichols <ess...@live.warwick.ac.uk> wrote:Can you send the SnPM_cfg.mat file that gets created and, if any, SnPM.mat?
KN
--
You received this message because you are subscribed to the Google Groups "Statistical Nonparametric Mapping" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snpm-support+unsubscribe@googlegroups.com.
To post to this group, send an email to snpm-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/snpm-support.
To view this discussion on the web, visit https://groups.google.com/d/msgid/snpm-support/7ebf43cc-8731-4c4f-8eed-f81a511f68b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--__________________________________________________________
Thomas Nichols, PhD
Professor, Head of Neuroimaging Statistics
Department of Statistics & Warwick Manufacturing Group
University of Warwick, Coventry CV4 7AL, United Kingdom--
Sent from Gmail Mobile
Hi Dr. Nichols,I am sending you the ImgHandles.mat file.I also received an okay from my PIs about sending you additional files if it helps diagnose the problem (please let me know if any other files will help).Thank you so much for your assistance so far!
You received this message because you are subscribed to a topic in the Google Groups "Statistical Nonparametric Mapping" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/snpm-support/Vg9GJ-ivJWI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to snpm-support+unsubscribe@googlegroups.com.
To post to this group, send email to snpm-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/snpm-support.
To view this discussion on the web, visit https://groups.google.com/d/msgid/snpm-support/CAJoTcz5Nvk0v7YELDp%3DARyMscqBTx9Xx_zfQ8zv_MZcR-dF1zg%40mail.gmail.com.
>> load ImgHandles.mat>> V(18).mat-V(19).matans =1.0e-04 *0.0095 0 0 -0.23840 0.0095 0 -0.31470 0 0.0095 -0.23840 0 0 0
%-Check compatability of images (Bombs for single image)%-----------------------------------------------------------------------if any(any(diff(cat(1,V(:).dim),1,1),1)&[1,1,1])error('images do not all have the same dimensions')endif any(any(any(diff(cat(3,V(:).mat),1,3),3)))error('images do not all have same orientation & voxel size')end
spm_check_orientations(V);
To post to this group, send email to snpm-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/snpm-support.
To view this discussion on the web, visit https://groups.google.com/d/msgid/snpm-support/CADtV%2BWaOY%2BStL3HR8-V_H9%3D-z9oVt%2BHfx7NDNFR2GH0zrRS0SQ%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/snpm-support/CAJoTcz6qaCbqtF0fGyFZ7QD%2BrPHzUEYkfF%3DG0%3DZOxDWpdLHXiA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to snpm-support...@googlegroups.com.
To post to this group, send email to snpm-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/snpm-support.
To view this discussion on the web, visit https://groups.google.com/d/msgid/snpm-support/CADtV%2BWZupWJ9WTwvKmoWR6HcVY3AiW8-a0V78VQ4WRMWfrqX%2BQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to snpm-support+unsubscribe@googlegroups.com.
To post to this group, send email to snpm-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/snpm-support.