Export voltage (analog trace) diagnostic plots for each electrode
Source:R/export-plots.R
export_diagnose_voltage.Rd
You must import subject through rave_preprocess()
and
then run this function
Usage
export_diagnose_voltage(
subject,
electrodes,
blocks,
save_dir = "./export",
width = 12,
height = 7,
useDingbats = FALSE,
onefile = TRUE,
winlen,
freq_lim,
nclass = 50,
fore_col = "black",
back_col = "grey80",
...
)
Arguments
- subject
character with the following format:
"project_name/subject_code"
- electrodes
a integer vector. For example:
c(1,3,4,10:15)
- blocks
the blocks to include. Default is all blocks of this subject
- save_dir
the directory you want to save the files
- width, height, useDingbats
passed to
pdf
- onefile
collect images within one file?
- winlen
window length, default is twice of the subject sampling rate
- freq_lim
default is half of voltage sampling rate
- nclass
number of classes in histogram plot, default is 50
- fore_col
Periodogram color for Notch filtered signals
- back_col
Periodogram color for raw signals
- ...
All other parameters passed to
pdf