[Freesurfer] Convert ascii to .mgh

2016-06-15 Thread Robby De Pauw
Robby From: on behalf of Douglas Greve Reply-To: "freesurfer@nmr.mgh.harvard.edu" Date: Wednesday 15 June 2016 at 17:43 To: "freesurfer@nmr.mgh.harvard.edu" Subject: Re: [Freesurfer] Convert ascii to .mgh I would do it in matlab, eg, F = MRIread('F.mgh')

Re: [Freesurfer] Convert ascii to .mgh

2016-06-15 Thread Douglas Greve
I would do it in matlab, eg, F = MRIread('F.mgh'); % This is to get the proper header information lfdr = load('lfdr.asc'); F.vol = fast_mat2vol(lfdr,F.volsize); MRIwrite(F,'lfdr.mgh'); On 6/15/16 4:45 AM, Robby De Pauw wrote: Dear FreeSurfer users, To address the problem of multiple compar

[Freesurfer] Convert ascii to .mgh

2016-06-15 Thread Robby De Pauw
Dear FreeSurfer users, To address the problem of multiple comparison, I wanted to apply the localfdr-method. For this purpose, I need the F-statistic (which I can extract from the F.mgh scalar overlay I presume?). I converted this to an ascii-file, which I was able to load into R, using the fo