logTrans: log transform peak table

Description Usage Arguments Value

Description

log transform zero filled peak table to correct for multiplicative noise.

Usage

1
logTrans(peakTable = NULL, obsNames = NULL, base = exp(1))

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.

base

the base with respect to which logarithms are computed log. Defaults to e=exp(1)

Value

a data frame identical to peakTable with observations log transformed.


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