Description Usage Arguments See Also
View source: R/pointsAdducts.R
On a mass spectrum plot (from an msimat object), plot points representing
either parental or adduct masses as an overlay. By default only those flagged
as having statistically significant spatial correlation will be plotted. The
massdiff object should have been processed with adductMatch
and
corrPairsMSI
to annotate with adduct matches and correlation
test results.
1 2 |
d |
msimat; Object of class msimat created by function
|
diff |
data.frame; Mass difference correlation table produced by
function |
which |
string; Either plot "parent" or "adduct" peaks as overlay |
invert |
logical; Overlay the points which are NOT adducts |
signif |
logical; Only plot points which have statistically significant correlation |
pch |
Plot character to use, passed to |
cex |
Character expansion parameter, passed to |
col |
Color for overlay points, passed to |
... |
Other parameters to pass to |
corrPairsMSI
calculate correlations for mass pairs
massdiff
tabulate all possible mass pairs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.