fix color gradient error when GiottoVisuals is not attached (loaded as dependency or via ::): giotto.color_cd_pal and giotto.color_cs_pal options now have inline fallback defaults in set_default_color_continuous()
aes_string2() fixed handling for column names that parse as numeric literals (e.g. “1”, “2”) that caused plotting to fail
changes
auto_image_resample() rewritten to use terra::window() instead of the two-method crop/oversample approach, simplifying the implementation and avoiding materialization of large crops to disk. giottoAffineImage is now also supported. Removed params: flex_resample, max_crop, max_resample_scale and their corresponding global options giotto.plot_img_max_crop and giotto.plot_img_max_resample_scale.
combine_aes() for combining ggplot2 mappings in a last item wins manner. Allows more than 2 aes to be combined at the same time and provides an optional informative warning
gg_params() for combining and sorting ggplot2 mappings, toplevel params, and data into an arg list for plotting.
GiottoVisuals 0.2.5 (2024/09/27)
new
gpsparam() for generating an object containing plot saving parameters
giottoLargeImagemax_window and colors slot info is now followed during ggplot plotting
giottoAffineImage compatibility for giotto ggplot2 plotting functions
gg_annotation_raster() now also performs geom_blank() with the extent provided through ext param. This can be turned off by setting geom_blank() = FALSE