Convenience wrapper that computes a symmetric n_channels x n_channels connectivity matrix using the specified method. Dispatches to the appropriate connectivity function and returns a named matrix suitable for visualization or graph-theoretic analysis.
Arguments
- x
A PhysioExperiment object with EEG data (2D: time x channels).
- method
Connectivity method:
"coherence"for magnitude-squared coherence,"plv"for Phase Locking Value,"wpli"for weighted Phase Lag Index, or the directed measures"dtf"(eegDTF()) and"pdc"(eegPDC()) (default:"coherence"). For"dtf"and"pdc"the returned matrix is directed (rows = targets, columns = sources).- band
Numeric vector of length 2 specifying the frequency band in Hz (default:
c(8, 13)for alpha band).- ...
Additional arguments passed to the underlying connectivity function (e.g.,
window_sec,overlap).
Value
A named numeric matrix of dimension n_channels x n_channels with channel labels as row and column names. Diagonal elements are 1. Off-diagonal elements represent the band-averaged connectivity between channel pairs.