Some utilities for plotting and processing of EEG data in R. The package is in the early stages of development, and may be subject to a lot of changes.
Use devtools::install_github('craddm/eegUtils') to install it.
An introduction to its use can be found at the eegUtils website https://craddm.github.io/eegUtils/.
import_raw()
- for import of BDF/EDF (BioSemi/European Data Format) and .CNT (Neuroscan) EEG filesimport_set()
- for import of EEGLAB .set files.iir_filter()
- for performing IIR Butterworth filtering on data (FIR filtering in development)reref_eeg()
- for re-referencing dataepoch_data()
- for creating epochs around trigger eventstag_events()
- for labelling events interp_elecs()
- spherical spline interpolation of EEG channelseeg_downsample()
- filter and downsample data to a lower sampling rate.eeg_FASTER()
- automatic artefact rejection algorithm for epoched datarun_ICA()
- decompose your data using an ICA algorithm such as SOBI or Infomaxtopoplot()
- plotting of topographies plot_timecourse()
/plot_butterfly()
- plotting individual timecourses from electrodes or plotting all electrodes at onceerp_scalp()
- plotting ERP plots for individual electrodes in a topographical layout - thanks to Matti Vuorre!interactive_scalp()
- a Shiny version of erp_scalp() that allows you to zoom in on specific electrodes.browse_data()
- a Shiny gadget for interactively scrolling through EEG data (continous or epoched).erp_raster()
- plot an ERP raster, showin the ERP for every channel as a single image.erp_image()
- plot an ERP image from a single electrode.plot_psd()
- plot the Power Spectral Density of an eeg_data
or eeg_epochs
object.as.data.frame()
methods exist for eeg_data
and eeg_epochs
objects, so you can convert your data to a data frame for use with whatever analysis method you like.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.