remove_peaks_interval: Remove interval of peaks

Description Usage Arguments Value Examples

Description

Removes peaks from a given interval.

Usage

1
remove_peaks_interval(sample.df, peak.val.min, peak.val.max)

Arguments

sample.df

data frame with the samples' peaks.

peak.val.min

minimum peak value.

peak.val.max

maximum peak value.

Value

Returns a data frame with the filtered samples' peaks.

Examples

1
2
3
4
  ## Example of removing a interval of peaks
  library(specmine.datasets)
  data(propolisSampleList)
  samples.df = remove_peaks_interval(propolisSampleList[[1]], 2, 8.05)

specmine documentation built on Sept. 21, 2021, 5:06 p.m.