extractXIC_group2: Extract XICs of chromIndices

View source: R/get_peaks_chromatograms.R

extractXIC_group2R 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)

shubham1637/DIAlignR documentation built on March 29, 2023, 8:45 p.m.