init_eyelog: Initializes .elog

View source: R/init_log.R

init_eyelogR Documentation

Initializes .elog

Description

.elog files uses sink() to create a .txt file which will store eye-specific messages about how QA checks are going.

Usage

init_eyelog(file, log_dir = NULL, id = NULL)

Arguments

file

Path to the .edf file to process.

log_dir

Path to directory to store .elog. If NULL (default) will write to current directory.

id

Optional id to append to .elog name.

Value

Nested list with processing options pulled from .yml configuration file.

Note

Initially, my thought is to create .blog and .plog files for behavior and physio respectively and eventually write a separate function (or set of functions) that searches through logs and documents how certain checks went in a more succinct format (e.g. a .csv with subjects on rows and stages of QA on columns). A report can then be generated to either verify folks that look fine or to draw attention to problematic data.

Author(s)

Nate Hall


PennStateDEPENdLab/experiment_pipeline documentation built on Nov. 27, 2024, 4:56 a.m.