View source: R/sample.outliers.R
sample.outliers | R Documentation |
This function takes a matrix of numeric data and counts the number of outlying features each sample has.
sample.outliers(wdata, nsd = 5)
wdata |
a metabolite data matrix with samples in row, metabolites in columns |
nsd |
the number of standard deviation from the mean outliers are identified at. The default value is 5. |
a data frame of outiler counts for each sample
d = sapply(1:5, function(x){ rnorm(50, 50, 15) }) sample.outliers(d, nsd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.