plotTICs: plotTICs

View source: R/Spectra_visulization.R

plotTICsR Documentation

plotTICs

Description

plotTICs is used to plot the TIC of all files

Usage

plotTICs(mSet = NULL, imgName, format = "png", dpi = 72, width = NA)

Arguments

mSet

mSet Object, should be processed by ImportMSData.

imgName

Character, to name the imgName for the TIC plotting.

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)

dpi

Numeric, to define the dpi of the figures. Default is 72. (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 TICs

Examples

newPath <- dir(system.file("mzData", package = "mtbls2"), 
full.names = TRUE, recursive = TRUE)[c(10:12)]
data(mSet)
mSet <- updateRawSpectraPath(mSet, newPath)
plotTICs(mSet)

xia-lab/OptiLCMS documentation built on Nov. 6, 2024, 11:01 a.m.