parseImage: This function parses a HE image to use as the background for...

Description Usage Arguments Value Examples

View source: R/parseImage.R

Description

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

Usage

1
parseImage(imgFile)

Arguments

imgFile

Path to the image file

Value

A rasterized grob

Examples

1
2
3
imgFile <- file.path(system.file(package = "Spaniel"),
                    "HE_Rep1_resized.jpg")
img <- parseImage(imgFile)

Spaniel documentation built on Nov. 8, 2020, 5:54 p.m.