qc_samplePeaks: qc_samplePeaks: function that tests whether the expected...

View source: R/MLMSfunctions.R

qc_samplePeaksR Documentation

qc_samplePeaks: function that tests whether the expected number of sample peaks are present and whether they occur at the expected times

Description

qc_samplePeaks: function that tests whether the expected number of sample peaks are present and whether they occur at the expected times

Usage

qc_samplePeaks(
  intensity.mat,
  time.interval,
  expectedNum.samplePeaks,
  expectedStartSamples,
  samplePeakTimes,
  label
)

Arguments

intensity.mat

matrix of intensity values for the desired interval

time.interval

numeric vector of time values for the desired interval

expectedNum.samplePeaks

number of expected sample peaks

expectedStartSamples

numeric vector of expected start times

samplePeakTimes

numeric vector of times that sample peaks occur, such as that returned by PeakTimes()

Value

Boolean dataframe with columns "Expected_Number_Sample_Peaks" and "Expected_Start_Times" which indicate whether the expected number of sample peaks and expected start times are found

Examples

Usage Example
qc_samplePeaks(intensity.mat=v44Int.mat,time.interval=above_below.t,expectedNum.samplePeaks=9,
                expectedStartSamples=start.v1[7:15],samplePeakTimes=peakTimes)

lilyacb/MLMS documentation built on July 21, 2023, 4:12 a.m.