High-level function to compute connectivity using various metrics.
Usage
connectivityMatrix(
x,
method = c("coherence", "plv", "pli", "wpli", "correlation"),
freq_band = NULL,
channels = NULL,
assay_name = NULL
)Value
A numeric matrix (channel x channel) of connectivity values.
For "coherence", returns the mean coherence across frequencies.
For phase-based methods ("plv", "pli", "wpli"), returns
values between 0 and 1. For "correlation", returns values between
-1 and 1.
References
Lachaux, J.-P., et al. (1999). "Measuring phase synchrony in brain signals." Human Brain Mapping, 8(4), 194-208. doi:10.1002/(SICI)1097-0193(1999)8:4<194::AID-HBM4>3.0.CO;2-C
See also
coherence(), plv(), pli(), wPLI(),
correlationMatrix() for individual connectivity methods.