Hi Bronwyn,
sure, it should be easy to do in matlab. If the array is called pvals and it is from the left hemi, you would do:
save_mgh(pvals, 'lh.pvals.mgz', eye(4), [0 0 0 0]);
cheers Bruce
On Tue, 1 Dec 2015, Bronwyn Overs wrote:
Hi Freesurfer mailing list,
Using an external software package we have completed of analysis for the vtx-wise thickness data extracted from freesurfer. We now have a p-value array containing one value for each vtx, and we would like to map this back onto the brain surface. Is there a way to create a .mgh overlay from our array of p-values using fsaverage as the subject?