integrate.peak.region: Integrate a variable in peaks or regions

integrate.peak.regionR Documentation

Integrate a variable in peaks or regions

Description

Compute the sum of some electrophoresis variable between the boundaries of reported peaks or regions in an electrophoresis object.

Usage

integrate.peak(
  electrophoresis,
  index = seq(nrow(electrophoresis$peaks)),
  sum.variable = "molarity"
)

integrate.region(
  electrophoresis,
  index = seq(nrow(electrophoresis$regions)),
  sum.variable = "molarity"
)

Arguments

electrophoresis

An electrophoresis object.

index

The index, or a vector of indexes, of the peaks or regions to integrate (row numbers in electrophoresis$peaks or electrophoresis$regions).

sum.variable

Which variable to sum in each peak.

See Also

integrate.custom


jwfoley/bioanalyzeR documentation built on Aug. 1, 2023, 4:46 a.m.