Helps to plot the ion maps exported and loaded from LANS. Can overlay the ROI boundaries for clarity as well. Note that this does not currently support any smoothing yet so plotting ratios or abundances will most likely not work well because individual pixels have extreme values.

plot_maps(
  data,
  draw_ROIs = TRUE,
  normalize = TRUE,
  color_scale = c("black", "white")
)

Arguments

data

the ion maps data frame

draw_ROIs

whether to draw in the ROIs or not (default TRUE)

normalize

whether to normalize the intensity scale for each panel (default TRUE)

color_scale

what color scale to use for high and low intensity, default is black & white