getOutliers {yaqcaffy} | R Documentation |
This function retrives the outliers fot the different quality control metrics stored in a YAQCStatsObject. Outliers are defined as being outside of the mean +/- 2 stdev range or mean/2, mean*1.5 for the scale factor.
getOutliers(YAQCStatsObject,slot)
YAQCStatsObject |
an object of type "YAQCStats" |
slot |
an object of type string describing the slot for which
the outliers should be retrieved (see details for possible
slot strings)
|
The slot strings that can be used are: begin{description} item[scale factor] "sfs" item[average background] "avbg" item[average noise] "avns" item[percentage present] "pp" item[$β$-actin 3'/5' ratio] "actin" item[GAPDH 3'/5' ratio] "gapdh" item[internal bioB control] "biob" item[internal bioC control] "bioc" item[internal bioD control] "biod" item[Dap spike control] "dap" item[Thr spike control] "thr" item[Phe spike control] "phe" item[Lys spike control] "lys" end{description}
An object of type "numeric"
giving the outliers names and values
Laurent Gatto
## load data library(MAQCsubsetAFX) data(refA) ## create the yaqc object qobj <- yaqc(refA[,3:5]) ## get outliers for the scale factor getOutliers(qobj,"sfs")