plotXICgroup: Plot Extracted-ion chromatogram group.

Description Usage Arguments Value Author(s) Examples

View source: R/visualise_chromatograms.R

Description

Plot Extracted-ion chromatogram group.

Usage

1
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

Examples

1
2
3
4
5
6
7
8
9
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")

DIAlignR documentation built on Nov. 8, 2020, 8:22 p.m.