This repository contains code snippets to perform iEEG
(intracranial electroencephalography) analysis with RAVE framework code. RAVE provides powerful graphical user interface (GUI). However, there are more you can do without GUI. This repository is designed for RAVE users who want to do something that hasn't been integrated into RAVE's GUI
Most scripts in this repository can be directly sourced into R
. [This example] provides documentation on how to run the snippet.
You can download the snippets, un-comment the code that declares the global variables, then run the script just like any other R script.
Use built-in function raveio::load_snippet
fun <- raveio::load_snippet("dummy-snippet")
# print function to show documentation
fun
# Call snippet as function
fun("My inputs")
- Download this repository in zip file
- Open file
rave-gists.Rproj
using RStudio - Run the following command to restore the developing environment
# similar to conda/venv in R
install.packages("renv")
# Download and install packages to current project
renv::restore()
# Finalize installation
ravemanager::finalize_installation()
# Ensure python for RAVE (optional but recommended)
rpymat:::ensure_rpymat()
An isolated RAVE will be downloaded and installed on your project folder.