Description Usage Arguments Examples
View source: R/Spectra_visulization.R
plotSingleTIC is used to plot the TIC of a certain spectra
1 2 3 4 5 6 7 8 | plotSingleTIC(
mSet = NULL,
filename,
imagename,
dpi = 72,
width = 7,
format = "png"
)
|
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) |
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.