calcPercentAdduct {MassArray}R Documentation

Calculate percent salt adducts

Description

Function to calculate ratio of salt adduct peak heights to reference/unmodified peaks

Usage

calcPercentAdduct(peaks)

Arguments

peaks

List of MassArrayPeak objects comprising complete spectral data

Details

Salt adducts (either Na or K) are identified and compared to each of their unmodified reference peaks

Value

Returns a list of numerical values corresponding to the ratios of salt adduct peak heights to their unmodified reference peaks

Author(s)

Reid F. Thompson (rthompso@aecom.yu.edu), John M. Greally (jgreally@aecom.yu.edu)

Examples

data(MassArray.example.data)
adduct.ratios <- calcPercentAdduct(MassArray.example.data$samples[[1]]$peaks)
median(adduct.ratios)

[Package MassArray version 1.45.0 Index]