iso_ratio_similarity: iso_ratio_similarity: function that checks whether isotope...

View source: R/MLMSfunctions.R

iso_ratio_similarityR Documentation

iso_ratio_similarity: function that checks whether isotope ratios are within similarity criteria for specific peaks

Description

iso_ratio_similarity: function that checks whether isotope ratios are within similarity criteria for specific peaks

Usage

iso_ratio_similarity(vend.df, peakNr.vec, sdC.thresh = 0.1, sdO.thresh = 0.1)

Arguments

vend.df

dataframe of vendor table data

peakNr.vec

vector of peak numbers to be analyzed

sdC.thresh

threshold for the standard deviation of d13C/12C (default=0.1)

sdO.thresh

threshold for the standard deviation of d18O/16O (default=0.1)

Value

list with boolean values if ratios are within thresholds and the standard deviation values

Examples

Usage Example
refIsoRatios<-iso_ratio_similarity(vi.df,c(1,2,4,5,16),sdC.thresh=0.1,sdO.thresh=0.1)

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