-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain_createFigures.m
68 lines (43 loc) · 976 Bytes
/
main_createFigures.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
% This script generates figures from the manuscript titled:
%
%%%%% Measuring brain beats: cardiac-aligned fast fMRI signals %%%%%
% Dora Hermes, Hua Wu, Adam Kerr, Brian Wandell
%
%% Check whether required paths are added
% check for SPM
try spm('Defaults','fmri')
catch ME
switch ME.identifier
case 'MATLAB:UndefinedFunction'
warning('Add SPM12 to path (DO NOT USE genpath)');
end
end
if ~exist('vistaRootPath.m','file')
warning('Add vistasoft to Matlab path');
end
try bids.bids_matlab_version
catch ME
switch ME.identifier
case 'MATLAB:undefinedVarOrClass'
warning('Add bids_matlab to Matlab path');
end
end
[~,dDir] = bbPath;
%%
bb01_Method_Fig1
%%
bb02_OverlayR2Anat_Fig2
%%
bb02_OverlayR2MNI_Fig2J
%%
bb03_CheckSignalSign_Fig3BC
%%
bb03_DKTatlasRender_Fig3D_Fig4
%%
bb05_SVD_AllSubs_Fig5_SuppFig4
%%
bb07_peaktimeMNI_Fig6
%%
bb08_peaktimeSubs_Fig7_Fig8
%%
bb09_restingStatefMRI_Fig9