Great, will do that - thank you very much for your help!

Psychiatric Services University of Bern (UPD)
University Hospital of Psychiatry
Division of Systems Neuroscience of Psychopathology
Translational Research Center
Dr. Martina Papmeyer, Postdoctoral Fellow
Bolligenstr. 111, CH-3000 Bern 60
Tel: ++41 0(31) 930 9599, Fax: ++41 0(31) 930 9961
Mail: martina.papme...@puk.unibe.ch
www.puk.unibe.ch







________________________________________
Von: freesurfer-boun...@nmr.mgh.harvard.edu 
[freesurfer-boun...@nmr.mgh.harvard.edu]" im Auftrag von "Douglas N 
Greve [gr...@nmr.mgh.harvard.edu]
Gesendet: Freitag, 5. August 2016 17:18
An: freesurfer@nmr.mgh.harvard.edu
Betreff: Re: [Freesurfer] Spearman correlation in FreeSurfer

We don't have a spearman analysis in FS. You can load the data into
matlab and do it, something like

ymri = MRIread('yourdata.mgh');
y = fast_vol2mat(ymri);
% y is now a matrix that is nsubjects by nvertices
% Do spearman analysis on each vertex
sp = yourspearman(y,X); % sp  should be a 1xnvertices matrix
spmri = ymri;
spmri.vol = fast_mat2vol(sp,spmri.volsize);
MRIwrite(spmri,'spearman.mgz');




On 08/05/2016 10:20 AM, martina.papme...@puk.unibe.ch wrote:
> Dear FS experts
>
> I would like to examine associations between cortical thickness and
> sum scores of a scale (ordinal scale). Accordingly, I would need to
> conduct Spearman rather than Pearson correlation analyses. I found the
> following post to this email list, indicating that the GLM model in FS
> is basically a generalization of Pearson:
> https://mail.nmr.mgh.harvard.edu/pipermail/freesurfer/2009-January/009320.html
>
> Since the post is from 2009, I would kindly like to ask if there is
> currently any way to conduct a Spearman correlation based analysis in
> FS or if there will be a way in the near future?
>
> Thank you very much for your kind help!
>
> All best wishes, Martina
>
>
> Psychiatric Services University of Bern (UPD)
> *University Hospital of Psychiatry*
> Division of Systems Neuroscience of Psychopathology
> Translational Research Center
> Dr. Martina Papmeyer, Postdoctoral Fellow
> Bolligenstr. 111, CH-3000 Bern 60
> Tel: ++41 0(31) 930 9599, Fax: ++41 0(31) 930 9961
> Mail: martina.papme...@puk.unibe.ch
> www.puk.unibe.ch
>
>
>
>
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

--
Douglas N. Greve, Ph.D.
MGH-NMR Center
gr...@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422

Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to