getPeaksncGTW: Edited XCMS getPeaks for feature-wise warping functions

Description Usage Arguments Details Value

View source: R/XCMSedited.R

Description

This function is edited from getPeaks-methods to accept feature-wise warping functions.

Usage

1
getPeaksncGTW(object, peakrange, step = 0.1, naidx)

Arguments

object

An xcmsRaw-class object.

peakrange

matrix with 4 required columns "mzmin", "mzmax", "rtmin" and "rtmax".

step

numeric(1) defining the bin size for the profile matrix generation.

naidx

A vector contains the sample indexes need to be filled.

Details

This function is for parallelly filling missing peaks with feature-wise warping functions. The original code function in getPeaks-methods can only handle sample-wise warping functions.

Value

A list of sameple index vector and filled peak matrix.


ChiungTingWu/ncGTW documentation built on Dec. 30, 2019, 10:12 p.m.