View source: R/ep.eye_setup_proc_config.R
ep.eye_setup_proc_config | R Documentation |
Validates and imports processing configuration options into the environment for later use. Implements default configuration options if missing from YAML.
ep.eye_setup_proc_config(edf_raw, config_path, header = NULL)
config_path |
Path to corresponding .yml configuration file with processing instructions. Instructions on how to effectively set up a configuration file can be found [HERE]. |
file |
Path to the .edf file to process. |
Also generates new log file using sink()
, and sets up a new directory for preprocessed output if it does not already exist.
Nested list with processing options pulled from .yml configuration file.
Nate Hall
importFrom stringr str_extract importFrom yaml read_yaml importFrom nate.utils print_tree
## Not run:
config <- setup_proc_configs("/proj/mnhallqlab/studies/NeuroMAP/s3_data/Neighborhood_PSU/eye/002_HS_Neighborhood_Eye.edf", "/proj/mnhallqlab/studies/NeuroMAP/s3_data_ep_specs/yaml/Neighborhood_PSU.yaml")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.