This function generates a bar plot showing the median of mass accuracy (ppm) for each sample.
It also provides the option to convert the plot into an interactive plotly object.
uplot_ppm_avg(df, cex.axis = 12, cex.lab = 15, plotly = FALSE, ...)A ggplot object or a plotly object depending on the plotly argument.
A data frame containing the data. The columns ppm (ppm values) and file_id
(sample identifiers) should be present in the data.
Numeric. Size of axis text (default is 1).
Numeric. Size of axis labels (default is 1.4).
Logical. If TRUE, return interactive plotly object.
Additional arguments passed to methods.