build_expected_times: build_expected_times: function to build expected times data...

View source: R/MLMSfunctions.R

build_expected_timesR Documentation

build_expected_times: function to build expected times data for reference and sample peaks

Description

build_expected_times: function to build expected times data for reference and sample peaks

Usage

build_expected_times(ref.ind, sample.ind, avgs.df)

Arguments

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

Value

list of 2 elements: first for reference peaks expected times and the second for sample peaks

Examples

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)

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