Learn R Programming

specmine (version 3.1.6)

remove_peaks_interval_sample_list: Remove interval of peaks (sample list)

Description

Removes peaks on a sample list given a peak interval.

Usage

remove_peaks_interval_sample_list(sample.list, peak.val.min, 
peak.val.max)

Arguments

sample.list

list of data frames with the samples' peaks.

peak.val.min

minimum peak value.

peak.val.max

maximum peak value.

Value

Returns the sample list with the filtered peaks.

Examples

Run this code
# NOT RUN {
  ## Example of removing a interval of peaks in a sample list
  library(specmine.datasets)
  data(propolisSampleList)
  samples.list = remove_peaks_interval_sample_list(propolisSampleList, 2, 8.05)
# }

Run the code above in your browser using DataLab