Learn R Programming

baitmet (version 1.0.1)

plotMZ: Plotting compounds selected masses

Description

Plots the chromatophic profiles of the masses (selective) for each compound.

Usage

plotMZ(Experiment, AlignId, mz.ind=1, per.class=T, aligned=FALSE, xlim=NULL)

Arguments

Experiment

A 'MetaboSet' S4 object containing the experiment after the masses have been quantified by quantSM() function.

AlignId

the Id identificator for the compound to be shown.

mz.ind

Integer. the -th selective mass, the 1 (st) selective mass, the 2 (nd) selective mass, etc..

per.class

logical. if TRUE the profiles are shown one color per class, if FALSE one color per sample.

aligned

logical. if TRUE the profiles (masses) are shown aligned for a better visual comparison, if FALSE they are shown as they are.

xlim

x axsis (retention time) limits (see plot.default).

See Also

mzList, quantSM