Learn R Programming

MMDiff (version 1.8.0)

findOutliers: Find peaks with extreme count values

Description

findOutliers uses the function boxplot to determine outlier peaks with extreme high total counts in each sample.

Usage

findOutliers(DBA, range = 20, draw.on=TRUE)

Arguments

DBA
DBA object, after running getPeakProfiles.
range
This parameter specifies what is classified as an outlier. Non-outliers extend to the most extreme data point which is no more than 'range' times the inter-quartile range from the box in boxplot. (In the function boxplot, range determines how far the plot whiskers extend out from the box.
draw.on
If TRUE, histograms and box plots are plotted for quality control.

Value

DBA object, with additional list element Filter added to MD.

See Also

getPeakProfiles, boxplot

Examples

Run this code
data(Cfp1Profiles)
Cfp1 <- findOutliers(Cfp1Profiles, range=20)
Filter <- Cfp1$MD$Filter


Cfp1Strict <- findOutliers(Cfp1Profiles, range=10)
OutlierPeakIDs <- Cfp1Strict$MD$Filter$HighPeakIds

Run the code above in your browser using DataLab