Skip to contents

Data

Example datasets bundled with dynR.

ts
BOLD fMRI timeseries (200 parcels, 600 timepoints)
fc
Functional connectivity matrix (200 parcels)

Signal preprocessing

Filter and prepare BOLD timeseries prior to dynFC analysis.

bandpass_filter()
Butterworth bandpass filter

Phase-based methods

Instantaneous phase extraction, phase-locking, and Kuramoto order parameter.

hilbert_phases()
Hilbert transform phase extraction
dyn_phase_lock()
Dynamic phase-locking matrix (dPL)
get_leida()
Leading eigenvector decomposition (LEiDA)
kuramoto()
Kuramoto order parameter and metastability

Correlation-based methods

Sliding-window FC and edge-centric cofluctuation.

corr_slide()
Sliding window correlation
cofluct()
Edge-centric cofluctuation analysis
corr_corr()
Correlation of correlations matrix

Utilities

Entropy and distance helpers.

shannon_entropy()
Shannon entropy
do_euclid()
Euclidean distance between consecutive points