get_bathresh: Get BeadArray control outcomes from a matrix of metric...

View source: R/bacontrol_format.R

get_bathreshR Documentation

Get BeadArray control outcomes from a matrix of metric signals

Description

Apply BeadArray thresholds to determine passing and failing samples. This function takes a matrix of signals and performs controls using minimum signal thresholds from the BeadArray Controls Reporter Software Guide ewastools.

Usage

get_bathresh(rm, pass.lab = "PASS", fail.lab = "FAIL")

Arguments

rm

BeadArray signals returned by 'bactrl()' (matrix, rows = samples, cols = metrics).

pass.lab

Label for passing samples ("PASS", chracter).

fail.lab

Label for failing samples ("FAIL", chracter).

Value

Matrix of threshold assessments, either 'FAIL' or 'PASS', of same dimensions as input matrix.

See Also

bactrl


metamaden/recountmethylation.pipeline documentation built on Dec. 15, 2022, 2:25 a.m.