CleanData: Perform data cleaning

View source: R/general_misc_utils.R

CleanDataR Documentation

Perform data cleaning

Description

Cleans data and removes -Inf, Inf, NA, negative and 0s.

Usage

CleanData(bdata, removeNA = T, removeNeg = T, removeConst = T)

Arguments

bdata

Input data to clean

removeNA

Logical, T to remove NAs, F to not.

removeNeg

Logical, T to remove negative numbers, F to not.

removeConst

Logical, T to remove samples/features with 0s, F to not.

Author(s)

Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.