This function generates a plot of mass-to-charge ratio (m/z) against retention time (rt) for a
mass_dataset object. The plot can be either a hexbin plot or a scatter plot based on the
show_mz_rt_plot(object, hex = FALSE)
mass_dataset object for which the mz-rt plot is to be generated.
Logical. If TRUE, a hexbin plot is generated; otherwise, a scatter plot is generated. Default is FALSE.
A ggplot object representing the mz-rt plot.