Diff for "MarsBar" - MRC CBU Imaging Wiki
location: Diff for "MarsBar"
Differences between revisions 14 and 15
Revision 14 as of 2013-02-04 15:00:22
Size: 1545
Editor: OlafHauk
Comment:
Revision 15 as of 2013-03-07 21:22:58
Size: 1568
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
attachment:mrclogo.gif {{attachment:mrclogo.gif}}
Line 4: Line 4:
[http://marsbar.sourceforge.net MarsBaR] is a region of interest toolbox for SPM99, SPM2 and SPM5. It is installed at the CBU. [[http://marsbar.sourceforge.net|MarsBaR]] is a region of interest toolbox for SPM99, SPM2 and SPM5. It is installed at the CBU.
Line 6: Line 6:
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]). 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]]).
Line 24: Line 24:
[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/marsbarcreateroi.html|Steps for creating ROIs from an SPM cluster, and exporting ROIs to nii or hdr/img.]]
Line 26: Line 26:
[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.] [[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.]]
Line 31: Line 31:
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 33: Line 33:
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 35: Line 35:
attachment:marsbarbatchconvert.m : this batch file converts rois to .nii format [[attachment:marsbarbatchconvert.m]] : this batch file converts rois to .nii format

mrclogo.gif

MarsBaR

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 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.

Steps for creating ROIs from an SPM cluster, and exporting ROIs to nii or hdr/img.

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):

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

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.

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

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