Automatically identifies artifact ICA components using statistical criteria.
Usage
classifyICAComponents(
x,
method = c("autocorrelation", "kurtosis", "frequency"),
eog_channels = NULL,
threshold = NULL
)Arguments
- x
A PhysioExperiment object with ICA decomposition (from
icaDecompose).- method
Classification method: "autocorrelation", "kurtosis", or "frequency".
- eog_channels
Integer vector of EOG channel indices for correlation-based detection. If provided, also computes EOG correlation scores.
- threshold
Classification threshold. If NULL, uses method-specific defaults: autocorrelation=0.9, kurtosis=3.0, frequency=0.5.