outlier_rate: outlier rate

View source: R/generics.R

outlier_rateR Documentation

outlier rate

Description

Calculate outlier rate.

Usage

outlier_rate(object, nSD)

## Default S3 method:
outlier_rate(object, nSD = 5)

## S3 method for class 'data.frame'
outlier_rate(object, nSD = 5)

## S3 method for class 'Metabolite'
outlier_rate(object, nSD = 5)

Arguments

object

An object, vector, data.frame, data.table or Metabolite.

nSD

N times of the SD as outliers.

Value

Returns a vector of the outlier rate.

A data.table of outlier rate.

Examples

# for a Metabolite object
data(df_plasma)
v <- outlier_rate(df_plasma)


metabolomicsR documentation built on April 29, 2022, 9:05 a.m.