
DMT_Imaging: load IRASA EEG regressors for one cortical region
Source:R/entheo_dmt.R
morie_entheo_load_eeg_region.RdR parity of morie.entheo_dmt.load_eeg_region. Reads
RegressorsInterpscrubbedIRASA_<region>.mat and returns the
DMT, PCB, and difference regressor cubes.
Value
named list with elements regDMT, regPCB,
regdiff; each is a 3-D array of shape
(14 subj, 840 TRs, 5 bands).
Examples
# \donttest{
root <- Sys.getenv("MORIE_DMT_IMAGING_ROOT", file.path(morie_cache_dir(), "DMT_Imaging"))
if (dir.exists(root)) {
morie_entheo_load_eeg_region("Frontal")
} else {
message("needs the DMT_Imaging data: git clone https://github.com/timmer500/DMT_Imaging.git ", root)
}
#> needs the DMT_Imaging data: git clone https://github.com/timmer500/DMT_Imaging.git /home/runner/.cache/R/morie/DMT_Imaging
# }