getScan-methods: Get m/z and intensity values for a single mass scan

Description Arguments Value Methods See Also

Description

Return the data from a single mass scan using the numeric index of the scan as a reference.

Arguments

object

the xcmsRaw object

scan

integer index of scan. if negative, the index numbered from the end

mzrange

limit data points returned to those between in the range, range(mzrange)

Value

A matrix with two columns:

mz

m/z values

intensity

intensity values

Methods

object = "xcmsRaw"

getScan(object, scan, mzrange = numeric()) getMsnScan(object, scan, mzrange = numeric())

See Also

xcmsRaw-class, getSpec


yclement/xcms documentation built on April 10, 2020, 12:08 a.m.