View source: R/MLMSfunctions.R
check_picked_and_vendor_peaks | R Documentation |
check_picked_and_vendor_peaks: function that checks peak times and numbers from vendor table against picked peaks
check_picked_and_vendor_peaks(
vend.df,
int.mat,
time.vec,
z.thresh = 5,
graphLab,
timeThresh = 2,
expPeaks = c(15, 16)
)
vend.df |
dataframe of vendor data |
int.mat |
1-col matrix of intensity values |
time.vec |
numeric vector of time values |
z.thresh |
z-value threshold for ThresholdingAlgo |
graphLab |
label for graph of picked times |
timeThresh |
threshold for time differences between picked and vendor peaks |
expPeaks |
vector containg two values for expected numbers of peaks |
list of 3 elements: [1] dataframe indicating whether the number of peaks in vendor table match number picked; [2] dataframe containing number of vendor peaks and picked peaks; [3] dataframe of peak times for vendor and picked peaks
Usage Example
int.mat<-matrix(v44,ncol=1) # for ThresholdingAlgo
time.vec<-time.s
graphLab<-"170525_NaHCO3 L + NaCl L"
numPeakCheck<-check_picked_and_vendor_peaks(vend1.df,int.mat,time.s,5,graphLab,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.