getPeaksncGTW {ncGTW} | R Documentation

## Edited XCMS getPeaks for feature-wise warping functions

### Description

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

### Usage

    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.

[Package ncGTW version 1.6.0 Index]