Learn R Programming

icaOcularCorrection (version 3.0.0)

Independent Components Analysis (ICA) based artifact correction.

Description

Removes eye-movement and other types of known (i.e., recorded) or unknown (i.e., not recorded) artifacts using the fastICA package. The correction method proposed in this package is largely based on the method described in on Flexer, Bauer, Pripfl, and Dorffner (2005). The process of correcting electro- and magneto-encephalographic data (EEG/MEG) begins by running function ``icac'', which first performs independent components analysis (ICA) to decompose the data frame into independent components (ICs) using function ``fastICA'' from the package of the same name. It then calculates for each trial the correlation between each IC and each one of the noise signals -- there can be one or more, e.g., vertical and horizontal electro-oculograms (VEOG and HEOG), electro-myograms (EMG), electro-cardiograms (ECG), galvanic skin responses (GSR), and other noise signals. Subsequently, portions of an IC corresponding to trials at which the correlation between it and a noise signal was at or above threshold (set to 0.4 by default; Flexer et al., 2005, p. 1001) are zeroed-out in the source matrix, ``S''. The user can then identify which ICs correlate with the noise signals the most by looking at the summary of the ``icac'' object (using function ``summary.icac''), the scalp topography of the ICs (using function ``topo_ic''), the time courses of the ICs (using functions ``plot_tric'' and ``plot_nic''), and other diagnostic plots. Once these ICs have been identified, they can be completely zeroed-out using function ``update.icac'' and the resulting correction checked using functions ``plot_avgba'' and ``plot_trba''. Some worked-out examples with R code are provided in the package vignette.

Copy Link

Version

Install

install.packages('icaOcularCorrection')

Monthly Downloads

18

Version

3.0.0

License

GPL-2

Maintainer

Antoine Tremblay

Last Published

July 12th, 2013

Functions in icaOcularCorrection (3.0.0)

icac

ICA noise correction.
plot_avgba

Plot the average waveforms at each channel before and after correction.
get.peaks

Get the time value of one or more peaks.
plot_tric

Plot the time course of an independent component at each trial.
mwd.thrsh

Multiple wavelet decomposition thresholding.
topo_ic

Plot the topographic map of an independent component.
summary.icac

Print and/or return the correction summary of an "icac" object.
plot_nic

Plot an independent component with superimposed noise signal at a particular trial.
plot_trba

Plot the corrected and uncorrected time course at a specific channel for each trial.
update.icac

Update the correction performed by function icac.
icaOcularCorrection-package

Independent Components Analysis (ICA) based eye-movement correction (HEOG and VEOG) and correction of other known (i.e., recorded; e.g., ECG, GSR, ...) or unknown (i.e., not recorded) sources of noise.