Before preprocessing it is advised to check the data for failed samples.
This function allows to visualize the signals and return sample indices of failed samples.
Usage
check_raw(raw, plot = TRUE, thresh = 0, ...)
Arguments
raw
Matrix with raw data.
Two consecutive columns per sample.
The order (e.g. green,red) must be consistent for all samples.