filter_row_missing_rate: filter rows using missing rate

View source: R/generics.R

filter_row_missing_rateR Documentation

filter rows using missing rate

Description

Remove samples below a specific missing rate threshold.

Usage

filter_row_missing_rate(object, threshold, verbose)

## Default S3 method:
filter_row_missing_rate(object, threshold = 0.5, verbose = TRUE)

## S3 method for class 'Metabolite'
filter_row_missing_rate(object, threshold = 0.5, verbose = TRUE)

Arguments

object

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

threshold

missing rate threshold, default is 0.5. Other values: 0.2, 0.8.

verbose

print log information.

Examples

data(df_plasma)
v <- filter_row_missing_rate(df_plasma)


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