Skip to contents

Path to a bundled example file

Usage

at_example_path(
  which = c("tissue", "multiplex", "cube"),
  call = rlang::caller_env()
)

Arguments

which

One of "tissue", "multiplex", or "cube".

call

The calling environment, for error reporting.

Value

A single string file path to the example asset.

Examples

at_example_path("tissue")
#> [1] "/home/runner/work/_temp/Library/annotatR/extdata/example_tissue.png"