interpol.area: Interpolate missing intensities and calculate the area for a...

View source: R/interpol.area.R

interpol.areaR Documentation

Interpolate missing intensities and calculate the area for a single EIC.

Description

This is an internal function that's not supposed to be called directly by the user.

Usage

interpol.area(x, y, all.x, all.w)

Arguments

x

the positions of x(retention time) where non-NA y is observed.

y

the observed intensities.

all.x

all possible x(retention time) in the LCMS profile.

all.w

the "footprint" of each measured retention time, used as weight for the corresponding y.

Details

This is an internal function. It interpolates missing y using linear interpolation, and then calculates the area under the curve.

Value

The area is returned.

Author(s)

Tianwei Yu <tyu8@emory.edu>


yufree/apLCMS documentation built on May 19, 2024, 1:22 p.m.