blobXICs: Format XICs to blob

Description Usage Arguments Details Value Author(s) Examples

View source: R/sqMass.R

Description

Format XICs to blob

Usage

1
blobXICs(XICs, nativeIds, lossy = TRUE)

Arguments

XICs

(list) a list of data-frames. Each data frame has elution time and intensity of fragment-ion XIC.

lossy

(logical) if TRUE, time and intensity are lossy-compressed.

nativeId

(integer) transition ID of the xic.

Details

DATA_TYPE is one of 0 = mz, 1 = intensity, 2 = rt
COMPRESSION is one of 0 = no, 1 = zlib, 2 = np-linear, 3 = np-slof, 4 = np-pic, 5 = np-linear + zlib, 6 = np-slof + zlib, 7 = np-pic + zlib

Value

(data.frame)

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2021) + GPL-3 Date: 2021-01-16

Examples

1
2
3
4
5
6
7
data(XIC_QFNNTDIVLLEDFQK_3_DIAlignR)
XICs <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120808_Strep10%PlasmaBiolRepl1_R03_SW_filt"]][["4618"]]
nativeIds <- 27706:27711
## Not run: 
blobXICs(XICs, nativeIds)

## End(Not run)

Roestlab/DIAlignR documentation built on March 3, 2021, 9:09 a.m.