outlyx | R Documentation |
Seeks to identify outliers based on multiple (currently 2) outlier detection methods for methylumi
and minfi
packaged objects.
outlyx(x, iqr=TRUE, iqrP=2, pc=1,
mv=TRUE, mvP=0.15, plot=TRUE, ...)
x |
A |
iqr |
If TRUE, the outliers based on interquartile ranges will be determined |
iqrP |
The number of interquartile ranges outliers are to be identified from designated principle component. |
pc |
Desired principal component for outlier identification - only used if other principal components want to be discriminated, only used for IQR outlier detection. |
mv |
If TRUE, the outliers will detected using |
mvP |
Arbitrary cut-off point for identifying outliers via |
plot |
If TRUE, alongside regular output, a plot will be constructed displaying relative 'location' of each sample. Outliers are those that fall within the highlighted regions. |
... |
Additional arguments passed to |
Returns a dataframe of TRUE/FALSE per sample where TRUE is outlying. Dataframe contains 3 columns, the first column (iqr) denotes samples which are outlying according to IQR on Principal component 1, the second column (mv) denotes outliers according to mahalanobis distances. And the third column (outliers) denotes samples that are TRUE in the first two columns.
May perform poorly on normalized data
Tyler Gorrie-Stone - tgorri@essex.ac.uk
library(wateRmelon)
data(melon)
outliers <- outlyx(melon,iqr=TRUE, iqrP=2, pc=1,
mv=TRUE, mvP=0.15, plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.