filter_column_missing_rate: filter columns using missing rate

View source: R/generics.R

filter_column_missing_rateR Documentation

filter columns using missing rate

Description

Remove columns below a specific missing rate threshold.

Usage

filter_column_missing_rate(object, threshold, verbose)

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

## S3 method for class 'Metabolite'
filter_column_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.

Value

An object after filtering column missing rate.

Examples

data(df_plasma)
d <- filter_column_missing_rate(df_plasma)


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