Description Usage Arguments Details Value
View source: R/countPeaksFromDiff.R
Adduct matching with adductMatch
or visualizing the massdiff
histogram with hist.massdiff
will give an overview of the
number of ion pairs corresponding to transformations of interest. However,
this does not directly indicate the number of actual ions that participate in
the transformations, because a given ion can participate in multiple
transformations either as parent or adduct.
1 | countPeaksFromDiff(diff, which = c("adduct", "parent"))
|
diff |
Object of class massdiff that has been annotated with adduct
types by |
which |
Whether to enumerate putative adducts or parent ions |
This function takes an annotated massdiff result, where adducts of interest have already been matched to the mass difference values, and tabulates the numbers of parent or adduct ions per adduct type. The total may sum to more than 100 chemical transformation.
data.frame with number of peaks corresponding to each putative chemical transformation type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.