reduceXICs: Subset an XIC file

View source: R/reduce_files.R

reduceXICsR Documentation

Subset an XIC file

Description

Create a sqMass file that has chromatograms for given native IDs.

Usage

reduceXICs(nativeIDs, xicFileIn, xicFileOut)

Arguments

nativeIDs

(integer) transition IDs to be kept.

xicFileIn

(character) name to the current file.

xicFileOut

(character) name of the new file.

Value

(None)

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2022) + GPL-3 Date: 2022-04-19

See Also

createSqMass, getNativeIDs

Examples

dataPath <- system.file("extdata", package = "DIAlignR")
oswIn <- file.path(dataPath, "osw", "merged.osw")
params <- paramsDIAlignR()
params[["context"]] <- "experiment-wide"
ids <- getNativeIDs(oswIn, 1338L, params)
xicFileIn <- file.path(dataPath, "xics", "hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt.chrom.sqMass")
reduceXICs(ids, xicFileIn, xicFileOut = "temp.chrom.sqMass")
file.remove("temp.chrom.sqMass")

shubham1637/DIAlign documentation built on March 27, 2023, 7:12 a.m.