Creates a giotto image that can be added to a Giotto object and/or used to add an image to the spatial plotting functions
createGiottoImage(
gobject = NULL,
spatial_locs = NULL,
mg_object,
name = "image",
do_manual_adj = TRUE,
xmax_adj = NULL,
xmin_adj = NULL,
ymax_adj = NULL,
ymin_adj = NULL,
scale_factor = 1
)
giotto object
spatial locations (alternative if giobject = NULL)
magick image object
name for the image
flag to use manual adj values instead of automatic alignment when given a gobject or spatlocs
adjustment of the maximum x-value to align the image
adjustment of the minimum x-value to align the image
adjustment of the maximum y-value to align the image
adjustment of the minimum y-value to align the image
scaling of image dimensions relative to spatial coordinates
a giotto image object