-
Notifications
You must be signed in to change notification settings - Fork 2
/
fp_motorImag_main.m
29 lines (22 loc) · 964 Bytes
/
fp_motorImag_main.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
%Analysis flow of motor imagery experiment.
%preprocessing
fp_preprocess
%% Analysis of power and linear FC (measured by MIM), as published in Pellegrini 2023 Neuroimage paper
%source projection, aggregation within regions, calculating power and
%testing it statistically
fp_powertest_MI
%functional connectivity calculation and t-testing between two conditions
fp_fc_ttest
%functional connectivity shuffling test
fp_prepare_nsg_submission
%The following fun is run on the nsg cluster. It calls fp_fc_shuffletest.
fp_submit_fc_shuffletest_nsg
%Plot shuffletest results
fp_plot_fc_shuffletest
%% Analysis of phase-amplitude coupling between precentral and postcentral cortices using bispectra
%prepare submission of pac shuffling test
fp_prepare_nsg_submission_pac
%The following fun is run on the nsg cluster. It calls fp_pac_shuffletest.
fp_submit_pac_shuffletest_nsg
%Plot pac shuffletest results. It calls fp_plot_rdefig
fp_plot_pac_shuffletest