Learn R Programming

MetaboAnalystR (version 2.0.0)

CleanData: 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.