View source: R/uplot_ma_vs_mz.R
| uplot_ma_vs_mz | R Documentation |
Generates a UME-style scatter plot showing mass accuracy (ppm)
versus mass-to-charge ratio (m/z).
Summary statistics (median, 2.5% and 97.5% quantiles) are displayed as horizontal reference lines and an annotation panel.
The plot is returned as a ggplot2 object by default, with optional plotly conversion for interactivity.
uplot_ma_vs_mz(mfd, ma_col = "ppm", logo = FALSE, plotly = FALSE, ...)
mfd |
data.table with molecular formula data as derived from
|
ma_col |
Character. Column containing mass accuracy (ppm). |
logo |
Logical. If TRUE, adds a UME caption. |
plotly |
Logical. If TRUE, return interactive plotly object. |
... |
Additional arguments passed to methods. |
A ggplot or plotly object.
Other plots:
uplot_cluster(),
uplot_cvm(),
uplot_dbe_minus_o_freq(),
uplot_dbe_vs_c(),
uplot_freq_ma(),
uplot_freq_vs_ppm(),
uplot_hc_vs_m(),
uplot_heteroatoms(),
uplot_isotope_precision(),
uplot_kmd(),
uplot_lcms(),
uplot_ms(),
uplot_n_mf_per_sample(),
uplot_pca(),
uplot_ratios(),
uplot_reproducibility(),
uplot_ri_vs_sample(),
uplot_vk()
uplot_ma_vs_mz(mf_data_demo, ma_col = "ppm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.