pachterlab / SpatialFeatureExperiment

Extension of SpatialExperiment with sf
https://pachterlab.github.io/SpatialFeatureExperiment
Artistic License 2.0
36 stars 7 forks source link

Could you add a function for plotting a reverse y-axis like GIOTTO? mirror or mirrorImg is not enough. Maybe a Mirror_Y_axis function To facilitate drawing and bridge the gap between different softwares #47

Open huiyijiangling opened 2 months ago

huiyijiangling commented 2 months ago

image

lambdamoses commented 1 month ago

The problem really is that behind the scene, Voyager's plotting functions use geom_sf, which doesn't work with scale_y_reverse. So mirror is the way to go, unless you encountered problems with that. In order to add an argument to reverse y in the plotting functions, I would need major changes to the plotting functions though it shouldn't be too hard.