calculate_density: peak density

View source: R/ZipMS.R

calculate_densityR Documentation

peak density

Description

calculates peak density in a sliding window of m/z

Usage

calculate_density(peak_data, use_range = NULL, window = 1, delta = 0.1)

Arguments

peak_data

numeric vector of m/z values representing peaks

use_range

the range of m/z's to generate windows

window

how big an m/z window to calculate density

delta

how much to slide the window

Value

data.frame


MoseleyBioinformaticsLab/FTMS.peakCharacterization documentation built on April 27, 2022, 3:32 a.m.