Learn R Programming

xcms (version 1.48.0)

rawMat-methods: Get a raw data matrix

Description

Returns a matrix with columns for time, m/z, and intensity that represents the raw data from a chromatography mass spectrometry experiment.

Arguments

object
The container of the raw data
mzrange
Subset by m/z range
rtrange
Subset by retention time range
scanrange
Subset by scan index range
log
Whether to log transform the intensities

Value

A numeric matrix with three columns: time, mz and intensity.

Methods

object = "xcmsRaw"
rawMat(object, mzrange = numeric(), rtrange = numeric(), scanrange = numeric(), log=FALSE)

See Also

plotRaw for plotting the raw intensities