peakFunction: peakFunction

View source: R/Functions_extract_EICs.R

peakFunctionR Documentation

peakFunction

Description

Function to represent a peak in peakFitter

Usage

peakFunction(x, theta)

Arguments

x

numeric vector

theta

a numeric(4), see details

Details

:

  • theta[1]: numeric value of the expected/initial position of the peak apex (in range of x)

  • theta[2]: numeric value of the expected/initial peak width. Should not be 0!

  • theta[3]: y-scale factor

  • theta[4]: shift along y-axis

Value

a series of values approximately representing a peak shape along x


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.