parseImage {Spaniel} | R Documentation |
This function parses a HE image to use as the background for plots
parseImage(imgFile, imgType = "jpg")
imgFile |
Path to the image file |
imgType |
Type of image options jpg (default), png |
A rasterized grob
imgFile <- file.path(system.file(package = "Spaniel"), "extdata/outs/spatial/tissue_lowres_image.png") img <- parseImage(imgFile, imgType = "png")