Learn R Programming

Epoch: Epileptogenic Zone Localization Based on neural Fragility EEG marker

Install Package

To install this package, run

remotes::install_github("Jiefei-Wang/Epoch")

Use

This package provides a downloader for downloading example data

dl <- EpochDownloader()

Use $ or [[ to get a single file, or [ to get a list of files

epoch <- dl[[1]]

The downloader does not create a permanent copy of the data, so you must save the Epoch object if you want to use it later

Epoch

You can access the Epoch data using tblData, the column, row, and object meta using colData, rowData, and metaData respectively.

tblData(epoch)
colData(epoch)
rowData(epoch)
metaData(epoch)

You can subset the epoch object using the [ operator.

epoch[1:10, 1:10]

You can also use crop to crop the data by time (in seconds)

crop(epoch, from = -10, to = 10)

For more information, see the package vignette.

Copy Link

Version

Install

install.packages('Epoch')

Version

1.0.3

License

GPL (>= 3)

Maintainer

Jiefei Wang

Last Published

September 3rd, 2025

Functions in Epoch (1.0.3)

coltimes

Obtain the time points for the Epoch matrix
.standardizeIEEG

Standardize iEEG row data for plotting
crop

Methods for Epoch class
dim,Epoch-method

Wrapper functions for calling TableContainer methods
Epoch

Constructor for Epoch class
EpochDownloader

EpochDownloader constructor
get_config_data

Get configuration data from remote URL
Epoch-class

Epoch Class
.checkIndex

Check and keep valid index only
EpochDownloader-class

EpochDownloader
resample

Generic function for resampling objects
plot,Epoch,missing-method

Plot method for Epoch objects
show,Epoch-method

Print the Epoch Object