browse_data: Browse EEG data.

View source: R/data_viewers.R

browse_dataR Documentation

Browse EEG data.

Description

A Shiny gadget for browsing EEG data and ICA decompositions interactively. With EEG data (epoched or continuous), data can be viewed as a butterfly plot (all electrodes overlaid) or as individual traces (electrodes "stacked"). Currently, the scale cannot be manually set and is determined by the range of the viewable data. With

Usage

browse_data(data, ...)

## S3 method for class 'eeg_ICA'
browse_data(data, ...)

## S3 method for class 'eeg_data'
browse_data(data, sig_length = 5, n_elecs = NULL, downsample = TRUE, ...)

## S3 method for class 'eeg_epochs'
browse_data(data, sig_length = 5, n_elecs = NULL, downsample = FALSE, ...)

Arguments

data

eeg_data, eeg_epochs, or eeg_ICA object to be plotted.

...

Other parameters passed to browsing functions.

sig_length

Length of signal to be plotted initially (seconds if continuous, epochs if epoched).

n_elecs

Number of electrodes to be plotted on a single screen. (not yet implemented)

downsample

Only works on eeg_data or eeg_epochs objects. Reduces size of data by only plotting every 4th point, speeding up plotting considerably. Defaults to TRUE for eeg_data, FALSE for eeg_epochs

Methods (by class)

  • eeg_ICA: View eeg_ICA component properties

  • eeg_data: Browse continuous EEG data.

  • eeg_epochs: Browse epoched EEG data.

Author(s)

Matt Craddock matt@mattcraddock.com


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.