Learn R Programming

xcms (version 1.48.0)

getSpec-methods: Get average m/z and intensity values for multiple mass scans

Description

Return full-resolution averaged data from multiple mass scans.

Arguments

object
the xcmsRaw object
...
arguments passed to profRange used to sepecify the spectral segments of interest for averaging

Value

A matrix with two columns:
mz
m/z values
intensity
intensity values

Methods

object = "xcmsRaw"
getSpec(object, ...)

Details

Based on the mass points from the spectra selected, a master unique list of masses is generated. Every spectra is interpolated at those masses and then averaged.

See Also

xcmsRaw-class, profRange, getScan