updateGiottoImage#
Last Updated: Sep 07, 2023
Description#
Updates the spatial positioning and sizing of a giotto image
or
largeImage
attached to a giotto object.
Usage#
updateGiottoImage(
gobject = NULL,
image_name = NULL,
largeImage_name = NULL,
xmax_adj = 0,
xmin_adj = 0,
ymax_adj = 0,
ymin_adj = 0,
x_shift = 0,
y_shift = 0,
scale_factor = NULL,
scale_x = 1,
scale_y = 1,
order = c("first_adj", "first_scale"),
xmax_set = NULL,
xmin_set = NULL,
ymax_set = NULL,
ymin_set = NULL,
return_gobject = TRUE,
verbose = TRUE
)
Arguments#
|
gobject containing desired image object |
|
name of giotto |
|
name of giotto |
|
adjust image boundaries by increasing maximum and decreasing minimum bounds respectively of xy bounds |
|
shift entire image along xy axes |
|
set |
|
independently scale x or y axis image mapping from coordinate origin |
|
order of operations between fine adjustments (adjustment and shift parameters) and scaling |
|
directly set xy image boundaries. Overrides minmax values as spatial anchor. |
|
return a giotto object if
|
|
be verbose |
Details#
This function works for all image objects associated with Giotto.
Value#
a giotto object or an updated giotto image object if return_gobject = F
See Also#
Other basic image functions: addGiottoImage()
,
plotGiottoImage()
, reconnectGiottoImage()