Thanks Chris, this looks interesting and useful. I just tried
|P = cell(1, 2); T = cell(1, 2); for z = 1:2 P{z} = rand(31, 1) * 0.075; T{z} = rand(31, 1) * 5 - 3; end freesurfer_statsurf_p(P, T, 'dkt'); and got the error: Undefined function 'freesurfer_read_annot' for input arguments of type 'char'. Error in freesurfer_statsurf_loadsurfaces (line 59) [~, AnnotLabel{HemiIDX}, AnnotTable{HemiIDX}] = freesurfer_read_annot(fullfile(FreesurferSubjectsDir, 'fsaverage', 'label', [Hemi '.' LabelName '.annot'])); Error in freesurfer_statsurf_checkargs (line 104) [FSAverageV, FSAverageF, ValueVertexIDX, RGB] = freesurfer_statsurf_loadsurfaces(SurfType, FreesurferSeedType); Error in freesurfer_statsurf_p (line 45) [GroupLabels, ... anything I'm doing wrong? Welcome to the fun world of supporting software you provide for free! doug |
On 09/12/2017 05:31 AM, Chris Adamson wrote:
Freesurfer users,
I just wanted to advertise a set of display tools that I wrote for easy display, in MATLAB, of regional stats like p-values/effect sizes/arbitrary scalars with customisable masks for aparc, dkt, aparc.a2009s.
https://chrisadamsonmcri.github.io/freesurfer_statsurf_display
I hope people find it useful.
Chris.
This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer