extractXIC_group: Extract XICs of chromIndices

View source: R/get_peaks_chromatograms.R

extractXIC_groupR Documentation

Extract XICs of chromIndices

Description

Extracts XICs using mz object. Each chromatogram represents a transition of precursor.

Usage

extractXIC_group(mz, chromIndices)

Arguments

mz

(mzRpwiz object)

chromIndices

(vector of Integers) Indices of chromatograms to be extracted.

Value

A list of data-frames. Each data frame has elution time and intensity of fragment-ion XIC.

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")
mzmlName<-paste0(dataPath,"/xics/hroest_K120809_Strep10%PlasmaBiolRepl2_R04_SW_filt.chrom.mzML")
mz <- mzR::openMSfile(mzmlName, backend = "pwiz")
chromIndices <- c(37L, 38L, 39L, 40L, 41L, 42L)
## Not run: 
XIC_group <- extractXIC_group(mz, chromIndices)

## End(Not run)

shubham1637/DIAlign documentation built on March 27, 2023, 7:12 a.m.