plotMSfeature: plotMSfeature

View source: R/Spectra_visulization.R

plotMSfeatureR Documentation

plotMSfeature

Description

plotMSfeature is used to plot the feature intensity of different groups

Usage

plotMSfeature(mSet = NULL, FeatureNM = 1, dpi = 72, format = "png", width = NA)

Arguments

mSet

mSet Object, should be processed aby 'PerformPeakProfiling'.

FeatureNM

Numeric, feature number in the feature table.

dpi

Numeric, to define the dpi of the figures. Default is 72. (only works for web version)

format

Character, to give the format of BPI figures ploted. Can be "jpeg", "png", "pdf", "svg", "tiff" or "ps". Default is "png". (only works for web version)

width

Numeric, width of the figure (default is NA, usually set it as 6~12)

Value

will return a figure of ms stats

Examples

data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
               full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);
plotMSfeature (mSet, 1); # Here is only one group

xia-lab/OptiLCMS documentation built on Nov. 26, 2024, 3:50 a.m.