IEEG (Intracranial Electroencephalography) Epoch Data Tools

Provides tools for working with iEEG matrix data, including downloading curated iEEG data from OSF (The Open Science Framework < https://osf.io/>) (EpochDownloader()), making new objects (Epoch()), processing (crop() and resample()), and visualizing the data (plot()).


Epoch: Epileptogenic Zone Localization Based on neural Fragility EEG marker

R-CMD-check Codecov test coverage

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Epoch")

1.0.7 by Jiefei Wang, 10 months ago


Browse source code at https://github.com/cran/Epoch


Authors: Jiefei Wang [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ggplot2, methods, ramify, TableContainer, glue, osfr, jsonlite, rlang, ggtext, gsignal

Suggests knitr, rmarkdown, testthat

System requirements: GNU make


Depended on by EZFragility.


See at CRAN