Description Usage Arguments Details Value Author(s) References Examples
View source: R/addOutlierInfo.R
This function adds a column to a dataframe of metabolite abundance values indicating whether a observations for a specific metabolite are outliers.
1 | addOutlierInfo(metab.col, in.data, outlier.sd.thresh=2)
|
metab.col |
A character value indicating the name of the variable in the input data set that corresponds to metabolite abundance. |
in.data |
A data frame containing the variables specified in metab.col. |
outlier.sd.thresh |
The number of standard deviations from the mean a point must be to be considered an outlier. This argument defaults to 2. |
This function adds a column to a dataframe of metabolite abundance values indicating whether a observations for a specific metabolite are outliers.
Returns a dataframe.
Michael Nodzenski
Nodzenski M, Muehlbauer MJ, Bain JR, Reisetter AC, Lowe WL Jr, Scholtens DM. Metabomxtr: an R package for mixture-model analysis of non-targeted metabolomics data. Bioinformatics. 2014 Nov 15;30(22):3287-8.
1 2 3 | data(euMetabCData)
outlier.data<-addOutlierInfo("pyruvic_acid", euMetabCData, outlier.sd.thresh=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.