calcPercentAdduct {MassArray} | R Documentation |
Function to calculate ratio of salt adduct peak heights to reference/unmodified peaks
calcPercentAdduct(peaks)
peaks |
List of MassArrayPeak objects comprising complete spectral data |
Salt adducts (either Na or K) are identified and compared to each of their unmodified reference peaks
Returns a list of numerical values corresponding to the ratios of salt adduct peak heights to their unmodified reference peaks
Reid F. Thompson (rthompso@aecom.yu.edu), John M. Greally (jgreally@aecom.yu.edu)
data(MassArray.example.data) adduct.ratios <- calcPercentAdduct(MassArray.example.data$samples[[1]]$peaks) median(adduct.ratios)