PetModelAutomation - MRC CBU Imaging Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Type the odd characters out in each group: abz2a 125t7 HhHaHh year.s 5433r21 worl3d

Revision 9 as of 2006-09-05 13:30:03

location: PetModelAutomation

Automating SPM99 Analyses

SPM 99 PET analyses can be automated using the CBU CSV modfications to the standard SPM statistical design.

Download this file attachment:cbu_csv99_ui.m, put it somewhere in your Matlab run path, and run it from the Matlab command window:

>> cbu_csv99_ui

This utility is a modified version of the SPM99 interface (spm_spm_ui.m) for specifying the design and image file locations in a PET study.

This automates the stages, after design type selection, of specifying group, subject, condition, replicate and covariate information by preparing a text file in advance and then telling SPM99 to read from this file. If you create a design in the standard point-click-type interface, a re-usable text file named design.csv is created in the requisite format.

I have found this facility useful for running multiple 'what if' analyses - seeing what the effect is of dropping a subject, or a condition, or adding an extra covariate, etc. etc., at the cost of a few edits to a text file.

Documentation is in attachment:details99.txt

Let me know if you have any problems or comments.

Updated by IanNimmoSmith on 5 September 2006.