Learn R Programming

enviGCMS (version 0.5.7)

getmdh: Get the high order unit based Mass Defect

Description

Get the high order unit based Mass Defect

Usage

getmdh(mz, cus = c("CH2,H2"), method = "round")

Arguments

mz

numeric vector for exact mass

cus

chemical formula or reaction

method

you could use `round`, `floor` or `ceiling`

Value

high order Mass Defect with details

Examples

Run this code
# NOT RUN {
getmdh(getmass('C2H4'))
# }

Run the code above in your browser using DataLab