Calculates the Pearson correlation coefficient between all channel pairs.
Usage
correlationMatrix(
x,
channels = NULL,
method = c("pearson", "spearman", "kendall"),
assay_name = NULL
)Value
A numeric correlation matrix (channel x channel) with values ranging from -1 to 1. Row and column names are set to channel names when available.
See also
coherence() for frequency-domain coherence, plv() for
phase-based connectivity, connectivityMatrix() for a unified
connectivity interface.