extractXIC_group: Extract XICs of chromIndices

Description Usage Arguments Value Author(s) Examples

View source: R/get_peaks_chromatograms.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
dataPath <- system.file("extdata", package = "DIAlignR")
mzmlName<-paste0(dataPath,"/mzml/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)

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