extractXIC_group2: Extract XICs of chromIndices

Description Usage Arguments Value Author(s) Examples

View source: R/get_peaks_chromatograms.R

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

1
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

1
2
3
4
5
6
7
8
9
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)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.