Learn R Programming

SIM (version 1.42.0)

plotTIC: Plotting TIC of one run

Description

This function can be used to plot the total ion chromatogram (TIC) profile of a run, showing the accumulated measurements for all fragments versus time. The run can be optianed by getPeak.

Usage

plotTIC(Run = list(), file.name = character())

Arguments

Run
a list inclduing the information of all detected peaks in one run.
file.name
a character vector (string) of names of the runs which is used to name the figure file when saving, if the Run is provided, this argument is ignored.

Value

  • A logical value which is TRUE if the resulted plot is saved

Details

This function plots the TIC profile of one run. The run information can be obtained using getPeak finction. The TIC is the sum of the intensities from all masses at each scan. If argument Run is provided, the funtion plots the TIC for that run. If a list of file names is provided, the function saves a corresponding plot for each run with the related name.

References

http://omics.georgetown.edu/SIMAT.html

See Also

plotEIC

Examples

Run this code
# load an RData file including a single run data acquired by readCDF
    data("Run")
    
    # plot TIC of the run
    plotTIC(Run = Run)

Run the code above in your browser using DataLab