Learn R Programming

EZFragility (version 1.0.3)

visuIEEGData: Visualization of ictal iEEG

Description

Visualization of ictal iEEG

Usage

visuIEEGData(epoch)

Value

A ggplot object

Arguments

epoch

Matrix or Epoch object. iEEG data matrix or Epoch object. If matrix, the row names are the electrode names and the column names are the time points

Examples

Run this code
data("pt01EcoG")

## Visualize a subject of electrodes
sozIndex <- attr(pt01EcoG, "sozIndex")
display <- c(sozIndex, 77:80)

epoch <- Epoch(pt01EcoG)
visuIEEGData(epoch = epoch[display, ])

Run the code above in your browser using DataLab