GetAvgSpectrum: Get averaged spectrum

Description Usage Arguments Value Examples

Description

Get spectrum averaged (or summed) within RT interval Corresponds to mzAccess web-service API function GetAverageSpectrum Averaging algorithm is vendor specific, therefore function has no cache option

Usage

1
GetAvgSpectrum(FileName, MZLow, MZHigh, RTLow, RTHigh, Profile = FALSE)

Arguments

FileName

- Name of original raw mass spectrometry file. Can be stated with or without path and extention

MZLow

- Minimum m/z value to be included in spectrum

MZHigh

- Maximum m/z value to be included in spectrum

RTLow

- Minimum retention time value for RT range of averaged spectrum

RTHigh

- Maximum retention time value for RT range of averaged spectrum

Profile

- If TRUE data will presented in profile mode how is was acquired by mass spectrometer, If FALSE data will be presented in peak centroided mode

Value

Data frame of Mass and Intensities for requested LC-MS area

Examples

1
GetAvgSpectrum("Thermo_QE_cells_72h_LA_3", MZLow = 50, MZHigh = 400, RTLow = 6, RTHigh = 8, Profile = FALSE)

Yaroslav-Lyutvinskiy/MZAccessR documentation built on May 10, 2019, 12:06 a.m.