hlpr_image_add_on: Provides the image as ggplot background

View source: R/helper-functions.R

hlpr_image_add_onR Documentation

Provides the image as ggplot background

Description

Provides the image as ggplot background

Usage

hlpr_image_add_on(image)

hlpr_image_add_on2(object, display_image, of_sample)

Arguments

image

Image input.

object

A valid spata-object.

display_image

Logical value.

of_sample

The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen.

Value

Either null or a ggplot2::geom_annotation_raster


kueckelj/SPATA documentation built on March 22, 2022, 9:59 p.m.