MarsBar - 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
WHat wOrd is made by the captiaL lettErs?

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

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