extractXIC_group2 {DIAlignR} | R Documentation

## Extract XICs of chromIndices

### Description

DATA_TYPE is one of 0 = mz, 1 = intensity, 2 = rt Extracts XICs using connection to sqMass file Each chromatogram represents a transition of precursor.

### Usage

    extractXIC_group2(con, chromIndices)

### Arguments

`chromIndices` | (vector of Integers) Indices of chromatograms to be extracted.
`mz` | (SQLiteConnection object)

### 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 (2020) + GPL-3 Date: 2020-12-25

### Examples

    dataPath <- system.file("extdata", package = "DIAlignR")
    sqName <- paste0(dataPath,"/xics/hroest_K120809_Strep10%PlasmaBiolRepl2_R04_SW_filt.chrom.sqMass")
    chromIndices <- c(36L, 37L, 38L, 39L, 40L, 41L)
    ## Not run:
    con <- DBI::dbConnect(RSQLite::SQLite(), dbname = sqName)
    XIC_group <- extractXIC_group2(con, chromIndices)
    DBI::dbDisconnect(con)

    ## End(Not run)

[Package DIAlignR version 2.2.0 Index]