View source: R/MLMSfunctions.R
| qc_samplePeaks | R Documentation |
qc_samplePeaks: function that tests whether the expected number of sample peaks are present and whether they occur at the expected times
qc_samplePeaks(
intensity.mat,
time.interval,
expectedNum.samplePeaks,
expectedStartSamples,
samplePeakTimes,
label
)
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() |
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
Usage Example
qc_samplePeaks(intensity.mat=v44Int.mat,time.interval=above_below.t,expectedNum.samplePeaks=9,
expectedStartSamples=start.v1[7:15],samplePeakTimes=peakTimes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.