Skip to contents

gg_effect combines raster images for ion count ratios with high precision isotope ratios. gg_sketch draws the layout of the grid_cells.

Usage

gg_effect(
  title,
  ratio,
  grid_print = FALSE,
  viri = "A",
  res = 256,
  grid_cell = 64,
  scaler = 40/256,
  label = "latex",
  save = FALSE,
  .X = NULL,
  .N = NULL,
  .species = NULL,
  .t = NULL,
  .ion1 = "13C",
  .ion2 = "12C",
  .name = "map_sum_grid",
  .name_raster = "map_raster_image",
  .sig_codes = c(0.1, 0.01, 0.001)
)

gg_sketch(grid_cell = 64, res = 256, scaler = 40/256, save)

Arguments

title

Character string for the analyte ("MEX" or "MON") to be used.

ratio

A character string constituting the ion ratio, where the two ions are separated by a dash ("12C14N-40Ca16O").

grid_print

Logical whether to print the grid numbers (default = FALSE).

viri

Character string selecting the viriditas colour scheme (default = "A").

res

Resolution of ion map in pixels (default = 256).

grid_cell

Grid-cell size in pixels (default = 64).

scaler

Numeric converting the pixels to metric dimension of measurement (default is the conversion used in this study).

label

Character string indicating how to name tibble columns (default = "latex").

save

Boolean whether to save the plot as an png.

.X

Variable for ion count rates (default = Xt.pr).

.N

Variable for ion counts (default = N.pr).

.species

Variable for species names (default = species.nm).

.t

Variable for time increment (default = t.nm).

.ion1

Character string for rare isotope (default = "13C").

.ion2

Character string for common isotope (default = "12C").

.name

Name of the grid-cell file.

.name_raster

Name of the raster file.

.sig_codes

The breaks for the scale of inter-analysis significance.

Value

ggplot.