This function generates a scatter plot of Double Bond Equivalent (DBE) versus the number of oxygen atoms (o).
It allows for optional customization of colors based on a specified variable (z_var) and offers the
option to convert the plot to an interactive plotly object.
uplot_dbe_vs_o(
df,
z_var = "norm_int",
palname = "redblue",
col_bar = TRUE,
tf = FALSE,
logo = TRUE,
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 16O (number of oxygen atoms), dbe (DBE values),
and the column specified in z_var should be present in the data.
Character. Column name for variable used for color-coding. Content of column should be numeric.
Color palette name for f_colorz() (viridis, magma, plasma, etc.).
Logical. If TRUE, adds a color legend (default is TRUE).
Logical. If TRUE, applies a transformation to the color scale (default is FALSE).
Logical. If TRUE, adds a UME caption.
Numeric. Size of axis text (default is 1).
Numeric. Size of axis labels (default is 1.4).
Logical. If TRUE, return interactive plotly object.
Arguments passed on to f_colorz
zNumeric vector. Values whose colors should be computed.
col_numInteger. Number of colors in the palette (default: 100).
verboselogical; if TRUE, show progress messages.