eicMatFromList: A helper function to interpolate a list of EIC's into a...

Description Usage Arguments Details Value

View source: R/warpgroupTools.R

Description

eicMatFromList returns an array containing each EIC's resulting intensity, retention time, and scan.

Usage

1
2
eicMatFromList(eic.l, eic.resample.target = Inf, upsample.force = F,
  smooth.n = 1, normalize = T)

Arguments

eic.l

A list of matrices respresnting EICs. Each matrix has rows "rt", "intensity", and "scan"

eic.resample.target

Numeric. If less than one the resulting EICs will be of length max*length.target. If greater than 1 resulting EICs will be of length length.target. If Inf resulting EICs will be of length max.

upsample.force

Boolean. Must be true for resulting EICs to be of length > max.

smooth.n

Integer. The number of points to include in the moving average.

normalize

Boolean. If T all EICs will be normalized to 1.0

Details

This function takes a list of EIC's (intensities, retention times, and indices for each scan) and interpolates them such that they are the same length and normalizes the intensities to 1.

Value

An array containing each EIC's resulting intensity, retention time, and scan.


nathaniel-mahieu/warpgroup documentation built on May 23, 2019, 12:19 p.m.