Scripting Fibers FC Figure

Is there an easy way to build a fibers figure through scripting? I can’t seem to make it work. The FC matrices have already been computed.

Yes, you need to:

  1. Import the fibers tracks for the same anatomy in which the FC matrix (Scouts-x-Scouts) was computed
  2. Just call the view_connect function:
% Fibers file path
FibersFiles = 'whole_brain_MNI_3k.trk';

% Correlation Scouts-x-Scouts Desikan-Killiany, for the GroupAnalysis Subject
CorrFile = 'Group_analysis/S01_AEF_20131218_01_600Hz_notch/timefreq_connectn_corr_260318_1529.mat';

% 1. Import fibers in Default Anatomy, that is the one used by the GroupAnalysis Subject
[iNewFibers, OutputFiles, nFibers] = import_fibers(0, FibersFiles, 'TRK', 100, 'TRK');

% 2. Show connectivity file in fibers
view_connect(CorrFile, 'Fibers');

More info in here:
https://neuroimage.usc.edu/brainstorm/Tutorials/FiberConnectivity