outlierDetection: Create a histogram and note number of outliers for a quick QC...

Description Usage Arguments Value

View source: R/lookForOutliers.R

Description

Create a histogram and note number of outliers for a quick QC report

Usage

1
outlierDetection(df, sigmas, groupVar)

Arguments

df

A data frame in long format, organized as QuANTs-style output: variable of interest in a column called "value", a column called "measure" for labeling

sigmas

The number of standard deviations away from the mean you want to consider "normal"

groupVar

Column name you want to group outliers by (common uses: label, ID, and/or MRIDate)

Value

A list object with object "histogram" which displays a histogram of all included data, with the outliers highlighted Also returns a dataframe with the number of outliers per value specified in groupVar


caugolm/quants_qc_stats documentation built on Nov. 22, 2020, 4:26 p.m.