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.papmeyer@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.ht...
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.Papmeyer@puk.unibe.ch www.puk.unibe.ch
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer