Skip to contents

Launch the batch annotation application

Usage

at_annotate(
  x = NULL,
  labels = character(),
  layers = NULL,
  out_dir = NULL,
  launch.browser = TRUE,
  port = NULL,
  ...,
  call = rlang::caller_env()
)

Arguments

x

What to annotate: an annot_session, annot_project, annot_image, a character vector of image paths, a directory of images, or NULL (opens the bundled example session).

labels

Character vector of the global label vocabulary.

layers

An annot_layer, a list of them, or NULL. Applied as a template to every image.

out_dir

Directory for autosave and exports.

launch.browser

Passed to shiny::runApp().

port

Passed to shiny::runApp().

...

Reserved for future use.

call

The calling environment, for error reporting.

Value

Invisible NULL. Launches a Shiny application; called for side effects.

Examples

# \donttest{
if (interactive()) {
  at_annotate(at_example_session(5))
}
# }