plotXICgroup: Plot Extracted-ion chromatogram group.

View source: R/visualise_chromatograms.R

plotXICgroupR Documentation

Plot Extracted-ion chromatogram group.

Description

Plot Extracted-ion chromatogram group.

Usage

plotXICgroup(XIC_group, peakAnnot = NULL, Title = NULL)

Arguments

XIC_group

(list) It is a list of dataframe which has two columns. First column is for time and second column indicates intensity.

peakAnnot

(numeric) Peak-apex time.

Title

(logical) TRUE: name of the list will be displayed as title.

Value

A plot to the current device.

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2019) + GPL-3 Date: 2019-12-13

See Also

plotAnalyteXICs

Examples

dataPath <- system.file("extdata", package = "DIAlignR")
runs <- c("hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt",
 "hroest_K120809_Strep10%PlasmaBiolRepl2_R04_SW_filt")
XICs <- getXICs(analytes = 4618L, runs = runs, dataPath = dataPath, oswMerged = TRUE)
plotXICgroup(XICs[["hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]])
XICs <- smoothXICs(XICs[["hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]],
  type = "sgolay", kernelLen = 13, polyOrd = 4)
plotXICgroup(XICs, Title = "Precursor 4618 \n
 run hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt")

shubham1637/DIAlignR documentation built on March 29, 2023, 8:45 p.m.