ep.eye_process_subject: Read and process a single .edf file.

View source: R/ep.eye_process_subject.R

ep.eye_process_subjectR Documentation

Read and process a single .edf file.

Description

This is the main worker function that processes a single subject through the ep.eye preprocessing pipeline. It takes as arguments the paths to an .edf file and corresponding configuration YAML file and exports a preprocessed ep.eye object for a single subject.

Usage

ep.eye_process_subject(file, config_path, ...)

Arguments

file

Path to the .edf file to process.

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].

...

Optional arguments to pass to read_edf.R function.

Details

This function is ideally used within the ep_batch_process_eye.R

Value

A fully processed ep.eye object. [DETAILS HERE]

Author(s)

Nate Hall

Examples

 ## Not run: 
   file <- "/proj/mnhallqlab/studies/NeuroMAP/s3_data/Neighborhood_PSU/Eye/004_AZ_Neighborhood_Eye.edf"
   config_path <- "/proj/mnhallqlab/studies/NeuroMAP/s3_data_ep_specs/yaml/Neighborhood_PSU.yaml"
   ep.eye <- read_process_eye(file, config_path)
 
## End(Not run)

PennStateDEPENdLab/experiment.pipeline documentation built on April 14, 2024, 9:37 p.m.