plotSingleTIC: plotSingleTIC

Description Usage Arguments Examples

View source: R/Spectra_visulization.R

Description

plotSingleTIC is used to plot the TIC of a certain spectra

Usage

1
2
3
4
5
6
7
8
plotSingleTIC(
  mSet = NULL,
  filename,
  imagename,
  dpi = 72,
  width = 7,
  format = "png"
)

Arguments

mSet

mSet Object, should be processed by ImportMSData.

filename

Character, to give the filename for the TIC plotting.

imagename

Character, to give the filename of the TIC plotted. (only works for web version)

Examples

1
2
3
4
5
6
7
library(OptiLCMS)
data(mSet);
newPath <- dir(system.file("mzData", package = "mtbls2"),
               full.names = TRUE, recursive = TRUE)[c(10, 11, 12)]
mSet <- updateRawSpectraPath(mSet, newPath);
plotSingleTIC(mSet, "MSpos-Ex2-Col0-48h-Ag-2_1-A,3_01_9829.mzData", 
              "MSpos-Ex2-Col0-48h-Ag-2_1-A,3_01_9829.png")

Zhiqiang-PANG/OptiLCMS_web documentation built on May 1, 2021, 6:58 a.m.