Diff for "MarsBar" - MRC CBU Imaging Wiki
location: Diff for "MarsBar"
Differences between revisions 11 and 13 (spanning 2 versions)
Revision 11 as of 2009-07-14 13:49:00
Size: 1557
Editor: JessicaGrahn
Comment:
Revision 13 as of 2009-07-14 13:59:30
Size: 1519
Editor: JessicaGrahn
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
Here are some marsbar batch files: Here are some marsbar batch files (JessicaGrahn):
Line 29: Line 29:
marsbarbatch attachment:marsbarbatch.m : this batch file takes a list of coordinates and makes sphere ROIs, saving them in MarsBar and .nii format. attachment:marsbarbatch.m : this batch file takes a list of coordinates and makes sphere ROIs, saving them in MarsBar and .nii format.
Line 31: Line 31:
marsbarbatchextract attachment:marsbarbatchextract.m : this batch takes all rois in a directory, and extracts data from all the con/beta images in another directory, saving the data to a text file. attachment:marsbarbatchextract.m : this batch takes all rois in a directory, and extracts data from all the con/beta images in another directory, saving the data to a text file.
Line 33: Line 33:
marsbarbatchconvert attachment:marsbarbatchconvert.m : this batch file converts rois to .nii format attachment:marsbarbatchconvert.m : this batch file converts rois to .nii format

MarsBaR

[http://marsbar.sourceforge.net MarsBaR] is a region of interest toolbox for SPM99, SPM2 and SPM5. It is installed at the CBU.

The development version supports SPM5. To use this, start SPM / matlab on a machine that will run SPM5 (see [:CbuComputingResources#Software:the CBU computing page]).

MarsBaR should be available via the toolboxes button (let MatthewBrett know if not).

You can also make MarsBaR available by manually adding the path:

To do this, type the following at the matlab prompt:

addpath /imaging/local/spm/marsbar/marsbar-devel-0.41
marsbar

to start MarsBaR.


Local help for MarsBaR

Some pages showing basic steps (with screenshots) exist.

[http://www.mrc-cbu.cam.ac.uk/people/jessica.grahn/marsbarcreateroi.html Steps for creating ROIs from an SPM cluster, and exporting ROIs to nii or hdr/img.]

[http://www.mrc-cbu.cam.ac.uk/people/jessica.grahn/marsbar.html Steps for extracting signal from Regions of Interest, for import into Excel/SPSS/etc., to do second level analysis.]


Here are some marsbar batch files (JessicaGrahn):

attachment:marsbarbatch.m : this batch file takes a list of coordinates and makes sphere ROIs, saving them in MarsBar and .nii format.

attachment:marsbarbatchextract.m : this batch takes all rois in a directory, and extracts data from all the con/beta images in another directory, saving the data to a text file.

attachment:marsbarbatchconvert.m : this batch file converts rois to .nii format

CbuImaging: MarsBar (last edited 2013-03-07 21:22:58 by localhost)