parseImage {Spaniel} | R Documentation

## This function parses a HE image to use as the background for plots

### Description

This function parses a HE image to use as the background for plots

### Usage

    parseImage(imgFile, imgType = "jpg")

### Arguments

`imgFile` | Path to the image file
`imgType` | Type of image options jpg (default), png

### Value

A rasterized grob

### Examples

    imgFile <- file.path(system.file(package = "Spaniel"),
                        "extdata/outs/spatial/tissue_lowres_image.png")
    img <- parseImage(imgFile, imgType = "png")

[Package Spaniel version 1.8.0 Index]