Skip to contents

R parity of morie.entheo_dmt.dynamic_functional_connectivity. For an AAL-parcellated BOLD matrix of shape (n_regions, n_TRs), computes the upper-triangular Pearson correlation matrix in each sliding window of window TRs advanced by step TRs. Mirrors the dRSFC.m Matlab script in DMT_Imaging/Scripts/.

Usage

morie_entheo_dynamic_functional_connectivity(bold, window = 30L, step = 5L)

Arguments

bold

numeric matrix (n_regions, n_TRs).

window

integer window length (TRs). Default 30.

step

integer window stride (TRs). Default 5.

Value

RichResult-style named list with per-window mean / std of the upper-triangular correlation vector.

References

Allen, E. A. et al. (2014). Tracking whole-brain connectivity dynamics in the resting state. Cereb. Cortex 24(3): 663-676.