A basic R package for processing and plotting EEG data
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R downsampling code slightly simplified Jan 16, 2019
data-raw website update, channel info overhauled, epoching moved to separate file Dec 17, 2018
data work on CSD and SSD Aug 29, 2018
docs website updated Jan 15, 2019
man
tests downsampling simplified Jan 16, 2019
vignettes website update, channel info overhauled, epoching moved to separate file Dec 17, 2018
.Rbuildignore Add new generic for getting events structure Dec 10, 2018
.gitignore added a vignette, updated docs Feb 26, 2018
.travis.yml changes to travis.ci config Nov 28, 2018
DESCRIPTION changed psd defaults Jan 13, 2019
LICENSE Improved documentation Oct 23, 2017
NAMESPACE changed psd defaults Jan 13, 2019
NEWS.md
README.md website updated Jan 15, 2019
_pkgdown.yml website updated Dec 10, 2018
appveyor.yml shifted class related functions Dec 10, 2018
codecov.yml add codecov(type = "all") Nov 29, 2018
codemeta.json Add new generic for getting events structure Dec 10, 2018
eegUtils.Rproj Basic topography plotting function Mar 18, 2017

README.md

eegUtils 0.3.0

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Coverage Status Build Status AppVeyor build status DOI

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/.

Pre-processing functions

  • import_raw() - for import of BDF/EDF (BioSemi/European Data Format) and .CNT (Neuroscan) EEG files
  • import_set() - for import of EEGLAB .set files.
  • eeg_filter() - for performing IIR or FIR filtering on data
  • reref_eeg() - for re-referencing data
  • epoch_data() - for creating epochs around trigger events
  • tag_events() - for labelling events
  • interp_elecs() - spherical spline interpolation of EEG channels
  • eeg_downsample() - filter and downsample data to a lower sampling rate.
  • eeg_FASTER() - automatic artefact rejection algorithm for epoched data
  • run_ICA() - decompose your data using an ICA algorithm such as SOBI or Infomax

Plotting functions

  • topoplot() - plotting of topographies
  • plot_timecourse()/plot_butterfly() - plotting individual timecourses from electrodes or plotting all electrodes at once
  • erp_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.