extractXIC_group {DIAlignR} | R Documentation

## Extract XICs of all transitions requested in chromIndices.

### Description

Extracts XICs using mz object. Generally Savitzky–Golay filter is used, however, filter can be turned-off as well.

### 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,"/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)

[Package DIAlignR version 0.99.12 Index]