SydneyBioX / MoleculeExperiment

https://sydneybiox.github.io/MoleculeExperiment/
Other
12 stars 0 forks source link

Plot DAPI image as raster underneath ggplot_me #11

Closed chungmuwei closed 8 months ago

chungmuwei commented 8 months ago

Added a new function geom_raster_img() in R/plot.R to plot DAPI image. This function enable us to plot nuclei boundaries together with nucleus-stained DAPI image to see if they align to each other.

Function signature

geom_raster_img(
  path = NULL,
  image = NULL,
  displacement = c(0, 0),
  pixelSize = 1,
  ...
)

Demo plot

hSkin_morphology_and_boundary_overlay