You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
royfrancis
changed the title
How do you plot one slide of a multi-slice spatial dataset?
How do you plot one slice of a multi-slice spatial dataset?
Mar 23, 2022
This didn't initially work for me due to #5128. Then I removed the package SpatialExperiment, restarted and then it worked. But, one minor issue is that the legend is still incorrect showing slices that are not displayed.
SpatialDimPlot(brain, images = "anterior1")
In addition, I don't think the ncol argument works.
The legend issue should be fixed now on the latest develop branch (v4.1.0.9002). ncol is a bit more complicated. For now, I'd recommend passing combine = FALSE to get a list of plots and then combining in your preferred arrangement using something like patchwork::wrap_plots().
Created on 2022-03-23 by the reprex package (v2.0.1)
Session info
The text was updated successfully, but these errors were encountered: