Coder Social home page Coder Social logo

dipterix / rave Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beauchamplab/rave

0.0 0.0 0.0 32.48 MB

R Analysis and Visualization of ECOG Data

Home Page: https://openwetware.org/wiki/Beauchamp:RAVE

R 95.47% CSS 1.45% JavaScript 2.50% HTML 0.53% Shell 0.05%

rave's Introduction

RAVE

R Analysis and Visualization of intracranial Electroencephalography

Installation

  • RAVE requires the installation of the language "R" and other miscellaneous programming tools, including "RStudio". Please click here for the prerequisite installation guide to install all needed tools for your operating system.

  • RAVE runs best on modern computers with multicore CPUs, click here for suggested system configurations.

  • After the prerequisites are installed, open R-Studio (in Mac OSX, Rstudio icon is installed in your Applications folder). Copy and paste the following commands into the RStudio console to download the current version of RAVE. The commands must be typed one at a time. If packages need to be installed, you may accept the defaults by typing "Yes" to any questions that appear. In the case of errors, relaunch RStudio and repeat the commands or try the alternative installation command.

# Install RAVE and builtin modules
install.packages('devtools')
devtools::install_github('dipterix/threeBrain')
devtools::install_github('dipterix/rutabaga')
devtools::install_github('beauchamplab/ravebuiltins')
devtools::install_github('beauchamplab/[email protected]')

Alternative installation command:

install.packages('pak')
pak::pkg_install('dipterix/threeBrain')
pak::pkg_install('dipterix/rutabaga')
pak::pkg_install('beauchamplab/ravebuiltins')
pak::pkg_install('beauchamplab/[email protected]')
  • After installing or updating RAVE, quit and restart RStudio before continuing.

Download Demo Data

  • If you do not have any data in RAVE format, we recommend you download some sample data. Copy and paste the following commands into the RStudio console:
# load RAVE functions 
library(rave)
# download a demo subject ~ 400MB of data
download_subject_data('https://s3-us-west-2.amazonaws.com/rave-demo-subject/sfn-demo/data-large.zip')

Once you see the folowing message, the subject is downloaded. The directory (XXX) will vary depending on the machine.

[ INFO ]: Expanding zip file
[ INFO ]: Copy from tempdir to data repository
[ INFO ]: Clean up
[ INFO ]: Done. Subject [sub1] is now at 
[Raw Data]: /XXX/rave_data/raw_dir/sub1
[RAVE Data]: /XXX/rave_data/raw_dir/demo

Start RAVE

  • To start RAVE, copy and paste the following commands into the RStudio console:
# Launch main app
rave::start_rave()

Using Rave

  • For tutorials on how to use RAVE, click here

  • To preprocess data, copy and paste the following commands into the RStudio console:

# Preprocess
rave::rave_preprocess()

rave's People

Contributors

beauchamplab avatar dipterix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.