How to change Image Extend/cropping #1067
|
Currently when subsetting or after filtering spatPlot shows the image up until nearest spot. How can I change this so that it shows the image as per spatial coordinates? I can see here that you have an option for prefer but how and where do we determine this its seems polygon is the defaults https://github.com/drieslab/GiottoVisuals/blob/9931ad26aacbafcbcd2c5e1e30a5c0417fb32a8a/R/gg_info_layers.R#L1400 |
Replies: 2 comments 2 replies
|
You can currently only define the coordinate xy limits of the plot when using Example: g <- GiottoData::loadGiottoMini("vis")
g <- subsetGiottoLocs(g, x_min = 4000, x_max = 5000, y_min = -4000, y_max = -3000)
spatInSituPlotPoints(g, show_image = TRUE, image_name = "image")spatInSituPlotPoints(g, show_image = T, image_name = "image", xlim = c(3000, 6000), ylim = c(-5000, -2000))We are trying to bring easier FOV setting to more of the plotting functions. The |
|
Hi George Great that works perfectly now I use now I use Now if I want to show same area but with gene expression such as we do in |



You can currently only define the coordinate xy limits of the plot when using
spatInSituPlotPoints()Example:
We are trying to bring easier FOV setting to more of the plotting functions.
The
preferarg you point out is not quite what you need. It is passed toext()and is currently only used withgiottoobjects in order to better select the desired spatial extent when multiple types of spatial inf…