Open dipterix opened 5 years ago
# Skip the first two commands if you already have rave version ">= 0.1.5.0046"
# Use rave::rave_version() to check current version
# Update RAVE:
devtools::install_github('beauchamplab/rave')
# Install rstudioapi if you don't have it, use rutabaga:::package_installed('rstudioapi')
install.packages('rstudioapi')
# Load preprocessing script
fpath = system.file('utils/preprocessing_no_gui.R', package = 'rave')
rstudioapi::documentNew(text = paste(readLines(fpath), collapse = '\n'), type = 'r')
Then a demo preprocessing script is created for you.
One advantage of
RAVE
preprocessing pipeline is that it moves "referencing" part to the main application. Instead of reference first and then wavelet,RAVE
wavelet and then reference. (Mathematically and numerically they produce exactly the same result).In
RAVE
, preprocessing pipeline has four sections:Because there is no reference before wavelet. You just need to do wavelet once.
I wrote a script for you in case you want to run in command lines.