ep.eye_check_requested_msg: Compare requested (from config) and extracted (from...

View source: R/ep.eye_parse_events_helpers.R

ep.eye_check_requested_msgR Documentation

Compare requested (from config) and extracted (from ep.eye$raw) messages for completeness within a single event

Description

Compare requested (from config) and extracted (from ep.eye$raw) messages for completeness within a single event

Usage

ep.eye_check_requested_msg(ep.eye, msg_seq, eventnum)

Arguments

ep.eye

ep.eye object that has been previously initialized and tidied

msg_seq

List of optional message sequence arguments passed in config file. Can contain msg_start, msg_end, eval_middle, ordered. See the ep.eye_config vignette for details on these fields.

eventnum

numeric value of the event number to check

Value

df a data.frame with columns c("requested", "match", and "extracted") which provide a mapping between all messages that should be within a given event and the actual message that is extracted from the .edf file. all(match) == TRUE indicates that all requested messages are contained within the et.msgs in the .edf file (good thing).

Author(s)

Nate Hall


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