calculateIntensity: Calculates area of a peak in XIC group

View source: R/peak_area.R

calculateIntensityR Documentation

Calculates area of a peak in XIC group

Description

Retention time from reference run is mapped to experiment run using AlignObj.

Usage

calculateIntensity(XICs, left, right, params)

Arguments

XICs

(list) list of extracted ion chromatograms of a precursor.

left

(numeric) left boundary of the peak.

right

(numeric) right boundary of the peak.

params

(list) parameters are entered as list. Output of the paramsDIAlignR function.

Value

area (numeric)

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-04-13

See Also

areaIntegrator, setAlignmentRank

Examples

data(XIC_QFNNTDIVLLEDFQK_3_DIAlignR, package="DIAlignR")
XICs <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]]
## Not run: 
calculateIntensity(XICs, 5220, 5261, integrationType = "intensity_sum",
 baselineType = "base_to_base", fitEMG = FALSE)

## End(Not run)

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