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, prefix = 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.

prefix

Optional prefix 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 March 4, 2024, 7:10 p.m.