Learn R Programming

NanoStringQCPro (version 1.4.0)

flagSamplesCtrl,RccSet-method: flagSamplesCtrl

Description

Flag samples based on the performance of their controls.

Usage

"flagSamplesCtrl"(rccSet, method = c("cutoffByMMAD", "cutoffByVar"), stringency = 4)

Arguments

rccSet
An RccSet object
method
Character string specifying the method for outlier detection: either "cutoffByMMAD" or "cutoffByVar".
stringency
Numeric value passed to the cutoff function specified by the method argument (see the 'd' argument of cutoffByMMAD and cutoffByVar).

Value

A numeric vector giving the indices of samples with outlier values as described above.

Details

The method and stringency arguments determine a cutoff value used to flag outlier samples based on the interquartile range of negative and positive controls and in the slope of the linear fit of count versus input of positive controls. Outliers will also be flagged if their positive control scaling factor (see posCtrlNorm) is outside the NanoString recommended range (i.e. below 0.3 or greater than 3).