Creates a histogram of mass accuracy values (ppm). Includes summary statistics (median, 2.5% and 97.5% quantiles). Follows general uplot behavior:
returns a ggplot2 object by default
converts to plotly only if plotly = TRUE
uses caption-style UME logo
uplot_freq_ma(
mfd,
ma_col = "ppm",
col = "grey",
gg_size = 12,
logo = TRUE,
plotly = FALSE,
...
)ggplot2 object, or plotly object if plotly = TRUE.
data.table with molecular formula data as derived from
ume::assign_formulas. Column names of elements/isotopes must match names in
the isotope column of ume::masses; values are integers representing
counts per formula.
Character string. Column name containing mass accuracy values.
Histogram fill color.
Base text size for theme_uplots(). Default = 12.
Logical. If TRUE, adds a UME caption.
Logical. If TRUE, return interactive plotly object.
Additional arguments passed to methods.
Other plots:
uplot_cluster(),
uplot_cvm(),
uplot_dbe_minus_o_freq(),
uplot_dbe_vs_c(),
uplot_freq_vs_ppm(),
uplot_hc_vs_m(),
uplot_heteroatoms(),
uplot_isotope_precision(),
uplot_kmd(),
uplot_lcms(),
uplot_ma_vs_mz(),
uplot_ms(),
uplot_n_mf_per_sample(),
uplot_pca(),
uplot_ratios(),
uplot_reproducibility(),
uplot_ri_vs_sample(),
uplot_vk()