Generates mass-error plot for CoreMS output data
mass_error_plot(
cmsObj,
min_conf = NULL,
title = NULL,
xlabel = "Mass to charge ratio (m/z)",
ylabel = "Mass error (ppm)",
xrange = NULL,
yrange = NULL,
color_pal = NULL,
log_color_scale = FALSE
)
a data.frame of MS data with columns containing calculated m/z, mass error (ppm), and file names, the output of function read_CoreMS_data
a numeric value between 0 and 1 specifying a minimum confidence threshold to apply to the dataset. Peaks with confidence scores lower than the threshold will be omitted from the plot.
a character string specifying the plot title
a character string specifying the x-axis label
a character string specifying the y-axis label
a numerical vector of length 2 specifying the x-axis range
a numerical vector of length 2 specifying the y-axis range
has not yet been implemented
logical, if TRUE, color scale will be log-transformed. Defaults to FALSE.
plotly object