plotAlignedAnalytes {DIAlignR}R Documentation

Plot aligned XICs group for a specific peptide. AlignObjOutput is the output from getAlignObjs fucntion.

Description

Plot aligned XICs group for a specific peptide. AlignObjOutput is the output from getAlignObjs fucntion.

Usage

plotAlignedAnalytes(AlignObjOutput, plotType = "All",
  DrawAlignR = FALSE, annotatePeak = FALSE, saveFigs = FALSE)

Arguments

AlignObjOutput

(list) The list contains AlignObj, raw XICs for reference and experiment, and reference-peak label.

plotType

This must be one of the strings "All", "onlyUnaligned" and "onlyAligned".

DrawAlignR

(logical) TRUE: ggplot objects will be returned.

annotatePeak

(logical) TRUE: Peak boundaries and apex will be highlighted.

saveFigs

(logical) TRUE: Figures will be saved in AlignedAnalytes.pdf .

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

dataPath <- system.file("extdata", package = "DIAlignR")
runs <- c("hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt",
 "hroest_K120809_Strep10%PlasmaBiolRepl2_R04_SW_filt")
AlignObjOutput <- getAlignObjs(analytes = "QFNNTDIVLLEDFQK_3", runs, dataPath = dataPath)
plotAlignedAnalytes(AlignObjOutput)

[Package DIAlignR version 0.99.12 Index]