Nicole David | 3 Nov 11:47
Picon
Favicon

export ROI in another fomat than nifti

Hi,
I am using SPM 5 and marsbar to build ROIs. When I export them, I only
get them in .nii format, which I can not further process (i need an .img
and .hdr file). Is there a way to export them in another format or how
can I convert them?
Cheers,
Nicole

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Alison Preston | 21 Nov 19:49
Picon

ROIs work with one model but not another

Dear Marsbar Users-
I am trying to extract timecourses from a set of functionally defined  
ROIs using a batch process.  I am able to successfully extract data  
from one SPM model, but not from another.  The models call on the  
same functional data, but they define the trial types differently,  
i.e., one model (the one that works) has 6 conditions and the other  
(the one that doesn't work) has 10 conditions.  I get the following  
error when I try to extract data from the second model....

??? One or more output arguments not assigned during call to 'maroi/ 
getdata'.

Error in ==> /usr/local/matlab6.5/spm2/vanilla/toolbox/marsbar/ <at> maroi/ 
get_marsy.m
On line 76  ==>   [y vals vXYZ mat]  = getdata(o, VY);

Error in ==> /home/alison/matlab/progs/marsbar_batch_dm.m
On line 30  ==>      Y  = get_marsy(R, D, 'mean');

I would be grateful to anyone who might know why the same ROI would  
work with one model, but not with another.

Thanks!
-Alison

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
(Continue reading)

Matthew Brett | 22 Nov 23:10
Picon
Gravatar

Re: ROIs work with one model but not another

Hi,

> I am trying to extract timecourses from a set of functionally defined
> ROIs using a batch process.  I am able to successfully extract data
> from one SPM model, but not from another.  The models call on the
> same functional data, but they define the trial types differently,
> i.e., one model (the one that works) has 6 conditions and the other
> (the one that doesn't work) has 10 conditions.  I get the following
> error when I try to extract data from the second model....
>
> ??? One or more output arguments not assigned during call to 'maroi/
> getdata'.

Hmm - I am sorry, I really don't know how that could be so.  The only
thing that the data extraction uses from the model is the images, and
these will presumably be identical between the two models.  You could
check this with

VY1 = mardo('analysis1/SPM.mat');
VY2 = mardo('analysis2/SPM.mat');

and check that, for example, the scaling and file names are the same:

VY1(1).pinfo
VY2(1).pinfo

Sorry not to be more help - but let us know how you get on...

Best,

(Continue reading)

Murphy, Eric | 28 Nov 22:39

Single voxel data extraction

Hi Matthew,

We are trying to create a program in our lab that extracts roi timecourses from raw data (spm realigned and normalized) without going through spm or marsbar.  The idea is for the program to extract voxel values directly from the matrix of the image file.  However, we figured that before setting this program loose, we would do single voxel tests and compare the output of the new program to the marsbar output for the same voxel in a single subject.  Somehow, our results are not matching at all, and the highest correlation we have gotten is .65.  We are measuring our coordinates in mm, since the voxel size is different between the spm templates and our data, but it still seems like we are not getting our information from the same point.  Is there some reason that marsbar might be pulling the coordinate from a different space than that in the image file matrix?   Also, the results from our program are always in the thousands or tens of thousands, while the marsbar output is always only in the hundreds.  Is there some sort of scaling going on?

Thanks.

 

Eric Murphy, M.A.

Research Assistant

Dept. of Psychiatry & Behavioral Neuroscience

Wayne StateUniversityMedicalSchool

emurph <at> med.wayne.edu

(313) 577-1838

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users
Matthew Brett | 29 Nov 12:19
Picon
Gravatar

Re: Single voxel data extraction

Hi,

> We are trying to create a program in our lab that extracts roi timecourses
> from raw data (spm realigned and normalized) without going through spm or
> marsbar.  The idea is for the program to extract voxel values directly from
> the matrix of the image file.  However, we figured that before setting this
> program loose, we would do single voxel tests and compare the output of the
> new program to the marsbar output for the same voxel in a single subject.
> Somehow, our results are not matching at all, and the highest correlation we
> have gotten is .65.  We are measuring our coordinates in mm, since the voxel
> size is different between the spm templates and our data, but it still seems
> like we are not getting our information from the same point.  Is there some
> reason that marsbar might be pulling the coordinate from a different space
> than that in the image file matrix?   Also, the results from our program are
> always in the thousands or tens of thousands, while the marsbar output is
> always only in the hundreds.  Is there some sort of scaling going on?

Yes, if you used the default marsbar data extraction, it uses the
images from the SPM design, and these have been scaled to have a grand
mean, for each session, of 100.  You should be able to get the raw raw
data by using the full options, and choosing not to get the scaling
from the SPM images....

Best,

Matthew

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Martijn Mulder | 1 Dec 10:17
Picon

raw_data: extract with or without a design?

Hello,
 
I'm using MarsBar to compare two groups in a specific ROI. However, when extracting raw_data from the two-sampled design (export data) I get different results as compared to the raw_data from individual image extractions from the same con-files. In this last case I'm extracting the raw_data without a design and thus without any scaling (extract ROI, full options, no design).
I can understand that this will lead to differences in raw_data wihtin an individual, but I don't understand why the distribution between the indivduals are very different.
In addition, when comparing 'means of the two groups of the raw_data extracted from the two-sampled design' with 'the means of the raw_data extraction without a design' gave different distributions of the groups and different results.  How is this possible? And, in order to test for a correlation with behavior data, which raw_data will I use ...the two-sampled or the 'real' raw data?
 
Hope you understand the problem,
 
Kind regards,
 
Martijn
 
 
Martijn Mulder, PhD Student
Rudolf Magnus Institute of Neuroscience
University Medical Center Utrecht | Child & Adolescent Psychiatry
Neuroimaging department
 
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Marsbar-users mailing list
Marsbar-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/marsbar-users

Gmane