Raster images for ion count ratios
gg_cnts.Rd
gg_cnts
Raster images based on the ratio of ion counts.
Usage
gg_cnts(
title,
ion1,
ion2,
viri = "D",
res = 256,
grid_cell = 64,
scaler = 40/256,
compilation = FALSE,
save = FALSE,
.name = "map_raster_image"
)
Arguments
- title
Character string for the analyte ("MEX" or "MON") to be used.
- ion1
A character string constituting the rare isotope ("13C").
- ion2
A character string constituting the common isotope ("12C").
- viri
Character string selecting the viriditas color scheme.
- res
Pixel resolution.
- grid_cell
Pixel size of grid_cells (one side of the square).
- scaler
Numeric converting the pixels to metric dimension of measurement (default is the conversion used in this study).
- compilation
Logical whether to plot all three dimensions according to the grid layout (see
pointapply::gg_sketch
).- save
Boolean whether to save the plot as an png.
- .name
Name of the raster file.
Value
ggplot2::ggplot
.