You'll have to use read_surf.m to read in the fsaverage surface. The surface will neighbor info

On 2/13/2020 1:51 PM, Mcnorgan, Christopher wrote:

        External Email - Use Caution        

I’m interested in working with data mapped to the .sphere icosohedrons. I understand from a response from Doug back in 2017 that:
   waveforms = fast_vol2mat(MRIread('waveform.nii.gz'));
will give me a v x time matrix of values from my functional values.
In the case of fsaverage, I believe I can expect somewhere around 160K rows, 1 per vertex, for each hemisphere.
I was wondering how I might be able to determine the neighbors (i.e., vertices connected by an edge) for any vertex v?

Thanks,
Chris

/**********************************************
* Chris McNorgan
* Assistant Professor
* Department of Psychology
* University at Buffalo, 
* The State University of New York
http://ccnlab.buffalo.edu/
* Office: 716.645.0236
* Lab: 716.645.0222
**********************************************/


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