zeroFill: zero fill peak table

Description Usage Arguments Value

Description

identify and replace zero/ missing values (NA) in peak table with half the mimimum non-zero observed value.

Usage

1
zeroFill(peakTable = NULL, obsNames = NULL, value = NULL)

Arguments

peakTable

either a data.frame, full file path as a character string to a .csv file of a peak table in the form observation (samples) in columns and variables (Mass spectral signals) in rows. If argument is not supplied a GUI file selection window will open and a .csv file can be selected.

obsNames

character vector of observation (i.e. sample/ QC/ Blank) names to identify appropriate observation (sample) columns.

value

numeric value to fill zero/ missing values (NA). By default half the mimimum non-zero observed peak intensity is used.

Value

a data frame identical to peakTable with zero/ NAs filled with half the mimimum non-zero observed value.


WMBEdmands/MetMSLine documentation built on May 9, 2019, 10:03 p.m.