View source: R/MLMSfunctions.R
build_expected_times | R Documentation |
build_expected_times: function to build expected times data for reference and sample peaks
build_expected_times(ref.ind, sample.ind, avgs.df)
ref.ind |
numeric vector containing the indices of reference peaks in avgs.df |
sample.ind |
numeric vector containing the indices of sample peaks in avgs.df |
avgs.df |
dataframe of average values for peaks times |
list of 2 elements: first for reference peaks expected times and the second for sample peaks
Usage Example
refPk.vec<-c(1,2,4,5,16)
samplePk.vec<-c(3,6,7:15)
pkAvg.df<-average_times(peaks15.list,15)
expTimes.list<-build_expected_times(ref.ind,sample.ind,avgs.df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.