Learn R Programming

PKbioanalysis (version 0.5.0)

.filter_peak: Filter peaks to specific RT range

Description

Filter peaks to specific RT range

Usage

.filter_peak(
  chrom_res,
  transition_id,
  samples_ids = NULL,
  peak_start,
  peak_end,
  smoothed = FALSE
)

Value

Dataframe with RT, intensity and sample_id

Arguments

chrom_res

ChromRes object

transition_id

Transition ID

samples_ids

Sample ID. If NULL, all samples will be used

peak_start

Minimum RT value. If NULL, all RT values will be used

peak_end

Maximum RT value. If NULL, all RT values will be used

smoothed

Logical. If TRUE, use smoothed chromatogram. Default is FALSE