Learn R Programming

xcms (version 1.48.0)

plotRaw-methods: Scatterplot of raw data points

Description

Produce a scatterplot showing raw data point location in retention time and m/z. This plot is more useful for centroided data than continuum data.

Arguments

object
the xcmsRaw object
mzrange
numeric vector of length >= 2 whose range will be used to select the masses to plot
rtrange
numeric vector of length >= 2 whose range will be used to select the retention times to plot
scanrange
numeric vector of length >= 2 whose range will be used to select scans to plot
log
logical, log transform intensity
title
main title of the plot

Value

A matrix with the points plotted.

Methods

object = "xcmsRaw"
plotRaw(object, mzrange = numeric(), rtrange = numeric(), scanrange = numeric(), log=FALSE, title='Raw Data')

See Also

xcmsRaw-class