check_raw: Check raw data

Description Usage Arguments Value Examples

Description

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

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

plot

Logical. If TRUE data will be plotted.

thresh

Threshold for filtering.

...

arguments are forwarded to hist().

Value

Vector containing Samples below threshold.

Examples

1
2
3
4
if(require(brassicaData)){
data("raw_napus", package = "brassicaData", envir = environment())
to_filter <- check_raw(raw_napus, thresh = 28000, breaks = 20)
}

grafab/gsrc documentation built on May 17, 2019, 8:18 a.m.