View source: R/Spectra_visulization.R
plotTICs | R Documentation |
plotTICs is used to plot the TIC of all files
plotTICs(mSet = NULL, imgName, format = "png", dpi = 72, width = NA)
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) |
will return a figure of TICs
newPath <- dir(system.file("mzData", package = "mtbls2"),
full.names = TRUE, recursive = TRUE)[c(10:12)]
data(mSet)
mSet <- updateRawSpectraPath(mSet, newPath)
plotTICs(mSet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.