exIntensities: exIntensities

exIntensitiesR Documentation

exIntensities

Description

Lightweight variant of multiEIC to extract average in a file, more suitable for large featuretables.

Usage

exIntensities(
  rawfile,
  mz,
  ppm = 5,
  rtw = data.frame(0, 10),
  baselineSubtract = T,
  SN = NULL,
  areaMode = F
)

Arguments

rawfile

an xcmsRaw object

mz

numeric (): m/z values (same length as nrow(rtw)).

ppm

m/z width (+/- ppm from values defined in mz)

rtw

a data.frame with minimum (column 1) and maximum (column 2) retention time values (in seconds) in each row.

baselineSubtract

subtract baseline when calculating intensities

SN

signal to noise ratio. If not NULL, all peaks with max/min peak intensity below this will be reported as intensity 0. Requires Baselinesubstraction to be off.

areaMode

if TRUE, will calculate peak areas rather than mean intensities

Value

numeric vector with intensity values for all features defined by mz and rt in rawfile

Functions

  • exIntensities: extract intensities base function


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