PlotSpectraInsensityStistics: PlotSpectraInsensityStistics

Description Usage Arguments Value Examples

View source: R/Spectra_visulization.R

Description

This function is used to do the statistics on the spectra intensity

Usage

1
2
3
4
5
6
7
PlotSpectraInsensityStistics(
  mSet = NULL,
  imgName,
  format = "png",
  dpi = 72,
  width = NA
)

Arguments

mSet

mSet object, usually generated after the peakannotaion finished here.

imgName

Character, to give the name of BPI figures ploted.

format

Character, to give the format of BPI figures ploted. Can be "jpeg", "png", "pdf", "svg", "tiff" or "ps". Default is "png".

dpi

Numeric, to define the dpi of the figures. Default is 72.

width

Numeric, to define the width of the figure. Height = width * 0.618.

Value

will return a figure of spectral peak intensity

Examples

1
2
3
4
5
data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
               full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);
PlotSpectraInsensityStistics(mSet);

xia-lab/OptiLCMS documentation built on Sept. 6, 2021, 12:36 a.m.