binary_peaks: Find binary peaks

Description Usage Arguments

View source: R/preprocess.R

Description

Find peaks in window of size 2*neighbors + 1 and label m/z integers within the error as peaks. Returns vector of peak m/z integers.

Usage

1
binary_peaks(df, neighbors, error = 0)

Arguments

df

Data frame of m/z and intensities

neighbors

Number of neighboring m/z values to compare on right and left

error

m/z Decimal error value


smanchan96/binspec documentation built on May 26, 2017, 12:24 p.m.