Visualizes the deviation between measured and theoretical 13C isotope ratios. Supports optional data reduction (binning) to greatly enhance interactive rendering speed in Plotly.
uplot_isotope_precision(
mfd,
z_var = "nsp_tot",
int_col = "norm_int",
size_dots = 1.5,
bins = 100,
data_reduction = FALSE,
tf = FALSE,
logo = TRUE,
plotly = FALSE,
cex.axis = 1,
cex.lab = 1.4
)A ggplot or plotly object.
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.
Column used for color mapping (default: "nsp_tot")
Intensity column (default: "norm_int")
Numeric. Size of the dots in the plot (default = 0.5).
Number of bins used when data_reduction = TRUE
Logical. If TRUE, bins the data and uses bin medians (recommended for very large datasets; speeds up rendering massively).
Logical. If TRUE, applies a transformation to the color scale (default is FALSE).
Logical. If TRUE, adds a UME caption.
Logical. Return a plotly object instead of ggplot.
Numeric. Size of axis text (default is 1).
Numeric. Size of axis labels (default is 1.4).
Other plots:
uplot_cluster(),
uplot_cvm(),
uplot_dbe_minus_o_freq(),
uplot_dbe_vs_c(),
uplot_freq_ma(),
uplot_freq_vs_ppm(),
uplot_hc_vs_m(),
uplot_heteroatoms(),
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()