Checks the correlation between individual components of an eeg_ICA
decomposition and the electrooculogram channels of an eeg_epochs
dataset.
ar_eogcor(decomp, data, ...)
# S3 method for eeg_ICA
ar_eogcor(
decomp,
data,
HEOG,
VEOG,
threshold = NULL,
plot = TRUE,
bipolarize = TRUE,
...
)
ICA decomposition
Original data
Other parameters
Horizontal eye channels
Vertical eye channels
Threshold for correlation (r). Defaults to NULL, automatically determining a threshold.
Plot correlation coefficient for all components
Bipolarize the HEOG and VEOG channels?
A character vector of component names that break the threshold.
eeg_ICA
: Method for eeg_ICA objects.
Chaumon, M., Bishop, D.V., Busch, N.A. (2015). A practical guide to the selection of independent components of the electroencephalogram for artifact correction. J Neurosci Methods. Jul 30;250:47-63. doi: 10.1016/j.jneumeth.2015.02.025